public class AbsoluteModal extends Modal
Modal
that can be positioned manuallyasyncQueue, children, renderNode
effects, styleId, visibility, zIndex
Constructor and Description |
---|
AbsoluteModal()
Constructor.
|
AbsoluteModal(java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
attach(ParentRenderNode<?,?> parentRenderNode)
Attaches a
RenderNode for this element to a parent
RenderNode |
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 |
getNavigation, hotkey, hotkey, navigate, setHotkey, setHotkey, setNavigation, syncWithRenderNode, unsetHotkey, unsetHotkey
add, add, addAsync, detach, getElementById, getLayout, remove, remove, removeAll, setLayout, setStyleId, setVisibility, setZIndex, withElements, withElements
addEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabled
public AbsoluteModal()
Modal
public AbsoluteModal(java.lang.String id)
id
- The unique ID of the AbsoluteModal
public void attach(ParentRenderNode<?,?> parentRenderNode)
UiElement
RenderNode
for this element to a parent
RenderNode
attach
in class Column
parentRenderNode
- The parent RenderNode
to attach topublic 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