psdi.webclient.controls

Class Section

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class Section
    extends DatasrcInstance
    This class simply allows toggling of section expanded
    • Constructor Detail

      • Section

        public Section()
    • Method Detail

      • canInsert

        public boolean canInsert(ControlInstance newControl)
        Adds the contents of the section inside a new section inside the new row
        Overrides:
        canInsert in class ControlInstance
        Returns:
        - boolean
      • toggleexpand

        public void toggleexpand()
        Toggles the expanded state of the section
      • isExpanded

        public java.lang.String isExpanded()
        Returns whether section is expanded
        Returns:
        true if expanded
      • hasExpandedChanged

        public boolean hasExpandedChanged()
      • setExpandedChanged

        public void setExpandedChanged(boolean changed)
      • render

        public int render()
                   throws java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
        Description copied from class: ControlInstance
        Render this control's components
        Overrides:
        render in class DatasrcInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • setOutertId

        public void setOutertId(java.lang.String id)
      • getOuterId

        public java.lang.String getOuterId()
      • childHasErrorFocus

        public void childHasErrorFocus()
        Expands the section is it's not expanded. Bubbles up the call to parent control so if the control is a container it may need to do something to insure the child is visible (for example a collapsed section will need to expand)
        Overrides:
        childHasErrorFocus in class ControlInstance