public interface ControlManager
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 |
applyControlValues()
Copies the property values from the property controls to the underlying object.
|
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 |
resetControlValues()
Re-copies the property values from the underlying object to the property controls.
|
void |
setControlValue(java.lang.String property,
java.lang.Object value)
Sets the value of a control.
|
java.lang.Object getControlValue(java.lang.String property)
null
if no
such property or control has been declared for the window.property
- the name of the property whose control
value is being requested.null
void controlValueModified(java.lang.String property)
property
- the name of the property whose control value
has been modifiedcom.spss.clementine.extensions.ui.spi.PropertyControl#setControlValue(Object)
void addPropertyControlListener(java.lang.String property, PropertyControlListener l)
property
- the name of the property whose control wanna be
listenedl
- the property control listener which listen on the required
property controlvoid removePropertyControlListener(java.lang.String property, PropertyControlListener l)
property
- the name of the property whose control has been
listened by the listenerl
- the property control listener needs to be removedvoid setControlValue(java.lang.String property, java.lang.Object value)
property
- the name of the property whose control value
you want to modifyvalue
- the new valuevoid resetControlValues()
ExtensionObjectPanel.controlValuesReset()
.ExtensionObjectPanel.controlValuesReset()
void applyControlValues()
ExtensionObjectPanel.controlValuesApplied()
.ExtensionObjectPanel.controlValuesApplied()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.