psdi.webclient.controls

Class TableBody

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class TableBody
    extends ControlInstance
    • Constructor Detail

      • TableBody

        public TableBody()
    • Method Detail

      • initialize

        public void initialize()
        This will create a tablerow for the filter and all visible rows. and walk through all columns and their children to create cell contents.
        Overrides:
        initialize in class ControlInstance
      • checkRecordLock

        public void checkRecordLock(PageInstance page,
                                    java.util.List colControls)
        Checks if this control is on a ResultsBean and Application Record Locking is enabled. If true a column from the library descriptor is dynamically added so that locked records can be indicated on the column.
        Parameters:
        page -
        colControls -
      • setupForSubSelect

        public void setupForSubSelect()
      • getDisplayRules

        public java.util.List getDisplayRules()
      • getRangesForRule

        public java.util.List getRangesForRule(java.lang.String aRule)
      • 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 ControlInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • setDataRowNum

        public void setDataRowNum(int row)
      • setMockRowNum

        public void setMockRowNum(int row)
      • canRemove

        public boolean canRemove()
        Description copied from class: ControlInstance
        Can the control be removed Extend this method if a control has rules for whether or not it can be removed
        Overrides:
        canRemove in class ControlInstance
        Returns:
        - boolean
      • setTableBodyComponentRenderId

        public void setTableBodyComponentRenderId(java.lang.String id)
      • getTableBodyComponentRenderId

        public java.lang.String getTableBodyComponentRenderId()
        Returns the render id for the tablebody component. If not already set this method will search for the tablebody component and get the id.