public class AbsoluteModal extends Modal
Modal
that can be positioned manuallyasyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
Constructor and Description |
---|
AbsoluteModal()
Constructor.
|
AbsoluteModal(java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected ParentRenderNode<?,?> |
createRenderNode(ParentRenderNode<?,?> parent)
Creates the
ParentRenderNode for this UiElement |
float |
getHeight()
Returns the height of the
AbsoluteModal as determined by its
child UiElement s |
float |
getWidth()
Returns the width of the
AbsoluteModal as determined by its
LayoutRuleset |
float |
getX()
Returns the x coordinate of this
AbsoluteModal |
float |
getY()
Returns the y coordinate of this
AbsoluteModal |
void |
set(float x,
float y)
Sets the x and y coordinate of this
AbsoluteModal |
void |
setX(float x)
Sets the x coordinate of this
AbsoluteModal |
void |
setY(float y)
Sets the y coordinate of this
AbsoluteModal |
clearControllerHotkeys, clearHotkeys, clearKeyboardHotkeys, getNavigation, hotkey, hotkey, navigate, setHotkey, setHotkey, setNavigation, syncWithRenderNode, unsetHotkey, unsetHotkey
withElements, withElements
add, add, addAsync, attach, detach, get, getElementById, getFlexDirection, getHorizontalLayout, getTotalChildren, getVerticalLayout, isOverflowClipped, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setHorizontalLayout, setOverflowClipped, setStyleId, setVerticalLayout, setVisibility, setZIndex
addEffectListener, addHoverListener, applyEffect, defer, defer, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, processDeferred, removeEffectListener, removeHoverListener, setDebugEnabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public AbsoluteModal()
Modal
public AbsoluteModal(java.lang.String id)
id
- The unique ID of the AbsoluteModal
protected ParentRenderNode<?,?> createRenderNode(ParentRenderNode<?,?> parent)
ParentUiElement
ParentRenderNode
for this UiElement
createRenderNode
in class Column
parent
- The parent of this nodeParentRenderNode
public float getX()
AbsoluteModal
public void setX(float x)
AbsoluteModal
x
- The x coordinate in pixelspublic float getY()
AbsoluteModal
public void setY(float y)
AbsoluteModal
y
- The y coordinate in pixelspublic void set(float x, float y)
AbsoluteModal
x
- The x coordinate in pixelsy
- The y coordinate in pixelspublic float getWidth()
AbsoluteModal
as determined by its
LayoutRuleset
public float getHeight()
AbsoluteModal
as determined by its
child UiElement
s