public class AbsoluteModal extends Modal
Modal that can be positioned manuallyasyncQueue, children, renderNodeeffects, 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 UiElements |
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, unsetHotkeyadd, add, addAsync, detach, getElementById, getLayout, remove, remove, removeAll, setLayout, setStyleId, setVisibility, setZIndex, withElements, withElementsaddEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabledpublic AbsoluteModal()
Modalpublic AbsoluteModal(java.lang.String id)
id - The unique ID of the AbsoluteModalpublic void attach(ParentRenderNode<?,?> parentRenderNode)
UiElementRenderNode for this element to a parent
RenderNodeattach in class ColumnparentRenderNode - The parent RenderNode to attach topublic float getX()
AbsoluteModalpublic void setX(float x)
AbsoluteModalx - The x coordinate in pixelspublic float getY()
AbsoluteModalpublic void setY(float y)
AbsoluteModaly - The y coordinate in pixelspublic void set(float x,
float y)
AbsoluteModalx - The x coordinate in pixelsy - The y coordinate in pixelspublic float getWidth()
AbsoluteModal as determined by its
LayoutRulesetpublic float getHeight()
AbsoluteModal as determined by its
child UiElements