| |
|
| java.lang.Object com.sun.midp.chameleon.CLayerList
CLayerList | class CLayerList (Code) | | The class represents bi-directional ordered list of UI layers with
possibility to add, remove and iterate over list elements
|
count | protected int count(Code) | | |
CLayerList | CLayerList()(Code) | | Construct empty layers list
|
addLayer | CLayerElement addLayer(CLayer layer)(Code) | | Add new layer to the top of list with no check for other
occurrences of the layer in the list
Parameters: layer - CLayer instance to be added list element of the newly added layer |
find | CLayerElement find(CLayer layer)(Code) | | Find UI layer instance in the list
Parameters: layer - the instance to search in the list for list element with searched layer if success, null otherwise |
getBottom | CLayerElement getBottom()(Code) | | Get the most bottom list element
return the element with top most layer |
getTop | CLayerElement getTop()(Code) | | Get the most top list element
return the element with top most layer |
removeLayer | boolean removeLayer(CLayer layer)(Code) | | Remove layer from the list
Parameters: layer - CLayer instance to be removed true if the layer was found and removed, false otherwise |
removeLayerElement | void removeLayerElement(CLayerElement le)(Code) | | Remove layer element from the list with no extra checks.
It's caller's responsibility to apply the method on
list elements only.
Parameters: le - list element to be removed |
size | int size()(Code) | | Get number of layers in the list
number of list elements |
|
|
|