psdi.webclient.system.controller

Class DynamicAttributeComponent

    • Field Detail

      • DYNAMICATTRIBUTE

        public static final java.lang.String DYNAMICATTRIBUTE
        See Also:
        Constant Field Values
      • CLASSSPECVALUEATTRIBUTES

        public static final java.lang.String[] CLASSSPECVALUEATTRIBUTES
    • Constructor Detail

      • DynamicAttributeComponent

        public DynamicAttributeComponent()
    • Method Detail

      • isDynamicAttribute

        public boolean isDynamicAttribute()
      • render

        public int render()
                   throws java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
        Description copied from class: ComponentInstance
        Renders the component.

        If a component is marked with a rendercomponent, it will be set to the control so that the children can check to see if their renderid matches. If it does, they will render.

        Overrides:
        render in class ComponentInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • hasAnyPropertyChanged

        public boolean hasAnyPropertyChanged()
        Description copied from class: BaseInstance
        Checks to see if any property has changed on the control since the last time the control was rendered or 'refreshed'.
        Overrides:
        hasAnyPropertyChanged in class BaseInstance
        Returns:
        true if a property has changed, false it has not.
      • initialize

        public void initialize()
        Description copied from class: ComponentInstance
        should be extended to do any setup required by the instance. for example, the DatasrcInstance will call initialize to create datasources found in the bind list.
        Overrides:
        initialize in class ComponentInstance
      • resetAttribute

        public void resetAttribute()
      • click

        public int click()
                  throws java.rmi.RemoteException,
                         MXException
        Description copied from class: ComponentInstance
        Handles a click event. Tries to call the method named in the "mxevent" property on the system handler, then component, then the control. Then eventually calls the bean method If "targetid" property is defined then that component is used, otherwise this component is used.
        Overrides:
        click in class ComponentInstance
        Returns:
        event handler status code
        Throws:
        java.rmi.RemoteException
        MXException