|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.event.MouseInputAdapter
de.uni_paderborn.fujaba.fsa.listener.ComponentMouseListener
A Standard listener for other listeners with special functions.
Field Summary | |
protected static int |
DISTANCE
Internal used constant. |
protected static int |
EAST
Flag to show that the mouse is in the east of a component. |
protected static int |
INNER
Flag to show that the mouse is in the component. |
protected java.awt.Component |
lastComponent
Holds the last component. |
protected static int |
NORTH
Flag to show that the mouse is in the north of a component. |
protected static int |
SOUTH
Flag to show that the mouse is in the south of a component. |
protected static int |
UNKNOWN
Internal used constant. |
protected static int |
WEST
Flag to show that the mouse is in the west of a component. |
Constructor Summary | |
ComponentMouseListener()
|
Method Summary | |
protected int |
getOrientation()
Get the orientation attribute of the ComponentMouseListener object |
protected void |
setOrientation(java.awt.Component comp,
java.awt.event.MouseEvent event)
Sets the orientation. |
protected boolean |
setOrientation(int orientation)
Sets the orientation attribute of the ComponentMouseListener object |
Methods inherited from class javax.swing.event.MouseInputAdapter |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int DISTANCE
protected static final int UNKNOWN
protected static final int NORTH
protected static final int SOUTH
protected static final int EAST
protected static final int WEST
protected static final int INNER
protected java.awt.Component lastComponent
Constructor Detail |
public ComponentMouseListener()
Method Detail |
protected boolean setOrientation(int orientation)
orientation
- The new orientation value
protected void setOrientation(java.awt.Component comp, java.awt.event.MouseEvent event)
comp
- The new orientation valueevent
- The new orientation valueprotected int getOrientation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |