RootDispatcher.kl

Types

RootDispatcher (object)

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<BaseHandler>[String] handlers Dictionary of reference to all the registered handlers.
BaseHandler[String] ownedHandlers Dictionary of owned handlers.
CameraTool cameraTool Camera.
SelectionTool selectionTool SelectionTool (only one per application).
Boolean sharedObjectSelectionEnabled If true, select all the shared reference of the selected object.

Methods

  RootDispatcher ( in Boolean enableCamera )
  RootDispatcher ( in RootDispatcher other )
  RootDispatcher ()
RootDispatcher clone ? ()
HandlerDescription getDescription ? ()
Ref<SelectionTool> getSelectionTool ? ()
Ref<ToolDispatcher> getToolDispatcher ? ()
  onEvent ! ( io BaseEvent baseEvent, in Boolean dragging )
  setSelectionTool ! ( in SelectionTool selectionTool )
  setToolDispatcher ! ( in ToolDispatcher toolDispatcher )