psdi.webclient.system.controller

Class UnboundComponentInstance

  • All Implemented Interfaces:
    java.lang.Cloneable, DataBeanListener
    Direct Known Subclasses:
    CalendarTextBox, WhereClauseTextArea


    public class UnboundComponentInstance
    extends BoundComponentInstance
    Creates a general component class for components that may not be unbound. The extending class will need to implement setvalue() and getString() This class extends BoundComponentInstance and not ComponentInstance, in order to re-use the 'bound-like' methods, avoid multiple changes to jsp pages which otherwise would have had to work with 2 variables (boundcomponent and uncomponent) to call methods and properties. This class should be extended if custom implmentation is required on these 2 methods. Other methods from super classes can also be overridden
    • Constructor Detail

      • UnboundComponentInstance

        public UnboundComponentInstance()
    • Method Detail

      • setvalue

        public int setvalue()
        Called when user changes the value in the field.
        Returns:
        WebClientBean.EVENT_HANDLED;
      • getString

        public java.lang.String getString()
        Returns the "value" property of the textbox which is only valid in unbound
        Overrides:
        getString in class BoundComponentInstance
        Returns:
        String