Class DefaultProbedPropertyUICreator

java.lang.Object
repast.simphony.ui.probe.DefaultProbedPropertyUICreator
All Implemented Interfaces:
ProbedPropertyUICreator
Direct Known Subclasses:
BooleanProbedProperty, NumericProbedProperty, StringProbedProperty

public abstract class DefaultProbedPropertyUICreator extends Object implements ProbedPropertyUICreator
Represents a property of a probed object whether is read / read only etc. Also produces a JComponent to display and edit the property.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Field Details

  • Constructor Details

    • DefaultProbedPropertyUICreator

      protected DefaultProbedPropertyUICreator(PropertyDescriptor desc)
  • Method Details

    • getComponent

      public abstract JComponent getComponent(com.jgoodies.binding.PresentationModel<Object> model)
      Description copied from interface: ProbedPropertyUICreator
      Gets the JComponent used to display or interact with this property.
      Specified by:
      getComponent in interface ProbedPropertyUICreator
      Parameters:
      model - the model to bind the property to a GUI widget if required.
      Returns:
    • getName

      public String getName()
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: ProbedPropertyUICreator
      Gets the display name to use a label the probe panel.
      Specified by:
      getDisplayName in interface ProbedPropertyUICreator
      Returns:
      the display name to use a label in the UI.
    • printValue

      public void printValue(com.jgoodies.binding.PresentationModel<Object> model)