|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlimpseTargetStack
A class representing a nested sequence of GlimpseTarget containers and their bounds. The current TargetStack is provided to GlimpsePainters via the current GlimpseContext. The current TargetStack is used by LayoutCache as a key to store the GlimpseBounds for a given GlimpseTarget for each unique TargetStack which it has been rendered to.
GlimpseLayoutCache
,
GlimpseContext
Method Summary | |
---|---|
GlimpseBounds |
getBounds()
|
java.util.List<GlimpseBounds> |
getBoundsList()
|
int |
getSize()
|
GlimpseTarget |
getTarget()
|
java.util.List<GlimpseTarget> |
getTargetList()
|
GlimpseTargetStack |
pop()
Removes the top GlimpseTarget / GlimpseBounds pair from the target stack. |
GlimpseTargetStack |
push(GlimpseTarget target)
Pushes a GlimpseTarget onto this TargetStack (with dummy GlimpseBounds). |
GlimpseTargetStack |
push(GlimpseTarget target,
GlimpseBounds bounds)
Adds a new GlimpseTarget and its corresponding GlimpseBounds to the TargetStack. |
GlimpseTargetStack |
push(GlimpseTargetStack stack)
Pushes an existing stack onto the top of this stack, merging the two. |
Method Detail |
---|
GlimpseTargetStack push(GlimpseTarget target, GlimpseBounds bounds)
target
- bounds
-
GlimpseTargetStack push(GlimpseTarget target)
target
-
GlimpseTargetStack push(GlimpseTargetStack stack)
stack
-
GlimpseTargetStack pop()
GlimpseTarget getTarget()
GlimpseBounds getBounds()
java.util.List<GlimpseTarget> getTargetList()
java.util.List<GlimpseBounds> getBoundsList()
int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |