Class StylingInfo

java.lang.Object
org.jgrapes.webconsole.base.StylingInfo

public class StylingInfo extends Object
Evaluates and provides the styling info to a web console component.
  • Constructor Details

    • StylingInfo

      public StylingInfo(ComponentType component, Map<?,?> properties)
      Instantiates a new styling info.
      Parameters:
      component - the component
      properties - the properties
  • Method Details

    • get

      public String 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 invoking ConsoleWeblet.styling(). Else it returns “standard”.

      Returns:
      the result