Class ProbeModel

java.lang.Object
com.jgoodies.common.bean.Bean
com.jgoodies.binding.beans.Model
com.jgoodies.binding.PresentationModel<Object>
repast.simphony.ui.probe.ProbeModel
All Implemented Interfaces:
com.jgoodies.binding.internal.IPresentationModel<Object>, com.jgoodies.common.bean.ObservableBean, com.jgoodies.common.bean.ObservableBean2, Serializable

public class ProbeModel extends com.jgoodies.binding.PresentationModel<Object>
Wraps the probed object in a jgoodies binding PresentationModel. The binding takes care of transmitting updates made in the GUI (i.e. a panel that shows the objects properties) to the actual object itself.
Author:
Nick Collier
See Also:
  • Field Summary

    Fields inherited from class com.jgoodies.binding.PresentationModel

    PROPERTY_AFTER_BEAN, PROPERTY_BEAN, PROPERTY_BEFORE_BEAN, PROPERTY_BUFFERING, PROPERTY_CHANGED, PROPERTY_TRIGGERCHANNEL

    Fields inherited from class com.jgoodies.common.bean.Bean

    changeSupport
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProbeModel(Object probedObject)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.jgoodies.binding.beans.BeanAdapter<Object>
    createBeanAdapter(com.jgoodies.binding.value.ValueModel beanChannel)
     
    void
    Updates any bindings associated with this model to reflect the current state of the probed object.

    Methods inherited from class com.jgoodies.binding.PresentationModel

    addBeanPropertyChangeListener, addBeanPropertyChangeListener, afterBeanChange, beforeBeanChange, getBean, getBeanChannel, getBeanPropertyChangeListeners, getBeanPropertyChangeListeners, getBufferedComponentModel, getBufferedModel, getBufferedModel, getBufferedValue, getComponentModel, getModel, getModel, getTriggerChannel, getValue, isBuffering, isChanged, observeChanged, observeChanged, onBeanChanged, onBeanChanging, release, removeBeanPropertyChangeListener, removeBeanPropertyChangeListener, resetChanged, retractInterestFor, retractInterestFor, setBean, setBufferedValue, setChanged, setTriggerChannel, setValue, setVetoableValue, triggerCommit, triggerFlush

    Methods inherited from class com.jgoodies.binding.beans.Model

    createPropertyChangeSupport, firePropertyChange

    Methods inherited from class com.jgoodies.common.bean.Bean

    addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProbeModel

      public ProbeModel(Object probedObject)
  • Method Details

    • createBeanAdapter

      protected com.jgoodies.binding.beans.BeanAdapter<Object> createBeanAdapter(com.jgoodies.binding.value.ValueModel beanChannel)
      Overrides:
      createBeanAdapter in class com.jgoodies.binding.PresentationModel<Object>
    • update

      public void update()
      Updates any bindings associated with this model to reflect the current state of the probed object.