public class nUIMarker
extends com.softwareag.mobile.runtime.nui.nUIObject
nUIMarker
contains slot for nUIObject
and is
responsible for visibility of that element.
Constructor and Description |
---|
nUIMarker()
Creates a new
nUIMarker without an element. |
nUIMarker(com.softwareag.mobile.runtime.nui.nUIObject target)
Creates a new
nUIMarker with the given element. |
Modifier and Type | Method and Description |
---|---|
boolean |
isVisible() |
void |
setElement(com.softwareag.mobile.runtime.nui.nUIObject target)
Sets the new target element.
|
void |
setVisible(boolean visible)
Changes the visibility of the target element.
|
public nUIMarker()
nUIMarker
without an element. setElement(nUIObject)
to programmatically set the element
which should be shown or hidden.public nUIMarker(com.softwareag.mobile.runtime.nui.nUIObject target)
nUIMarker
with the given element. By default
this element is invisible.target
- public void setVisible(boolean visible)
visible
- if true, makes the target element visible by adding it to the
parent direct after this
element. if false, makes
the target element invisibly by removing it from the parent.public boolean isVisible()
public void setElement(com.softwareag.mobile.runtime.nui.nUIObject target)
target
- new target element