Class VisualSettings
java.lang.Object
edu.internet2.middleware.grouper.app.visualization.VisualSettings
Imports visualization settings from grouper.properties and sets up
StyleSet objects containing multiple Styles
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor to read grouper.properties and parse into a data store containing the default style set and style sets for all the defined modules -
Method Summary
Modifier and TypeMethodDescriptionretrieves the default style setgetStyleSet
(String name) retrieves a StyleSet based on it's module namereturns the set of all style set names, including the default setvoid
reloads the data stores from grouper.properties
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_STYLESET_NAME
- See Also:
-
-
Constructor Details
-
VisualSettings
public VisualSettings()Constructor to read grouper.properties and parse into a data store containing the default style set and style sets for all the defined modules
-
-
Method Details
-
reloadSettings
public void reloadSettings()reloads the data stores from grouper.properties -
getStyleSetNames
returns the set of all style set names, including the default set- Returns:
- set of StyleSet names
-
getStyleSet
retrieves a StyleSet based on it's module name- Parameters:
name
- style set key name- Returns:
- the style set
-
getDefaultStyleSet
retrieves the default style set- Returns:
- default style set
-