Package repast.simphony.ui.probe
Class Probe
java.lang.Object
repast.simphony.ui.probe.Probe
Encapsulates the gui representation and the model of a gui probe.S
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a property change listener to this Probe.voidcommit()Commit any pending changes to the bean.voidflush()Flush any pending changes from the bean.getPanel()Gets the panel that displays the gui widgets for this probe.getTitle()Gets the title of this Probe.booleanA probe is buffered if changes to its values are not automatically reflected in the probed object.voidRemoves a property change listener from this Probe.voidupdate()Updates the probe to show the latest values of the probed property.
- 
Constructor Details- 
Probe
- 
Probe
 
- 
- 
Method Details- 
getTitleGets the title of this Probe.- Returns:
- the title of this Probe.
 
- 
isBufferedpublic boolean isBuffered()A probe is buffered if changes to its values are not automatically reflected in the probed object. Calling commit on a buffered probe will commit the changes to the probed object.- Returns:
- true if this Probe is buffered, false otherwise.
 
- 
updatepublic void update()Updates the probe to show the latest values of the probed property.
- 
flushpublic void flush()Flush any pending changes from the bean. Note that is only has an effect if this is a buffered probe.
- 
commitpublic void commit()Commit any pending changes to the bean. Note that is only has an effect if this is a buffered probe.
- 
getPanelGets the panel that displays the gui widgets for this probe.- Returns:
- the panel that displays the gui widgets for this probe.
 
- 
addPropertyChangeListenerAdds a property change listener to this Probe. This listener will be called when the probed object is updated.- Parameters:
- listener-
 
- 
removePropertyChangeListenerRemoves a property change listener from this Probe.- Parameters:
- listener-
 
 
-