public class nUIViewDisplay extends nUIDisplayObject
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
Constructor and Description |
---|
nUIViewDisplay() |
nUIViewDisplay(java.util.Hashtable properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBgimageScroll()
Determine whether the view will scroll any background image set with the foreground.
|
IBackgroundDrawable |
getHeaderBackground() |
int |
getHeaderHeight() |
java.lang.String |
getHeadertext() |
boolean |
getHscrollable()
Determine whether this view will allow scrolling in the horizontal direction.
|
int |
getInterElementYSpacing()
Gets the spacing between child elements in this view.
|
java.lang.String |
getPopupDismissText()
Gets the text shown by the iOS keyboard/spinner dismissal header button.
|
boolean |
getVscrollable()
Determine whether the view is vertically scrollable.
|
void |
onUISynced()
Gets called immediately after all underlying elements are calculated, but before rendering.
|
void |
setBgimageScroll(boolean bgimage_scroll)
Sets scrolling of the background Image with the foreground.
|
void |
setHeaderBackground(IBackgroundDrawable drawable)
Sets background image or color for the header
|
void |
setHeaderFgColor(int headerFgcolor)
Sets the header colour of this view.
|
void |
setHeadertext(java.lang.String headertext)
Sets the header text for this View.
|
void |
setHscrollable(boolean hscrollable)
Sets whether this view can be scrolled horizontally.
|
void |
setInterElementYSpacing(int inter_element_y_spacing)
Sets the spacing between child elements of this view.
|
void |
setPopupDismissText(java.lang.String popupdismisstext)
Set the text shown by the iOS keyboard/spinner dimissal header button.
|
void |
setVscrollable(boolean vscrollable)
Sets whether vertical scrolling is allowed.
|
void |
syncUI()
Runs UI synchronization immediately.
|
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 nUIViewDisplay()
public nUIViewDisplay(java.util.Hashtable properties)
public void setHeaderBackground(IBackgroundDrawable drawable)
drawable
- public IBackgroundDrawable getHeaderBackground()
public void setHeadertext(java.lang.String headertext)
public java.lang.String getHeadertext()
public void setHeaderFgColor(int headerFgcolor)
headerFgcolor
- an ARGB color.public void setBgimageScroll(boolean bgimage_scroll)
bgimage_scroll
- true to enable scrolling, false to disable.public boolean getBgimageScroll()
public void setHscrollable(boolean hscrollable)
hscrollable
- true if the view should scroll horizontally, false if not.public boolean getHscrollable()
public void setVscrollable(boolean vscrollable)
vscrollable
- true if vertical scrolling should be enabled, false if not.public boolean getVscrollable()
public int getHeaderHeight()
public void setInterElementYSpacing(int inter_element_y_spacing)
inter_element_y_spacing
- the space, in pixels.public int getInterElementYSpacing()
public void setPopupDismissText(java.lang.String popupdismisstext)
popupdismisstext
- string to displaypublic java.lang.String getPopupDismissText()
public void onUISynced()
public void syncUI()