artisynth.core.gui.selectionManager
Class ClassFilter

java.lang.Object
  extended by artisynth.core.gui.selectionManager.ClassFilter
All Implemented Interfaces:
SelectionFilter

public class ClassFilter
extends java.lang.Object
implements SelectionFilter

A selection filter that accepts objects which are instances of a particular class or interface.


Constructor Summary
ClassFilter(java.lang.Class cls)
           
 
Method Summary
 boolean objectIsValid(ModelComponent comp, java.util.List<ModelComponent> currentSelections)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFilter

public ClassFilter(java.lang.Class cls)
Method Detail

objectIsValid

public boolean objectIsValid(ModelComponent comp,
                             java.util.List<ModelComponent> currentSelections)
Specified by:
objectIsValid in interface SelectionFilter