Package org.jzy3d.colors
Class AlwaysPrePostDrawPolicy
- java.lang.Object
-
- org.jzy3d.colors.AlwaysPrePostDrawPolicy
-
- All Implemented Interfaces:
IColorMapperUpdatePolicy
public class AlwaysPrePostDrawPolicy extends Object implements IColorMapperUpdatePolicy
Allows only composite objects to call {@link ColorMapper.preDraw(this)}, to avoid having all children re-initializing min/max score in the scenegraph
-
-
Constructor Summary
Constructors Constructor Description AlwaysPrePostDrawPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsPostDraw(Object o)
boolean
acceptsPreDraw(Object o)
-
-
-
Method Detail
-
acceptsPreDraw
public boolean acceptsPreDraw(Object o)
- Specified by:
acceptsPreDraw
in interfaceIColorMapperUpdatePolicy
-
acceptsPostDraw
public boolean acceptsPostDraw(Object o)
- Specified by:
acceptsPostDraw
in interfaceIColorMapperUpdatePolicy
-
-