|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.EventDispatcher
Listens to various SWT events and dispatches these events to interested Draw2d objects.
Nested Class Summary | |
static class |
EventDispatcher.AccessibilityDispatcher
Combines AccessibleControlListener and AccessibleListener .
|
Constructor Summary | |
EventDispatcher()
|
Method Summary | |
abstract void |
dispatchFocusGained(FocusEvent e)
Dispatches a focus gained event. |
abstract void |
dispatchFocusLost(FocusEvent e)
Dispatches a focus lost event. |
abstract void |
dispatchKeyPressed(KeyEvent e)
Dispatches a key pressed event. |
abstract void |
dispatchKeyReleased(KeyEvent e)
Dispatches a key released event. |
abstract void |
dispatchKeyTraversed(TraverseEvent e)
Dispatches a key traversed event. |
abstract void |
dispatchMouseDoubleClicked(MouseEvent me)
Dispatches a mouse double clicked event. |
abstract void |
dispatchMouseEntered(MouseEvent e)
Dispatches a mouse entered event. |
abstract void |
dispatchMouseExited(MouseEvent e)
Dispatches a mouse exited event. |
abstract void |
dispatchMouseHover(MouseEvent me)
Dispatches a mouse hover event. |
abstract void |
dispatchMouseMoved(MouseEvent me)
Dispatches a moved event event. |
abstract void |
dispatchMousePressed(MouseEvent me)
Dispatches a mouse pressed event. |
abstract void |
dispatchMouseReleased(MouseEvent me)
Dispatches a mouse released event. |
protected abstract EventDispatcher.AccessibilityDispatcher |
getAccessibilityDispatcher()
Returns the AccessibilityDispatcher. |
abstract boolean |
isCaptured()
|
protected abstract void |
releaseCapture()
Releases capture initiated by setCapture(IFigure) . |
abstract void |
requestFocus(IFigure fig)
Requests focus for the given figure. |
abstract void |
requestRemoveFocus(IFigure fig)
Requests focus to be removed from the given figure. |
protected abstract void |
setCapture(IFigure figure)
Sets capture to the given figure. |
abstract void |
setControl(Control control)
Sets the contol associated with this event dispatcher. |
abstract void |
setRoot(IFigure figure)
Sets the root figure for this dispatcher. |
protected abstract void |
updateCursor()
Updates the cursor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EventDispatcher()
Method Detail |
public abstract void dispatchFocusGained(FocusEvent e)
e
- the eventpublic abstract void dispatchFocusLost(FocusEvent e)
e
- the eventpublic abstract void dispatchKeyPressed(KeyEvent e)
e
- the eventpublic abstract void dispatchKeyReleased(KeyEvent e)
e
- the eventpublic abstract void dispatchKeyTraversed(TraverseEvent e)
e
- the eventpublic abstract void dispatchMouseDoubleClicked(MouseEvent me)
me
- the eventpublic abstract void dispatchMouseEntered(MouseEvent e)
e
- the eventpublic abstract void dispatchMouseExited(MouseEvent e)
e
- the eventpublic abstract void dispatchMouseHover(MouseEvent me)
me
- the eventpublic abstract void dispatchMouseMoved(MouseEvent me)
me
- the eventpublic abstract void dispatchMousePressed(MouseEvent me)
me
- the eventpublic abstract void dispatchMouseReleased(MouseEvent me)
me
- the eventprotected abstract EventDispatcher.AccessibilityDispatcher getAccessibilityDispatcher()
public abstract boolean isCaptured()
protected abstract void releaseCapture()
setCapture(IFigure)
.
public abstract void requestFocus(IFigure fig)
fig
- the figure requesting focuspublic abstract void requestRemoveFocus(IFigure fig)
fig
- the figure requesting focus be removedprotected abstract void setCapture(IFigure figure)
releaseCapture()
is called.
figure
- the figure capturing the eventspublic abstract void setControl(Control control)
control
- the controlpublic abstract void setRoot(IFigure figure)
figure
- the root figureprotected abstract void updateCursor()
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |