Package com.portal.app.comp
Interface SharedDataManager
- All Known Implementing Classes:
PAccountCreationWizard,PPurchaseOfferingWizard,PValidatingWizard
public interface SharedDataManager
Specification for a manager of (subclasses of)
SharedData.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSharedDataListener(String propertyName, PropertyChangeListener listener) Adds a shared data listener (a PropertyChangeListener) for a specific property.voidaddSharedDataVetoableListener(String propertyName, VetoableChangeListener listener) Allows a listener to register for vetoable notification of bound property changes.voidfireSharedDataChangedNotification(String propertyName, Object oldValue, Object newValue) Reports a bound property update to any registered listeners.voidfireSharedDataVetoableNotification(String propertyName, Object oldValue, Object newValue) Provides notification that a bound property is about to change, and gives the listeners an opportunity to reject the change.Returns the shared data.booleanhasListeners(String propertyName) Checks if there are any listeners for a specific property.booleanhasVetoListeners(String propertyName) Determines if there are veto listeners for the given propertyvoidremoveSharedDataListener(String propertyName, PropertyChangeListener listener) Removes a shared data listener (a PropertyChangeListener) for a specific property.voidremoveSharedDataVetoableListener(String propertyName, VetoableChangeListener listener) Allows a listener to unregister for vetoable notification of bound property changes.
-
Method Details
-
hasVetoListeners
Determines if there are veto listeners for the given property- Parameters:
propertyName- The property name- Returns:
- true if there are listeners; false otherwise
-
hasListeners
Checks if there are any listeners for a specific property.- Parameters:
propertyName- the property name.- Returns:
- true if there are ore or more listeners for the given property