Scriptable
|
extend()
Return a new script object, with this item as prototype
|
Array
|
getAllBindings()
This method is deprecated.
use #getBindings instead
|
Binding
|
getBindingByTarget(String target)
Retrieve a binding by its key, the taget.
|
Binding[]
|
getBindings()
|
Image
|
getBoxBackground(String state)
Retrieve the image currently displayed as the box background.
|
RectL
|
getCell()
Returns the cell allocated to this item (only works when attached to the grid).
|
int
|
getHeight()
Returns this item view height.
|
int
|
getId()
Returns the unique item identifier.
|
Scriptable
|
getMy()
Return a scriptable object that can be used to store live data.
|
String
|
getName()
|
Container
|
getParent()
Returns the container containing this item.
|
float
|
getPositionX()
|
float
|
getPositionY()
|
PropertySet
|
getProperties()
Retrieve properties for this item.
|
View
|
getRootView()
Retrieve the root android View for this item.
|
float
|
getRotation()
Returns the rotation angle in degrees.
|
float
|
getScaleX()
Returns the X scale for this item (only when detached from the grid).
|
float
|
getScaleY()
Returns the Y scale for this item (only when detached from the grid).
|
Screen
|
getScreen()
|
float
|
getSkewX()
Returns the X skew for this item (only when detached from the grid).
|
float
|
getSkewY()
Returns the Y skew for this item (only when detached from the grid).
|
String
|
getTag()
Returns the value associated with this item.
|
String
|
getTag(String id)
Returns the value associated with this item and id.
|
String
|
getType()
Returns the item type has a text
|
int
|
getWidth()
Returns this item view width.
|
boolean
|
isVisible()
Returns true if the item is visible.
|
void
|
setBinding(Binding binding)
Set a binding (same as #setBinding(String, String, boolean).
|
void
|
setBinding(String target, String formula, boolean enabled)
Add or update a binding for this item.
|
void
|
setBoxBackground(Image image, String state, boolean persistent)
Set a background image, optionally saving the change to file.
|
void
|
setBoxBackground(Image image, String state)
Set a background image, in memory only, changes will not be persisted and will be lost when the app is restarted.box
|
void
|
setCell(int left, int top, int right, int bottom)
Set the cell allocated to the item on the grid (only works when attached to the grid).
|
void
|
setCell(int left, int top, int right, int bottom, boolean portrait)
Set the cell allocated to the item on the grid (only works when attached to the grid), persistently
|
void
|
setName(String name)
|
void
|
setPosition(float x, float y)
Set the position of the item (only when detached from the grid).
|
void
|
setRotation(float angle)
Set the rotation of the item around its center (only when detached from the grid).
|
void
|
setScale(float scaleX, float scaleY)
Set the scale of the item (only when detached from the grid).
|
void
|
setSize(float width, float height)
Set the size of the item (only when detached from the grid).
|
void
|
setSkew(float skewX, float skewY)
Set the skew of the item (only when detached from the grid).
|
void
|
setTag(String id, String value)
Set a persistent data for this item.
|
void
|
setTag(String value)
Set a persistent data for this item.
|
void
|
setVisibility(boolean visible)
Hide or show an item.
|
String
|
toString()
|
void
|
unsetBinding(String target)
Removes a binding for this item.
|