| java.lang.Object net.xoetrope.xui.XEventHandler net.xoetrope.builder.editor.XEditorEventHandler
Method Summary | |
public void | actionPerformed(ActionEvent e) | public void | addActionHandler(Component comp, String methodName) | public void | addFocusHandler(Component comp, String methodName) | public void | addHandler(Component comp, long eventType, String methodName) Adds an event handler. | public void | addItemHandler(Component comp, String methodName) | public void | addKeyHandler(Component comp, String methodName) | public void | addListener(Component comp, String listenerName, String argType) Adds a listener for an event type. | public void | addMouseHandler(Component comp, String methodName) | public void | addMouseMotionHandler(Component comp, String methodName) | public void | addTextHandler(Component comp, String methodName) | public void | focusGained(FocusEvent e) | public void | focusLost(FocusEvent e) | public AWTEvent | getCurrentEvent() | public XEventHandler | getOriginalEventHandler() | protected void | invoke(long eventType, AWTEvent evt) Invokes an event. | public boolean | isFocusChangeSuppressed() | public void | itemStateChanged(ItemEvent e) | public void | keyPressed(KeyEvent e) | public void | keyReleased(KeyEvent e) | public void | keyTyped(KeyEvent e) | public void | mouseClicked(MouseEvent e) | public void | mouseDragged(MouseEvent e) | public void | mouseEntered(MouseEvent e) | public void | mouseExited(MouseEvent e) | public void | mouseMoved(MouseEvent e) | public void | mousePressed(MouseEvent e) | public void | mouseReleased(MouseEvent e) | public void | removeActionHandler(Component comp, String methodName) | public void | removeFocusHandler(Component comp, String methodName) | public void | removeHandler(Object comp, long eventType, String methodName) Removes an event handler. | public void | removeItemHandler(Component comp, String methodName) | public void | removeKeyHandler(Component comp, String methodName) | public void | removeListener(Object comp, String listenerName, String argType) Removes a listener for an event type. | public void | removeMenuHandler(Object menuItem, String methodName) | public void | removeMouseHandler(Component comp, String methodName) | public void | removeMouseMotionHandler(Component comp, String methodName) | public void | removeTextHandler(Component comp, String methodName) | public void | suppressFocusEvents(boolean suppress) | public void | textValueChanged(TextEvent e) | public boolean | wasMouseClicked() A utility method used to determine if the last event corrseponds to a mouse
click. |
addHandler | public void addHandler(Component comp, long eventType, String methodName) throws Exception(Code) | | Adds an event handler. A specific handler such as the addActionHandler should
be used instead of calling this method
Parameters: comp - the component that fires the event Parameters: methodName - the method to be invoked in response to the object |
addListener | public void addListener(Component comp, String listenerName, String argType)(Code) | | Adds a listener for an event type. This method should not normally be
called by an application
Parameters: comp - the component that fires events Parameters: listenerName - the name of the listener interface Parameters: argType - the listener arguments |
getCurrentEvent | public AWTEvent getCurrentEvent()(Code) | | Get the current event
the AWTEvent that was last triggered |
invoke | protected void invoke(long eventType, AWTEvent evt)(Code) | | Invokes an event. Called in response to an event. If a handler has been
added for the event it will be invoked.
Parameters: evt - the event object |
isFocusChangeSuppressed | public boolean isFocusChangeSuppressed()(Code) | | Check the focus change status
true if the focus change events are being suppressed. |
removeHandler | public void removeHandler(Object comp, long eventType, String methodName) throws Exception(Code) | | Removes an event handler. A specific handler such as the removeActionHandler should
be used instead of calling this method
Parameters: comp - the component that fires the event Parameters: methodName - the method to be invoked in response to the object |
removeListener | public void removeListener(Object comp, String listenerName, String argType)(Code) | | Removes a listener for an event type. This method should not normally be
called by an application
Parameters: comp - the component that fires events Parameters: listenerName - the name of the listener interface Parameters: argType - the listener arguments |
suppressFocusEvents | public void suppressFocusEvents(boolean suppress)(Code) | | |
wasMouseClicked | public boolean wasMouseClicked()(Code) | | A utility method used to determine if the last event corrseponds to a mouse
click. The notion of a click is extended by assuming the a mouse press and
release within a single component constitutes a click even if not at the
same coordinate. A MouseEvent.MOUSE_CLICKED is only triggered when the press
and release are at the same location and this is often inadequate for end-user
interaction.
true if the mouse was clicked |
Methods inherited from net.xoetrope.xui.XEventHandler | public void actionPerformed(ActionEvent e)(Code)(Java Doc) public void addActionHandler(Component comp, String methodName)(Code)(Java Doc) public void addFocusHandler(Component comp, String methodName)(Code)(Java Doc) public void addHandler(Object comp, long eventType, String methodName) throws Exception(Code)(Java Doc) public void addItemHandler(Component comp, String methodName)(Code)(Java Doc) public void addKeyHandler(Component comp, String methodName)(Code)(Java Doc) public void addListener(Object comp, String listenerName, String argType)(Code)(Java Doc) public void addMenuHandler(Object menuItem, String methodName)(Code)(Java Doc) public void addMouseHandler(Component comp, String methodName)(Code)(Java Doc) public void addMouseMotionHandler(Component comp, String methodName)(Code)(Java Doc) public void addTextHandler(Component comp, String methodName)(Code)(Java Doc) public Method findEvent(Component src, long eventType)(Code)(Java Doc) public void focusGained(FocusEvent e)(Code)(Java Doc) public void focusLost(FocusEvent e)(Code)(Java Doc) public AWTEvent getCurrentEvent()(Code)(Java Doc) protected void invoke(long eventType, AWTEvent evt)(Code)(Java Doc) public boolean isFocusChangeSuppressed()(Code)(Java Doc) public void itemStateChanged(ItemEvent e)(Code)(Java Doc) public void keyPressed(KeyEvent e)(Code)(Java Doc) public void keyReleased(KeyEvent e)(Code)(Java Doc) public void keyTyped(KeyEvent e)(Code)(Java Doc) public void mouseClicked(MouseEvent e)(Code)(Java Doc) public void mouseDragged(MouseEvent e)(Code)(Java Doc) public void mouseEntered(MouseEvent e)(Code)(Java Doc) public void mouseExited(MouseEvent e)(Code)(Java Doc) public void mouseMoved(MouseEvent e)(Code)(Java Doc) public void mousePressed(MouseEvent e)(Code)(Java Doc) public void mouseReleased(MouseEvent e)(Code)(Java Doc) public void suppressFocusEvents(boolean suppress)(Code)(Java Doc) public void textValueChanged(TextEvent e)(Code)(Java Doc) public boolean wasMouseClicked()(Code)(Java Doc) public boolean wasMouseDoubleClicked()(Code)(Java Doc) public boolean wasMouseRightClicked()(Code)(Java Doc)
|
|
|