InputNode

Represents a general input node.

Constructors

this
this(T sup)
Undocumented in source.

Members

Aliases

opEquals
alias opEquals = typeof(super).opEquals
Undocumented in source.

Functions

blocksInput
bool blocksInput()
Undocumented in source. Be warned that the author may not have intended to support it.
checkIsPressed
bool checkIsPressed()

Check if the node is being pressed. Performs action lookup.

focus
void focus()

Change the focus to this node.

focusImpl
bool focusImpl()

Handle keyboard and gamepad input if no input action did.

focusInDirection
void focusInDirection(FluidInputAction actionType)
Undocumented in source. Be warned that the author may not have intended to support it.
focusInDirectionBool
bool focusInDirectionBool(FluidInputAction action)
Undocumented in source. Be warned that the author may not have intended to support it.
focusPreviousOrNext
void focusPreviousOrNext(FluidInputAction actionType)
Undocumented in source. Be warned that the author may not have intended to support it.
focusPreviousOrNextBool
bool focusPreviousOrNextBool(FluidInputAction actionType)
Undocumented in source. Be warned that the author may not have intended to support it.
hoverImpl
bool hoverImpl(HoverPointer )
Undocumented in source. Be warned that the author may not have intended to support it.
isHovered
bool isHovered()
Undocumented in source. Be warned that the author may not have intended to support it.
keyboardImpl
bool keyboardImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseImpl
void mouseImpl()

Handle mouse input if no input action did.

opEquals
bool opEquals(Object other)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImpl
void resizeImpl(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin makeHoverable
Undocumented in source.
__anonymous
mixin enableInputActions
Undocumented in source.

Mixin templates

enableInputActions
mixintemplate enableInputActions()
Undocumented in source.

Properties

isFocused
bool isFocused [@property getter]

Check if the node has focus.

isFocused
bool isFocused [@property setter]

Set or remove focus from this node.

Variables

changed
void delegate() changed;

Callback to run when the input value is altered.

focusIO
FocusIO focusIO;
Undocumented in source.
hoverIO
HoverIO hoverIO;
Undocumented in source.
submitted
void delegate() submitted;

Callback to run when the input is submitted.

Mixed In Members

From mixin enableInputActions

__anonymous
mixin FluidFocusable.enableInputActions
Undocumented in source.
__anonymous
mixin Actionable.enableInputActions
Undocumented in source.

Inherited Members

From FluidFocusable

focusImpl
bool focusImpl()

Handle input. Called each frame when focused.

focus
void focus()

Set focus to this node.

isFocused
bool isFocused()

Check if this node has focus. Recommended implementation: return tree.focus is this. Proxy nodes, such as FluidFilePicker might choose to return the value of the node they hold.

runFocusInputActions
bool runFocusInputActions()

Run input actions for the node.

From Focusable

focusImpl
bool focusImpl()

Handle input. Called each frame when focused.

focus
void focus()

Set focus to this node.

isFocused
bool isFocused()

From Hoverable

hoverImpl
bool hoverImpl(HoverPointer pointer)

Handle input. Called each frame when focused.

isHovered
bool isHovered()

Meta