Package org.jgrapes.webconsole.base
Class StylingInfo
java.lang.Object
org.jgrapes.webconsole.base.StylingInfo
Evaluates and provides the styling info to a web console component.
-
Constructor Summary
ConstructorDescriptionStylingInfo
(ComponentType component, Map<?, ?> properties) Instantiates a new styling info. -
Method Summary
-
Constructor Details
-
StylingInfo
Instantiates a new styling info.- Parameters:
component
- the componentproperties
- the properties
-
-
Method Details
-
get
Returns the styling information.The method looks for an entry with key “style” in properties first. If no entry is found, it searches through the anchestors of this component for a component of type
ConsoleWeblet
and returns the result of invokingConsoleWeblet.styling()
. Else it returns “standard”.- Returns:
- the result
-