Package | com.yworks.graph.input |
Class | public class ReparentStripeInputMode |
Inheritance | ReparentStripeInputMode MoveInputMode StateMachineInputMode AbstractConcurrentInputMode AbstractInputMode flash.events.EventDispatcher |
ITable
structure.
This implementation delegates most work to an instance of
ReparentStripePositionHandler
See also
Method | Defined By | ||
---|---|---|---|
arm(evt:TransitionEvent):void
Callback used by the state machine to arm this mode. | MoveInputMode | ||
beginDrag(evt:TransitionEvent):void [override]
Callback used by the state machine to initialize the dragging. | ReparentStripeInputMode | ||
cancelDrag(evt:TransitionEvent):void [override]
Called when the users cancels the dragging of the handle. | ReparentStripeInputMode | ||
canRequestMutex():Boolean
Determines whether this instance can request the InputMutex. | AbstractConcurrentInputMode | ||
Factory method that creates a canceled State
for the given machine. | StateMachineInputMode | ||
Creates an IInputModeContext for use with the IPositionHandler interface for
the upcoming move operation. | MoveInputMode | ||
Factory method that creates a start State for the given machine. | StateMachineInputMode | ||
Factory method that creates the state machine. | StateMachineInputMode | ||
Factory method that creates a stopped State
for the given machine. | StateMachineInputMode | ||
disarm(evt:TransitionEvent):void
Callback used by the state machine to disarm this mode. | MoveInputMode | ||
endDrag(evt:TransitionEvent):void [override]
Called by the state machine to end the dragging. | ReparentStripeInputMode | ||
fireInstalled():void | AbstractInputMode | ||
fireInstalling():void | AbstractInputMode | ||
fireUninstalled():void | AbstractInputMode | ||
fireUninstalling():void | AbstractInputMode | ||
hasMutex():Boolean
Determines whether this instance owns the input mutex. | AbstractConcurrentInputMode | ||
initialize():void
Performs one-time initialization of this instance. | AbstractInputMode | ||
initializeStateMachine(machine:StateMachine, startState:State, canceledState:State, stoppedState:State, finishedState:State):void [override]
Called to initialize the state machine. | MoveInputMode | ||
installCore(context:IInputModeContext):void [override]
Installs this mode into the given canvas. | StateMachineInputMode | ||
installListeners():void
Installs all necessary listeners to trigger the run method. | StateMachineInputMode | ||
invalidate():void
Convenience method for subclass implementations that invalidates
the canvasComponent this mode is currently installed in. | AbstractInputMode | ||
isCancelEvent(evt:Event):Boolean
Method that identifies an event as a cancel event. | StateMachineInputMode | ||
isDisabledEvent(evt:Event):Boolean
Method that identifies an event as a disabled event. | StateMachineInputMode | ||
isEnabledEvent(evt:Event):Boolean
Method that identifies an event as an enabled event. | StateMachineInputMode | ||
isHovering(evt:Event):Boolean
Returns true if the mouse is hovering over a movable item. | MoveInputMode | ||
isMutexAquiredEvent(evt:Event):Boolean
Method that identifies an event as a mutexAquired event. | StateMachineInputMode | ||
isMutexLostEvent(evt:Event):Boolean
Method that identifies an event as a mutexLost event. | StateMachineInputMode | ||
isStopEvent(evt:Event):Boolean
Method that identifies an event as a stop event. | StateMachineInputMode | ||
onCancelStateEntered(evt:StateChangeEvent):void
Called when the cancel state has been entered. | StateMachineInputMode | ||
onDisable():void
Runs the state machine using a disable event. | StateMachineInputMode | ||
onDisabled():void
Called when the enabled property changes to false. | AbstractConcurrentInputMode | ||
onDrag(evt:TransitionEvent):void
Called by the state machine during the dragging. | MoveInputMode | ||
onDragCanceled():void
Callback triggered once the drag has been canceled. | MoveInputMode | ||
onDragFinished():void
Callback triggered once the drag has been finalized. | MoveInputMode | ||
onDragging():void
Callback triggered for each drag. | MoveInputMode | ||
onDragStarted():void
Triggers the dragStarted event. | MoveInputMode | ||
onDragStarting():void
Triggers the dragStarting event. | MoveInputMode | ||
onEnable():void
Runs the state machine using a enable event. | StateMachineInputMode | ||
onEnabled():void
Called when the enabled property changes to true. | AbstractConcurrentInputMode | ||
onMachineReset():void | StateMachineInputMode | ||
onMutexObtained():void [override]
Runs the state machine using a mutex obtained event. | StateMachineInputMode | ||
onMutexReleased():void [override]
Runs the state machine using a mutex lost event. | StateMachineInputMode | ||
Called when the preferredCursor property changes. | AbstractConcurrentInputMode | ||
onRun(evt:Event):void
Callback method that will be called after the state machine has
been run using the arguments provided. | StateMachineInputMode | ||
onStopStateEntered(evt:StateChangeEvent):void
Called when the cancel state has been entered. | StateMachineInputMode | ||
releaseMutex():void
Releases the mutex that is currently owned by this instance. | AbstractConcurrentInputMode | ||
requestMutex():void
Requests the InputMutex from the current controller. | AbstractConcurrentInputMode | ||
setLastMouseEvent(evt:CanvasMouseEvent):void | StateMachineInputMode | ||
setPreferredCursorTransition(cursorClass:Class):Function
Factory method that can be used to obtain an listener
implementation that sets the given preferredCursor. | StateMachineInputMode | ||
setResetCursorTransition():Function
Factory method that can be used to obtain a listener implementation
that resets the preferredCursor. | StateMachineInputMode | ||
uninstallCore(context:IInputModeContext):void [override]
Uninstalls this mode from the canvas. | StateMachineInputMode | ||
uninstallListeners():void
Uninstalls all listeners, this instance has installed on calling intallListeners()
| StateMachineInputMode |
beginDrag | () | method |
override protected function beginDrag(evt:TransitionEvent):void
Callback used by the state machine to initialize the dragging.
This method will request the input mutex.
Parameters
evt:TransitionEvent |
cancelDrag | () | method |
override protected function cancelDrag(evt:TransitionEvent):void
Called when the users cancels the dragging of the handle.
Parameters
evt:TransitionEvent |
endDrag | () | method |
override protected function endDrag(evt:TransitionEvent):void
Called by the state machine to end the dragging.
This method will delegate the actual cleanup work to the movable
and/or positionHandler
.
Parameters
evt:TransitionEvent |