org.oddjob.framework
Interface PropertyChangeNotifier

All Known Subinterfaces:
ExplorerAction, FormAction
All Known Implementing Classes:
AddJobAction, AndState, AntJob, ArchiveBrowserJob, ArchiveJob, BaseComponent, BasePrimary, BaseWrapper, CascadeJob, ChooseFile, ClientBase, ConfirmationJob, DependsJob, DesignerAction, DesignInsideAction, DetailModel, EqualsState, ExecJob, ExecuteAction, FlagState, ForceAction, ForEachJob, GrabJob, HardResetAction, IfJob, InputJob, InvokeJob, JMXClientJob, JMXServiceJob, JobAction, JobFormAction, JoinJob, LoadAction, MegaBeanBus, MirrorState, MultiExplorerLauncher, Oddjob, OddjobExplorer, OddjobPanel, OrState, ParallelJob, PropertiesJob, PropertiesJobBase, RepeatJob, ResetJob, Resets, Retry, RMIRegistryJob, RunJob, RunnableWrapper, ScheduleBase, ScriptJob, SequentialJob, SerializableJob, ServicesJob, ServiceWrapper, SetJob, SetPropertyAction, SimpleJob, SimpleService, SimultaneousStructural, SoftResetAction, StartJob, StateReflector, StopAction, StopJob, StructuralJob, Timer, TimerBase, Trigger, UnloadAction, VariablesJob, WaitJob

public interface PropertyChangeNotifier

A Bean that is able to notify listeners of property changes. It would be nice if this was part of the standard Java Bean stuff, but it isn't.

Author:
rob

Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Add a Listener.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a Listener.
 

Method Detail

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Add a Listener. No validation is done for if the property name is not one for which the bean provides notifications.

Parameters:
listener - The listener.

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Remove a Listener.

Parameters:
listener - The listener.