|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpicedt.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(java.lang.String helpMsg)
|
Method Summary | |
---|---|
java.awt.Cursor |
getCursor()
Return the cursor for this MouseTransform |
java.lang.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(java.awt.Graphics2D g,
java.awt.geom.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(java.lang.String helpMsg)
Method Detail |
---|
public void start(PEMouseEvent e)
start
in interface MouseTransform
public void process(PEMouseEvent e)
process
in interface MouseTransform
public boolean next(PEMouseEvent e)
next
in interface MouseTransform
public java.awt.Cursor getCursor()
MouseTransform
getCursor
in interface MouseTransform
public void paint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D allocation, double scale)
paint
in interface MouseTransform
public java.lang.String getHelpMessage()
MouseTransform
getHelpMessage
in interface MouseTransform
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |