Class com.symantec.itools.vcafe.beans.CustomOverrideSupport
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.vcafe.beans.CustomOverrideSupport
Object
|
+----com.symantec.itools.vcafe.beans.CustomOverrideSupport
- public class CustomOverrideSupport
- extends Object
- implements Serializable
This is a utility class that can be used by customizers that implement
it's own OK/Cancel buttons. You can use an instance of this class as a
member field of your bean and delegate various work to it.
-
com.symantec.itools.vcafe.beans.CustomOverrideSupport(Object)
-
-
addCustomOverrideListener(CustomOverrideListener)
- Add a CustomOverrideListener to the listener list.
-
fireCustomOverride(int)
- Report a bound property update to any registered listeners.
-
removeCustomOverrideListener(CustomOverrideListener)
- Remove a CustomOverrideListener from the listener list.
CustomOverrideSupport
public CustomOverrideSupport(Object customizer)
-
- Parameters:
- customizer - The customizer.
addCustomOverrideListener
public synchronized void addCustomOverrideListener(CustomOverrideListener listener)
- Add a CustomOverrideListener to the listener list.
- Parameters:
- listener - The CustomOverrideListener to be added
fireCustomOverride
public void fireCustomOverride(int state)
- Report a bound property update to any registered listeners.
No event is fired if old and new are equal and non-null.
- Parameters:
- state - CustomOverrideEvent.CUSTOMIZER_OK or
CustomOverrideEvent.CUSTOMIZER_CANCEL
removeCustomOverrideListener
public synchronized void removeCustomOverrideListener(CustomOverrideListener listener)
- Remove a CustomOverrideListener from the listener list.
- Parameters:
- listener - The CustomOverrideListener to be removed
All Packages Class Hierarchy This Package Previous Next Index