Class LightBox

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, LifecycleElement, Widget, org.springframework.core.Ordered

public class LightBox extends WidgetBase
Used for rendering a lightbox in the UI to display action links in dialog popups.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • LightBox

      public LightBox()
  • Method Details

    • getTemplateOptions

      public Map<String,String> getTemplateOptions()
      Override to add property values to the template options The options that are passed through to the Component renderer

      The Map key is the option name, with the Map value as the option value. See documentation on the particular widget render for available options.

      Specified by:
      getTemplateOptions in interface Component
      Overrides:
      getTemplateOptions in class ComponentBase
      Returns:
      Mapinvalid input: '<'String, String> options
    • getHeight

      public String getHeight()
      Returns:
      height of light box
    • setHeight

      public void setHeight(String height)
      Setter for the height of the light box Can be percentage. ie. 75%
      Parameters:
      height -
    • getWidth

      public String getWidth()
      Description copied from class: ComponentBase
      Width the component should take up in the container

      All components belong to a Container and are placed using a LayoutManager. This property specifies a width the component should take up in the Container. This is not applicable for all layout managers. During the finalize phase the CSS width style will be created for the width setting.

      e.g. '30%', '55px'

      Specified by:
      getWidth in interface Component
      Overrides:
      getWidth in class ComponentBase
      Returns:
      width of light box
    • setWidth

      public void setWidth(String width)
      Setter for the width of the light box Can be percentage. ie. 75%
      Specified by:
      setWidth in interface Component
      Overrides:
      setWidth in class ComponentBase
      Parameters:
      width -
    • isAddAppParms

      public boolean isAddAppParms()
      Indicates that the light box link should have application parameters added to it.
      Returns:
      true if the link should have application parameters added, false otherwise
    • setAddAppParms

      public void setAddAppParms(boolean addAppParms)
      Setter for the addAppParms.
      Parameters:
      addAppParms -