|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ElementType
- public interface ZIndexable<ElementType>
Encapsulates the concept of z-indexable objects; Each object is stored above or below each other object and may be moved up and down in the queue relative to other elements in the hash or absolutely to the front or back of the queue. Note that the method names correspond to the order of items drawn directly on top of one another using an iterator; the first element drawn (lowest z-index) is effectively the "bottom" element.
Method Summary | |
---|---|
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 |
Method Detail |
---|
boolean moveToTop(ElementType element)
element
-
boolean moveAbove(ElementType objectToMove, ElementType reference)
objectToMove
- reference
-
boolean moveBeneath(ElementType objectToMove, ElementType reference)
objectToMove
- reference
-
boolean moveToBottom(ElementType key)
key
-
boolean moveUp(ElementType key)
key
-
boolean moveDown(ElementType key)
key
-
List<ElementType> elements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |