CustomView
|
addCustomView(float x, float y)
Create a new custom view using default values.
|
Folder
|
addFolder(String label, float x, float y)
Create a new empty folder with the default icon and size.
|
PageIndicator
|
addPageIndicator(float x, float y)
Create a new page indicator using default values.
|
Panel
|
addPanel(float x, float y, float width, float height)
Create a new empty panel.
|
Shortcut
|
addShortcut(String label, Intent intent, float x, float y)
Create a new shortcut with the default icon and size.
|
StopPoint
|
addStopPoint(float x, float y)
Create a new stop point with the default configuration.
|
void
|
applyIconPack(boolean synchronous)
Requests a manual application of the selected icon pack.
|
void
|
cancelFling()
Stop inertial movement initiated by a fling.
|
Item
|
cloneItem(Item item)
Clone an item, including containers if any, recursively.
|
Scriptable
|
extend()
Return a new script object, with this container as prototype
|
Item[]
|
getAllItems()
Returns the list of items in this container
|
RectL
|
getBoundingBox()
Returns the area covered by items in this container.
|
float
|
getCellHeight()
Returns the current computed cell width.
|
float
|
getCellWidth()
Returns the current computed cell width.
|
int
|
getHeight()
Returns the height of this container.
|
int
|
getId()
Returns the container unique identifier.
|
Item
|
getItemById(int id)
Retrieve an item using its identifier.
|
Item
|
getItemByLabel(String label)
This method is deprecated.
Use #getItemByName instead
|
Item
|
getItemByName(String name)
Retrieve an item using its name.
|
int
|
getItemZIndex(int itemId)
Returns the Z-index of the item in the container.
|
Array
|
getItems()
This method is deprecated.
use #getAllItems instead
|
Scriptable
|
getMy()
Return a scriptable object that can be used to store live data.
|
Item
|
getOpener()
Returns the item used to open this container.
|
Container
|
getParent()
Returns the parent container for this container, or null if this container is a desktop.
|
float
|
getPositionScale()
Returns the current scale.
|
float
|
getPositionX()
Returns the current absolute horizontal position.
|
float
|
getPositionY()
Returns the current absolute vertical position.
|
PropertySet
|
getProperties()
Retrieve container properties (configuration data).
|
String
|
getTag()
Returns the value associated with this container.
|
String
|
getTag(String id)
Returns the value associated with this container.
|
String
|
getType()
Used to identify the kind of this container.
|
ViewGroup
|
getView()
Retrieve the android View for this container.
|
int
|
getWidth()
Returns the width of this container.
|
Item
|
moveItem(Item item, Container to_other_container)
Move an item from this container to another container.
|
void
|
removeCustomIcons()
This method removes custom icons and layer images.
|
void
|
removeItem(Item item)
Remove an item, without confirmation, whatever its type.
|
void
|
setBoundingBox(RectL bb)
Manually set a bounding box for this container.
|
void
|
setItemZIndex(int itemId, int index)
Move an item to another layer.
|
void
|
setPosition(float x, float y, float scale, boolean animate)
Go to a specified absolute position in this container.
|
void
|
setPosition(float x, float y)
Go to a specified absolute position in this container, setting a scale of 1 and using animations.
|
void
|
setTag(String id, String value)
Set a custom and persistent data for this container.
|
void
|
setTag(String value)
Set a custom and persistent data for this container.
|
void
|
showAddItemDialog()
Display the Lightning "Add item" dialog.
|
String
|
toString()
|
float
|
translateIntoScreenCoordX(float x)
Convert horizontal coordinates in this container into screen coordinates.
|
float
|
translateIntoScreenCoordY(float y)
Convert vertical coordinates in this container into screen coordinates.
|
void
|
updateBoundingBox()
Update the items bounding box.
|