public class GlimpseTargetStackImpl extends Object implements GlimpseTargetStack
GlimpseTargetStack
Constructor and Description |
---|
GlimpseTargetStackImpl(GlimpseCanvas canvas) |
GlimpseTargetStackImpl(GlimpseTarget... targets) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GlimpseBounds |
getBounds() |
List<GlimpseBounds> |
getBoundsList() |
int |
getSize() |
GlimpseTarget |
getTarget() |
List<GlimpseTarget> |
getTargetList() |
int |
hashCode() |
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.
|
String |
toString() |
public GlimpseTargetStackImpl(GlimpseTarget... targets)
public GlimpseTargetStackImpl(GlimpseCanvas canvas)
public GlimpseTargetStack push(GlimpseTarget target, GlimpseBounds bounds)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack push(GlimpseTarget target)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack push(GlimpseTargetStack stack)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack pop()
GlimpseTargetStack
pop
in interface GlimpseTargetStack
public GlimpseTarget getTarget()
getTarget
in interface GlimpseTargetStack
public GlimpseBounds getBounds()
getBounds
in interface GlimpseTargetStack
public List<GlimpseTarget> getTargetList()
getTargetList
in interface GlimpseTargetStack
public List<GlimpseBounds> getBoundsList()
getBoundsList
in interface GlimpseTargetStack
public int getSize()
getSize
in interface GlimpseTargetStack
Copyright © 2013 Metron, Inc.. All rights reserved.