public class GlimpseLayoutCache<D> extends Object
Constructor and Description |
---|
GlimpseLayoutCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all mappings from the cache, the component associated with this cache
will have to be laid out again for each of its RenderTargets.
|
static boolean |
compareBounds(List<GlimpseBounds> list1,
List<GlimpseBounds> list2) |
Collection<D> |
getMatching(TargetStackMatcher matcher) |
D |
getValue(GlimpseContext context) |
D |
getValue(GlimpseTargetStack layoutStack) |
D |
getValueNoBoundsCheck(GlimpseContext context) |
D |
getValueNoBoundsCheck(GlimpseTargetStack layoutStack) |
List<D> |
getValues() |
void |
setValue(GlimpseContext context,
D value) |
void |
setValue(GlimpseTargetStack stack,
D value) |
int |
size() |
public int size()
public D getValue(GlimpseContext context)
public D getValue(GlimpseTargetStack layoutStack)
public D getValueNoBoundsCheck(GlimpseContext context)
public D getValueNoBoundsCheck(GlimpseTargetStack layoutStack)
public void setValue(GlimpseTargetStack stack, D value)
public void setValue(GlimpseContext context, D value)
public void clear()
public static boolean compareBounds(List<GlimpseBounds> list1, List<GlimpseBounds> list2)
public Collection<D> getMatching(TargetStackMatcher matcher)
Copyright © 2016 Metron, Inc.. All rights reserved.