Class StyleClassFinder
java.lang.Object
repast.simphony.visualization.gui.StyleClassFinder
This implementation of class utilities is different from the one in
repast.simphony.util.ClassUtilities only in that here the exceptions are not
reported. Occasionally, we might come across a class on the classpath with
dependencies that can't be resolved, and this will catch those errors but not
report them. Since this method is only used to find style classes for the GUI
wizard, this wont be a problem.
- Author:
- Eric Tatara TODO Projections: Only need a single get_() method that also provides the style class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of Class<?> names that are assignable from ValueLayerStyle3DGets a list of Class<?> names that are assignable from ValueLayerStyle3DgetAvailableStyles
(ContextData context, Class<?> styleClass) Gets a list of Class<?> names that are assignable from the style class
-
Constructor Details
-
StyleClassFinder
public StyleClassFinder()
-
-
Method Details
-
getAvailableStyles
Gets a list of Class<?> names that are assignable from the style class- Parameters:
context
-styleClass
-- Returns:
- Throws:
IOException
ClassNotFoundException
-
getAvailable3DValueLayerStyles
Gets a list of Class<?> names that are assignable from ValueLayerStyle3D- Parameters:
context
-- Returns:
- Throws:
IOException
ClassNotFoundException
-
getAvailable2DValueLayerStyles
Gets a list of Class<?> names that are assignable from ValueLayerStyle3D- Parameters:
context
-- Returns:
- Throws:
IOException
ClassNotFoundException
-