|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the kind of item whose visibility is changedpublic interface CombinedHandler<T>
A handler to change and read the visibility state and the z order of some item. This handler is attached to some other component, the visibility state and the z order depend not only on the item put also on internal states of the other items.
Method Summary | |
---|---|
int |
getZOrder(T item)
Gets the z order of item . |
boolean |
isVisible(T item)
Tells whether item is visible or not. |
void |
setVisible(T item,
boolean visible)
Sets the visibility of item . |
void |
setZOrder(T item,
int order)
Sets the z order of item , items with lower z order
are painted first. |
Method Detail |
---|
void setVisible(T item, boolean visible)
item
.
item
- some itemvisible
- its new visibility state
IllegalArgumentException
- if item
does not belong
to the component this handler is attached toboolean isVisible(T item)
item
is visible or not.
item
- some item
true
if visible, false
otherwise
IllegalArgumentException
- if item
does not belong
to the component this handler is attached tovoid setZOrder(T item, int order)
item
, items with lower z order
are painted first.
item
- some itemorder
- its z orderint getZOrder(T item)
item
.
item
- the item
IllegalArgumentException
- if item
does not
belong to the component this handler is attached to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |