org.springframework.binding.value
Interface PropertyChangePublisher

Show UML class diagram
All Known Subinterfaces:
ConfigurableFormModel, DialogPage, DirtyTrackingValueModel, Editor, FieldMetadata, FormModel, HierarchicalFormModel, Messagable, MessagePane, PageComponent, PageComponentDescriptor, TitledWidget, ValidatingFormModel, ValidationResultsModel, View, ViewDescriptor, WizardPage
All Known Implementing Classes:
AboutCommand, AbstractCommand, AbstractDataEditorWidget, AbstractDerivedValueModel, AbstractDetailForm, AbstractDialogPage, AbstractFormModel, AbstractIndexAdapter, AbstractNavigatorView, AbstractPropertyChangePublisher, AbstractReporterForm.StateSynchronizingToggleCommand, AbstractReporterTitledApplicationDialog, AbstractTitledWidget, AbstractTitledWidgetForm, AbstractValueModel, AbstractView, AbstractWidgetCommand, AbstractWizardPage, ActionCommand, AdjustFontSizeCommand, AlertMessageAreaPane, ApplicationWindowAwareCommand, BasicInputApplicationDialog, BasicRegExpConstraintDialog, BasicTitledApplicationDialog, BasicWizardDialog, BufferedCollectionValueModel, BufferedValueModel, CalendarBindingDialog, CascadeCommand, CommandFaceDescriptor, CommandGroup, CompositeDialogPage, ContactPropertiesDialog, ContactView, DataEditorWidgetViewCommand, DeepCopyBufferedCollectionValueModel, DefaultDataEditorWidget, DefaultFieldFace, DefaultFieldMetadata, DefaultFormModel, DefaultMessageAreaModel, DefaultMessageAreaPane, DefaultValidationResultsModel, DefaultViewDescriptor, DerivedValueModelDialog, DesktopViewDescriptor, DialogCommand, DocumentBindingDialog, ExclusiveCommandGroup, ExitCommand, ExtendedWizardDialog, FlexDockViewDescriptor, FormBackedDialogPage, FormBackedPreferencePage, FormBackedWizardPage, FormModelMediatingValueModel, GenericKeyMapBindingDialog, GrowableIndexAdapter, HelpContentsCommand, HibernateExceptionHandlerCommand, InitialView, InitialView, InputApplicationDialog, ItemDataEditor, JXErrorDialogExceptionHandlerCommand, ListSelectionBindingDialog, ListSelectionValueModelAdapter, LoginCommand, LogoutCommand, LookupViewDescriptor, MapKeyAdapter, MessageFormatValueModel, MessageReportingOverlay, MessagesDialogExceptionHandlerCommand, MethodInvokingDerivedValueModel, MinimizeAllCommand, NewWindowCommand, NumberConversionDialog, ParentChildFormDialog, PreferenceCommand, PreferenceDialog, PreferencePage, RadioButtonEnumDialog, ReadOnlyFieldMetadata, RefreshableValueHolder, ScriptedView, SelectField, SetupIntroWizardPage, SetupLicenseWizardPage, SetupWizardDialog, ShowDialogCommand, ShowFrameCommand, ShowPageCommand, ShowPageMenu, ShowViewCommand, ShowViewMenu, ShowViewWithInputCommand, ShuttleListBindingDialog, ShuttleSortableTableDialog, SimpleSelectField, SimpleViewDescriptor, SortTableCommand, SplitPaneExpansionToggleCommand, StringLenghtConstraintDialog, SupplierDataEditor, TabbedDialogPage, TargetableActionCommand, TaskPaneNavigatorView, TileCommand, TitleBarTimeStampCommand, TitledApplicationDialog, TitledPageApplicationDialog, TitledWidgetApplicationDialog, TitledWidgetForm, TitlePane, ToggleCommand, TreeCompositeDialogPage, ValueHolder, ViewWithInput, VLDockingViewDescriptor, WidgetDialogCommand, WidgetView, WidgetViewCommand, WidgetViewDescriptor, WindowManager, WizardDialog

public interface PropertyChangePublisher

Interface implemented by domain objects that can publish property change events. Clients can use this interface to subscribe to the object for change notifications.

Author:
Keith Donald

Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Register a listener to all properties of this publisher.
 void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Register a listener to a specific property.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove the listener from all properties of this publisher.
 void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
          Remove the listener from a specific property.
 

Method Detail

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Register a listener to all properties of this publisher.

Parameters:
listener - the PropertyChangeListener to register.

addPropertyChangeListener

void addPropertyChangeListener(String propertyName,
                               PropertyChangeListener listener)
Register a listener to a specific property.

Parameters:
propertyName - the property to monitor.
listener - the PropertyChangeListener to register.

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Remove the listener from all properties of this publisher.

Parameters:
listener - the PropertyChangeListener to remove.

removePropertyChangeListener

void removePropertyChangeListener(String propertyName,
                                  PropertyChangeListener listener)
Remove the listener from a specific property.

Parameters:
propertyName - the property that was being monitored.
listener - the PropertyChangeListener to remove.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.