|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.androidplot.util.ListOrganizer<ElementType>
ElementType
- public class ListOrganizer<ElementType>
Utility class providing additional element organization operations.
Constructor Summary | |
---|---|
ListOrganizer(List<ElementType> list)
|
Method Summary | |
---|---|
void |
addToBottom(ElementType element)
|
void |
addToTop(ElementType element)
|
List<ElementType> |
elements()
|
boolean |
moveAbove(ElementType objectToMove,
ElementType reference)
Move above the specified element |
boolean |
moveBeneath(ElementType objectToMove,
ElementType reference)
Move beneath the specified element |
boolean |
moveDown(ElementType key)
Move down by one element |
boolean |
moveToBottom(ElementType key)
Move beneath all other elements |
boolean |
moveToTop(ElementType element)
Move above all other elements |
boolean |
moveUp(ElementType key)
Move up by one element |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListOrganizer(List<ElementType> list)
Method Detail |
---|
public boolean moveToTop(ElementType element)
ZIndexable
moveToTop
in interface ZIndexable<ElementType>
public boolean moveAbove(ElementType objectToMove, ElementType reference)
ZIndexable
moveAbove
in interface ZIndexable<ElementType>
public boolean moveBeneath(ElementType objectToMove, ElementType reference)
ZIndexable
moveBeneath
in interface ZIndexable<ElementType>
public boolean moveToBottom(ElementType key)
ZIndexable
moveToBottom
in interface ZIndexable<ElementType>
public boolean moveUp(ElementType key)
ZIndexable
moveUp
in interface ZIndexable<ElementType>
public boolean moveDown(ElementType key)
ZIndexable
moveDown
in interface ZIndexable<ElementType>
public List<ElementType> elements()
elements
in interface ZIndexable<ElementType>
public void addToBottom(ElementType element)
public void addToTop(ElementType element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |