Package org.oddjob.monitor.control
Class PropertyPolling
java.lang.Object
org.oddjob.monitor.control.PropertyPolling
- All Implemented Interfaces:
PropertyChangeListener,EventListener
Populate a property model with a subjects properties.
- Author:
- Rob Gordon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpoll()Poll for property changes.voidCalled when the DetailModel changes.voidsetPropertyModel(PropertyModel propertyModel) voidsetSubject(Object subject)
-
Constructor Details
-
PropertyPolling
Constructor.- Parameters:
kick- An object notify to kick the polling.
-
-
Method Details
-
poll
public void poll()Poll for property changes. -
getSubject
- Returns:
- Returns the subject.
-
setSubject
- Parameters:
subject- The subject to set.
-
getPropertyModel
- Returns:
- Returns the propertyModel.
-
setPropertyModel
- Parameters:
propertyModel- The propertyModel to set.
-
propertyChange
Called when the DetailModel changes. Usually when the job node select changes.- Specified by:
propertyChangein interfacePropertyChangeListener
-