Component

Undocumented in source.

Constructors

this
this(Component[] children)
Undocumented in source.

Members

Functions

buildFocusPath
void buildFocusPath(Component focusedComponent, Component path)
Undocumented in source. Be warned that the author may not have intended to support it.
clearFocus
void clearFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
focusNext
void focusNext()
Undocumented in source. Be warned that the author may not have intended to support it.
focusable
bool focusable()
Undocumented in source. Be warned that the author may not have intended to support it.
handleInput
bool handleInput(KeyInput input)
Undocumented in source. Be warned that the author may not have intended to support it.
handlesInput
bool handlesInput()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(Context context)
Undocumented in source.
requestFocus
void requestFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int left, int top, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
setInputHandler
auto setInputHandler(InputHandler inputHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
auto setParent(Component parent)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

children
Component[] children;
Undocumented in source.
currentFocusedComponent
Component currentFocusedComponent;
Undocumented in source.
focusPath
Component focusPath;
Undocumented in source.
height
int height;

Height of the component

inputHandler
InputHandler inputHandler;
Undocumented in source.
lastFocusedComponent
Component lastFocusedComponent;
Undocumented in source.
left
int left;

Left position of the component relative to the parent

parent
Component parent;
Undocumented in source.
top
int top;

Top position of the component relative to the parent

width
int width;

Width of the component

Meta