| |
|
| java.lang.Object java.util.EventObject org.wings.event.SMouseEvent
Constructor Summary | |
public | SMouseEvent(SComponent component, int id, SPoint point) Constructs a new mouse event
Parameters: component - source component Parameters: id - id Parameters: point - An SPoint. |
Method Summary | |
public void | consume() Call of this method inhibits the further dispatching of this mouse event.
I.e. | public SComponent | getComponent() | public int | getId() | public SPoint | getPoint() The object denoting where inside the source component a mouse click occured.
An virtual mouse click point. | public boolean | isConsumed() Denotes if this event was already consumed. | public void | setComponent(SComponent component) Sets the mouse event source component. | public void | setPoint(SPoint point) The object denoting where inside the source component a mouse click occured.
Parameters: point - An virtual mouse click point. | public String | toString() |
consumed | protected boolean consumed(Code) | | |
SMouseEvent | public SMouseEvent(SComponent component, int id, SPoint point)(Code) | | Constructs a new mouse event
Parameters: component - source component Parameters: id - id Parameters: point - An SPoint. Intepretation is component dependent. |
consume | public void consume()(Code) | | Call of this method inhibits the further dispatching of this mouse event.
I.e. if you want to avoid the default actions for a mouse click (like call of
normal table cell editor.
|
getComponent | public SComponent getComponent()(Code) | | Gets the mouse event source component
The mouse event source component |
getPoint | public SPoint getPoint()(Code) | | The object denoting where inside the source component a mouse click occured.
An virtual mouse click point. Intepretation is component dependent. |
isConsumed | public boolean isConsumed()(Code) | | Denotes if this event was already consumed.
true if the mouse event was consumed an no furter event processing should occur. |
setComponent | public void setComponent(SComponent component)(Code) | | Sets the mouse event source component.
Parameters: component - The mouse event source component |
setPoint | public void setPoint(SPoint point)(Code) | | The object denoting where inside the source component a mouse click occured.
Parameters: point - An virtual mouse click point. Intepretation is component dependent. |
|
|
|