|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MouseInputEditor
This interface is used by MouseInputMode
.
It can be implemented by clients that wish to process Mouse2DEvent
s.
EditMode.setMouseInputMode(MouseInputMode)
,
MouseInputMode.startEditor(MouseInputEditor)
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener)
Adds a ChangeListener instance that will be notified if the isEditing() state of this instance changes. |
boolean |
isEditing()
Determines whether this instance is currently "editing". |
boolean |
isInterestedInEvents()
This method is used by clients to determine whether this instance is interested in Mouse2DEvent |
void |
mouse2DEventHappened(Mouse2DEvent event)
Listener-like interface that will be notified of Mouse2DEvents. |
void |
removeChangeListener(javax.swing.event.ChangeListener listener)
Removes a ChangeListener instance that was notified if the isEditing() state of this instance changes. |
void |
startEditing()
Used by clients to programmatically start the editing process. |
boolean |
startsEditing(Mouse2DEvent event)
This method is used by clients to query whether the given event is deemed as a starting gesture. |
void |
stopEditing()
Called by clients to stop the editing process cleanly. |
Method Detail |
---|
boolean isInterestedInEvents()
startsEditing(Mouse2DEvent)
,
mouse2DEventHappened(Mouse2DEvent)
boolean startsEditing(Mouse2DEvent event)
event
- the event that happened
isInterestedInEvents()
boolean isEditing()
void startEditing()
void mouse2DEventHappened(Mouse2DEvent event)
event
- the event that happenedisInterestedInEvents()
void stopEditing()
void addChangeListener(javax.swing.event.ChangeListener listener)
isEditing()
state of this instance changes.
listener
- the listener to notify of state changesvoid removeChangeListener(javax.swing.event.ChangeListener listener)
isEditing()
state of this instance changes.
listener
- the listener to notify of state changes
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |