-
- All Implemented Interfaces:
-
com.androidplot.util.Layerable
public class LayerListOrganizer<ElementType> implements Layerable<ElementType>
Utility class providing additional element organization operations.
-
-
Constructor Summary
Constructors Constructor Description LayerListOrganizer(List<ElementType> list)
-
Method Summary
Modifier and Type Method Description boolean
moveToTop(ElementType element)
Move above all other elements boolean
moveAbove(ElementType objectToMove, ElementType reference)
Move above the specified element boolean
moveBeneath(ElementType objectToMove, ElementType reference)
Move beneath the specified element boolean
moveToBottom(ElementType key)
Move beneath all other elements boolean
moveUp(ElementType key)
Move up by one element boolean
moveDown(ElementType key)
Move down by one element List<ElementType>
elements()
void
addToBottom(ElementType element)
void
addToTop(ElementType element)
-
-
Constructor Detail
-
LayerListOrganizer
LayerListOrganizer(List<ElementType> list)
-
-
Method Detail
-
moveToTop
boolean moveToTop(ElementType element)
Move above all other elements
-
moveAbove
boolean moveAbove(ElementType objectToMove, ElementType reference)
Move above the specified element
-
moveBeneath
boolean moveBeneath(ElementType objectToMove, ElementType reference)
Move beneath the specified element
-
moveToBottom
boolean moveToBottom(ElementType key)
Move beneath all other elements
-
moveUp
boolean moveUp(ElementType key)
Move up by one element
-
moveDown
boolean moveDown(ElementType key)
Move down by one element
-
elements
List<ElementType> elements()
-
addToBottom
void addToBottom(ElementType element)
-
addToTop
void addToTop(ElementType element)
-
-
-
-