com.spss.psapi.extensions.ui

Interface ControlManager



  • public interface ControlManager
    Defines the functionality associated with a control manager. Each window associated with an extension object contains a control manager which handles the controls defined for that window.
    Since:
    PSAPI 11.1
    Version:
    1.0
    Author:
    Julian Clinton
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addPropertyControlListener(java.lang.String property, PropertyControlListener l)
      Used to notify the control manager that a property control want to listening on another property control's value change events.
      void controlValueModified(java.lang.String property)
      Used to notify the control manager that a property control has had its value modified, either by the user or by a call of PropertyControl.setControlValue().
      java.lang.Object getControlValue(java.lang.String property)
      Returns the current value of the control associated with the supplied property name or null if no such property or control has been declared for the window.
      void removePropertyControlListener(java.lang.String property, PropertyControlListener l)
      Used to notify the control manager that a listener needs to be removed from a particular property control
      void setControlValue(java.lang.String property, java.lang.Object value)
      Used to change the value of one control
    • Method Detail

      • getControlValue

        java.lang.Object getControlValue(java.lang.String property)
        Returns the current value of the control associated with the supplied property name or null if no such property or control has been declared for the window.
        Parameters:
        property - the name of the property whose control value is being requested.
        Returns:
        the current control value or null
      • controlValueModified

        void controlValueModified(java.lang.String property)
        Used to notify the control manager that a property control has had its value modified, either by the user or by a call of PropertyControl.setControlValue(). This may trigger evaluation of any visible and/or enabled conditions associated with this control.
        Parameters:
        property - the name of the property whose control value has been modified
        See Also:
        com.spss.clementine.extensions.ui.spi.PropertyControl#setControlValue(Object)
      • addPropertyControlListener

        void addPropertyControlListener(java.lang.String property,
                                      PropertyControlListener l)
        Used to notify the control manager that a property control want to listening on another property control's value change events.
        Parameters:
        property - the name of the property whose control wanna be listened
        l - the property control listener which listen on the required property control
      • removePropertyControlListener

        void removePropertyControlListener(java.lang.String property,
                                         PropertyControlListener l)
        Used to notify the control manager that a listener needs to be removed from a particular property control
        Parameters:
        property - the name of the property whose control has been listened by the listener
        l - the property control listener needs to be removed
      • setControlValue

        void setControlValue(java.lang.String property,
                           java.lang.Object value)
        Used to change the value of one control
        Parameters:
        property - the name of the property whose control value you want to modify
        value -
        Since:
        17.0.0.1

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.