org.jzy3d.colors
Class AlwaysPrePostDrawPolicy

java.lang.Object
  extended by org.jzy3d.colors.AlwaysPrePostDrawPolicy
All Implemented Interfaces:
IColorMapperUpdatePolicy

public class AlwaysPrePostDrawPolicy
extends Object
implements IColorMapperUpdatePolicy

Allows only composite objects to call ColorMapper.preDraw(this), to avoid having all children re-initializing min/max score in the scenegraph


Constructor Summary
AlwaysPrePostDrawPolicy()
           
 
Method Summary
 boolean acceptsPostDraw(Object o)
           
 boolean acceptsPreDraw(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysPrePostDrawPolicy

public AlwaysPrePostDrawPolicy()
Method Detail

acceptsPreDraw

public boolean acceptsPreDraw(Object o)
Specified by:
acceptsPreDraw in interface IColorMapperUpdatePolicy

acceptsPostDraw

public boolean acceptsPostDraw(Object o)
Specified by:
acceptsPostDraw in interface IColorMapperUpdatePolicy


Copyright © 2013. All rights reserved.