BaseTool.kl¶
Types¶
BaseTool (object)¶
バージョン 2.0.1 で追加.
BaseTool is a special BaseHandler that implements :kl-ref:`Tool Custom tools should specialize this class.
参考
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. |
ToolTarget | target | Tool target. |
Boolean | performing | True if the tool is performing an action. |
Methods¶
BaseTool ( in BaseTool other ) | |
BaseTool () | |
activate ! () | |
BaseTool | clone ? () |
deActivate ! () | |
disable ! () | |
enable ! () | |
HandlerDescription | getDescription ? () |
Ref<ToolTarget> | getTarget ? () |
hide ! () | |
init ! ( in ToolTarget target, in Key enableKey, in HandlerExclusivity exclusivity, in Boolean isIndependent, in Boolean takeAllEvents, in Boolean isOwnedByDispatche ) | |
init ! ( in ToolTarget target, in Key enableKey, in HandlerExclusivity exclusivity, in Boolean isOwnedByDispatche ) | |
Boolean | isPerforming ? () |
move ! ( io MouseEvent mouseEvent ) | |
onEvent ! ( io Event event ) | |
press ! ( io MouseEvent mouseEvent ) | |
release ! ( io MouseEvent mouseEvent ) | |
setTarget ! ( in ToolTarget target ) | |
show ! () | |
Boolean | showIfTarget ! () |
updateFromTarget ! () |