BaseSelectionTool (object)

バージョン 2.2.1 で追加.

BaseSelectionTool is a base class for any for any SelectionTool.

参考

SelectionTool.

BaseSelectionTool BaseSelectionTool BaseSelectionTool BaseHandler BaseHandler BaseSelectionTool->BaseHandler SelectionTool SelectionTool BaseSelectionTool->SelectionTool EventHandler EventHandler BaseHandler->EventHandler

Members

Boolean enabled Handler is enabled.
Key enableKey Enable key.
HandlerExclusivity handlerExclusivity Handler exclusivity.
Boolean isIndependent HandlerExclusivity local override.
Boolean takeAllEvents It true, the handler takes all the events.
Boolean alwaysEnabled It true, the handler takes all the events.
Boolean isOwnedByDispatcher Checks if the handler is owned by a handlerDispatcher. In most of the cases, the dispatcher owns the handlers. However, it’s not true in DFG graphs where the handlers are owns by the nodes.
Ref<HandlerDispatcher> dispatcher Reference to the dispatcher.
Ref<ToolDispatcher>[] toolDispatchers References the ToolDispatcher to update when the selection changes.
Boolean dragging True if it is a dragging event. TODO: have a “drag” event type.

Methods

  BaseSelectionTool ( in BaseSelectionTool other )
  BaseSelectionTool ()
  clearHighlightSet ! ()
BaseSelectionTool clone ? ()
  init ! ()
Boolean isDragging ? ()
  onEvent ! ( io Event event )
  registerToolDispatcher ! ( in Ref<ToolDispatcher> toolDispatcher )
  setDragging ! ( in Boolean dragging )
  unregisterToolDispatcher ! ( in Ref<ToolDispatcher> toolDispatcher )
  updateHighlightSet ! ( io MouseEvent event )
  updateSelectionSet ! ( io MouseEvent event, in Boolean add, in Boolean keepAdding )

Methods in detail

BaseSelectionTool ( in BaseSelectionTool other )

copy constructor


BaseSelectionTool ()

default constructor


BaseSelectionTool.clearHighlightSet! ()

Implementation of SelectionTool. To override.


BaseSelectionTool BaseSelectionTool.clone? ()

clone method


BaseSelectionTool.init! ()

Initializes a BaseSelectionTool.


Boolean BaseSelectionTool.isDragging? ()

Implementation of SelectionTool.


BaseSelectionTool.onEvent! ( io Event event )

Implementation of EventHandler.


BaseSelectionTool.registerToolDispatcher! ( in Ref<ToolDispatcher> toolDispatcher )

Implementation of SelectionTool.


BaseSelectionTool.setDragging! ( in Boolean dragging )

Implementation of SelectionTool.


BaseSelectionTool.unregisterToolDispatcher! ( in Ref<ToolDispatcher> toolDispatcher )

Implementation of SelectionTool.


BaseSelectionTool.updateHighlightSet! ( io MouseEvent event )

Implementation of SelectionTool. To override.


BaseSelectionTool.updateSelectionSet! ( io MouseEvent event, in Boolean add, in Boolean keepAdding )

Implementation of SelectionTool. To override.