|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
public abstract class AbstractGraphMousePlugin
a base class for GraphMousePlugin instances. Holds some members common to all GraphMousePlugins
| Field Summary | |
|---|---|
protected Cursor |
cursor
the special cursor that plugins may display |
protected Point |
down
the location in the View where the mouse was pressed |
protected int |
modifiers
modifiers to compare against mouse event modifiers |
| Constructor Summary | |
|---|---|
AbstractGraphMousePlugin(int modifiers)
create an instance with passed values |
|
| Method Summary | |
|---|---|
boolean |
checkModifiers(MouseEvent e)
check the mouse event modifiers against the instance member modifiers. |
Cursor |
getCursor()
|
int |
getModifiers()
getter for mouse modifiers |
void |
setCursor(Cursor cursor)
|
void |
setModifiers(int modifiers)
setter for mouse modifiers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int modifiers
protected Point down
protected Cursor cursor
| Constructor Detail |
|---|
public AbstractGraphMousePlugin(int modifiers)
modifiers - | Method Detail |
|---|
public int getModifiers()
getModifiers in interface GraphMousePluginpublic void setModifiers(int modifiers)
setModifiers in interface GraphMousePluginpublic boolean checkModifiers(MouseEvent e)
checkModifiers in interface GraphMousePlugine - an event to compare to
public Cursor getCursor()
public void setCursor(Cursor cursor)
cursor - The cursor to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||