public class ViewToolChangedEvent extends ViewEvent
| Constructor and Description |
|---|
ViewToolChangedEvent(java.lang.Object src,
View view,
Tool oldTool,
Tool newTool)
Constructs the ViewToolChangedEvent
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ViewEventDispatcher visitor)
Visitor pattern styled method used when dispatching
the view event in the
ViewEventDispatcher. |
Tool |
getNewTool()
Returns the new active tool.
|
Tool |
getOldTool()
Returns the previous active tool.
|
isCancelled, setCancelledpublic Tool getOldTool()
public Tool getNewTool()
public void accept(ViewEventDispatcher visitor)
ViewEventViewEventDispatcher.