Package jmsltestsuite
Class RenderedMessagesTest
java.lang.Object
jmsltestsuite.RenderedMessagesTest
public class RenderedMessagesTest
extends java.lang.Object
Add RenderedMessageBean to measure, staff, and notes.
A RenderedMessageBean executes when the object is drawn, as a very last step.
It is drawn relative to the drawing anchor of the object and is scaled by the
current zoom.
So a command to draw a line from (0, 0) to (10, 20) will draw a line from
(drawingAnchor.x, drawingAnchor.y) to (drawingAnchor.x + 10 * zoom,
drawingAnchor.y + 20 * zoom)
The drawing interpretation however, is completely dependent on the
RenderedMessageListener that is in the Score. See the line below,
score.addUserBean(new SimpleGraphicsRenderedMessageListener());
RenderedMessageBean save and load to/from score files, as they are
implemented as userbeans
- Author:
- Nick Didkovsky, copyright 2010 Nick Didkovsky
-
Constructor Summary
Constructors Constructor Description RenderedMessagesTest()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RenderedMessagesTest
public RenderedMessagesTest()
-
-
Method Details
-
main
public static void main(java.lang.String[] args)
-