Class StyleClassFinder
- java.lang.Object
-
- repast.simphony.visualization.gui.StyleClassFinder
-
public class StyleClassFinder extends Object
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
Constructors Constructor Description StyleClassFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getAvailable2DValueLayerStyles(ContextData context)
Gets a list of Class> names that are assignable from ValueLayerStyle3Dstatic List<String>
getAvailable3DValueLayerStyles(ContextData context)
Gets a list of Class> names that are assignable from ValueLayerStyle3Dstatic List<String>
getAvailableStyles(ContextData context, Class<?> styleClass)
Gets a list of Class> names that are assignable from the style class
-
-
-
Method Detail
-
getAvailableStyles
public static List<String> getAvailableStyles(ContextData context, Class<?> styleClass)
Gets a list of Class> names that are assignable from the style class- Parameters:
context
-styleClass
-- Returns:
- Throws:
IOException
ClassNotFoundException
-
getAvailable3DValueLayerStyles
public static List<String> getAvailable3DValueLayerStyles(ContextData context)
Gets a list of Class> names that are assignable from ValueLayerStyle3D- Parameters:
context
-- Returns:
- Throws:
IOException
ClassNotFoundException
-
getAvailable2DValueLayerStyles
public static List<String> getAvailable2DValueLayerStyles(ContextData context)
Gets a list of Class> names that are assignable from ValueLayerStyle3D- Parameters:
context
-- Returns:
- Throws:
IOException
ClassNotFoundException
-
-