public abstract class nUIConstraintLayout extends nUIElementDisplay
nUIConstraintLayout
acts as a container element and arranges it's
children based on relative constraints.
The contents of a nUIConstraintLayout
are given by a storyboard. A
storyboard is a XML based notation - identified by it's name. Depending on
the native platform, it's either a Android layout XML or a iOS XIB.
Users can register certain event types using a IEventDispatcher
. The IEventDispatcher
implementation is specific for each constraint layout and can be accessed using getEventDispatcher()
.
This class is not intended to be sub classed by clients.
Y_IDENTIFIER_PREV_BOTTOM
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
Modifier and Type | Method and Description |
---|---|
void |
onClick(IDisplayObject sender)
Will be invoked once a user clicks an element.
|
void |
onPostfixClick(IDisplayObject sender)
Will be invoked once a user hits a postfix of an
IFloatingEntry . |
void |
onPrefixClick(IDisplayObject sender)
Will be invoked once a user hits a prefix of an
IFloatingEntry . |
void |
onTextChanged(IDisplayObject sender)
Will be invoked once a user changes/enters text.
|
void |
onValueChanged(IDisplayObject sender)
Will be invoked once the value for a
ISliderElement has been changed. |
applyBackground, applyBackground, applyBackground
getBackgroundDrawable, getBottom, getElementIdentifier, getFocusable, getGesturable, getHeight, getInnerHeight, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getProperties, getProperty, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, getY, insertAtInternal, isEnabled, isVisible, onRemoved, remove, setBackgroundDrawable, setBottom, setElementIdentifier, setEnabled, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setProperties, setProperty, setRight, setTop, setTriggerable, setVisible, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, getFirstChild, getId, getLastChild, getNextSibling, getParent, getPrevSibling, getTag, insertAfter, insertAt, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setId, setTag, setUnlinkChildrenOnRemoval
public void onClick(IDisplayObject sender)
public void onTextChanged(IDisplayObject sender)
public void onPrefixClick(IDisplayObject sender)
IFloatingEntry
.public void onPostfixClick(IDisplayObject sender)
IFloatingEntry
.public void onValueChanged(IDisplayObject sender)
ISliderElement
has been changed.