|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.refractions.udig.tools.edit.behaviour.ExtendLineBehaviour
public class ExtendLineBehaviour
Requirements:
Action:
| Constructor Summary | |
|---|---|
ExtendLineBehaviour()
|
|
| Method Summary | |
|---|---|
UndoableMapCommand |
getCommand(EditToolHandler handler,
MapMouseEvent e,
EventType eventType)
The action to be performed by this EventBehaviour. |
void |
handleError(EditToolHandler handler,
java.lang.Throwable error,
UndoableMapCommand command)
This method is called if an exception occurs during the execution of the run method. |
boolean |
isValid(EditToolHandler handler,
MapMouseEvent e,
EventType eventType)
Called to determine whether this EventBehaviour is applicable and should be run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendLineBehaviour()
| Method Detail |
|---|
public boolean isValid(EditToolHandler handler,
MapMouseEvent e,
EventType eventType)
EventBehaviour
isValid in interface EventBehaviourhandler - handler that calls this Behavioure - mouse event that just occurred.eventType - the type of event that just occurred
public UndoableMapCommand getCommand(EditToolHandler handler,
MapMouseEvent e,
EventType eventType)
EventBehaviour
getCommand in interface EventBehaviourhandler - handler that calls this Behavioure - Event that occurred.eventType - The type of event that has occurred
public void handleError(EditToolHandler handler,
java.lang.Throwable error,
UndoableMapCommand command)
EventBehaviourThis method should
handleError in interface EventBehaviourhandler - handler that calls this Behaviourerror - Error that occurredcommand - Command retrieved from getCommandMethod. May be null if exception occurred while
executing getCommand();
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||