psdi.webclient.controls

Class TableCol

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class TableCol
    extends ControlInstance
    Stops render and init on tablecolumns as they are used to define columns only
    • Field Detail

      • size

        public double size
    • Constructor Detail

      • TableCol

        public TableCol()
    • Method Detail

      • getColumnNum

        public int getColumnNum()
      • initialize

        public void initialize()
        Description copied from class: BaseInstance
        should be extended to do any setup required by the instance. for example, the DatasrcInstance will call initialize to create data sources found in the bind list.
        Overrides:
        initialize in class ControlInstance
      • 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
      • getLinkedProperty

        public java.lang.String getLinkedProperty(java.lang.String key)
      • getProperty

        public java.lang.String getProperty(java.lang.String key)
        Description copied from class: ControlInstance
        Change get properties method: get descriptor's property, if not there throw InvalidPropertyException (print stack trace) if the property is in the control's properties, return it if it's null (not returned from the control) and the descriptor property is global, ask parent if parent != null
        Overrides:
        getProperty in class ControlInstance
        Returns:
        the property, or null if key is not found or if it is found empty
      • hasInternalControls

        public boolean hasInternalControls()
      • setInternalControls

        public void setInternalControls()
      • getTableCells

        public java.util.Vector getTableCells()
        Returns:
        the tableCells
      • addTableCell

        public void addTableCell(java.lang.String tableCellId)
        Parameters:
        tableCells - the tableCells to set
      • removeTableCell

        public void removeTableCell(java.lang.String id)
      • clearTableCells

        public void clearTableCells()
      • isNumeric

        public boolean isNumeric()
      • isLTROnly

        public boolean isLTROnly()
      • 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
      • canInsert

        public boolean canInsert(ControlInstance newControl)
        Description copied from class: ControlInstance
        Can this control have the new control inserted Extend this method if a control has rules for whether or not it can have a new control inserted into it
        Overrides:
        canInsert in class ControlInstance
        Returns:
        - boolean
      • setComponentForErrorFocus

        public void setComponentForErrorFocus(ControlInstance innerControl)
      • setHeaderId

        public void setHeaderId(java.lang.String anId)
      • getHeaderId

        public java.lang.String getHeaderId()