|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.toolkit.AbstractMouseTransformFactory.HelpMessageMouseTransform
protected class AbstractMouseTransformFactory.HelpMessageMouseTransform
This mouse transform does nothing, it is just a convenience to post a HelpMessage (regarding what the user COULD do) when no other mouse-transform makes sense with the current mouse-event.
Constructor Summary | |
---|---|
AbstractMouseTransformFactory.HelpMessageMouseTransform(String helpMsg)
|
Method Summary | |
---|---|
Cursor |
getCursor()
Return the cursor for this MouseTransform |
String |
getHelpMessage()
Return a help-message for the UI, that makes sense with this transform. |
boolean |
next(PEMouseEvent e)
Called when the mouse is released |
void |
paint(Graphics2D g,
Rectangle2D allocation,
double scale)
Allows the MouseTransform to do specific graphic rendering when it's operating. |
void |
process(PEMouseEvent e)
Called when the mouse is dragged. |
void |
start(PEMouseEvent e)
Called when the mouse is pressed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMouseTransformFactory.HelpMessageMouseTransform(String helpMsg)
Method Detail |
---|
public void start(PEMouseEvent e)
start
in interface MouseTransform
public void process(PEMouseEvent e)
Element
geometry update should occur here.
process
in interface MouseTransform
public boolean next(PEMouseEvent e)
next
in interface MouseTransform
true
if there's another task in the sequence,
false
if mouse-transform has completed with this
mouse-event.public Cursor getCursor()
MouseTransform
getCursor
in interface MouseTransform
MouseTransform
public void paint(Graphics2D g, Rectangle2D allocation, double scale)
MouseTransform
to do specific graphic rendering when it's operating.
paint
in interface MouseTransform
public String getHelpMessage()
MouseTransform
getHelpMessage
in interface MouseTransform
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |