|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.graphic.toolkit.AbstractMouseTransformFactory.InvalidMouseTransform
protected class AbstractMouseTransformFactory.InvalidMouseTransform
This mouse transform does nothing, it simply returns an invalid cursor, and can be used
by MouseTransform factories to notify the user of an invalid UI action.
| Constructor Summary | |
|---|---|
protected |
AbstractMouseTransformFactory.InvalidMouseTransform()
|
| 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 |
|---|
protected AbstractMouseTransformFactory.InvalidMouseTransform()
| Method Detail |
|---|
public void start(PEMouseEvent e)
start in interface MouseTransformpublic void process(PEMouseEvent e)
Element geometry update should occur here.
process in interface MouseTransformpublic boolean next(PEMouseEvent e)
next in interface MouseTransformtrue 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 MouseTransformMouseTransform.
public void paint(Graphics2D g,
Rectangle2D allocation,
double scale)
paint in interface MouseTransformpublic String getHelpMessage()
MouseTransform
getHelpMessage in interface MouseTransform
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||