public abstract class UI3dComponent extends UIObject
children, hasFocus, mousePressContextMenu, visible
Constructor and Description |
---|
UI3dComponent() |
Modifier and Type | Method and Description |
---|---|
UI3dComponent |
addChild(UI3dComponent child)
Adds a child to this component
|
boolean |
contains(float x,
float y)
Whether the given point is contained by this object
|
float |
getHeight() |
float |
getWidth() |
UI3dComponent |
removeChild(UI3dComponent child)
Removes a child from this component
|
addLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getParent, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onDraw, onFocus, onUIResize, removeLoopTask, setDescription, setVisible, toggleVisible
onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, onMouseWheel
public boolean contains(float x, float y)
UIObject
public final UI3dComponent addChild(UI3dComponent child)
child
- Child componentpublic final UI3dComponent removeChild(UI3dComponent child)
child
- Child componentLX library by Mark C. Slee. © 2012-2020