Class SimpleBeanEditor<T>

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
MatcherDialog, SimpleProbeEditor

public class SimpleBeanEditor<T> extends JDialog
SimpleBeanEditor
See Also:
  • Constructor Details

    • SimpleBeanEditor

      public SimpleBeanEditor(Frame owner, String dialogTitle, String beanName, T bean)
    • SimpleBeanEditor

      public SimpleBeanEditor(Frame owner, String dialogTitle, String beanName, T bean, boolean bottomButtons, boolean visible)
  • Method Details

    • getBean

      public T getBean()
      Get the probe to edit
      Returns:
      probe associated with this editor
    • publishToBean

      protected void publishToBean()
      publish record values to the bean
    • revertFromBean

      protected void revertFromBean()
      revert the record values from the bean (if changed by the user)
    • reloadBean

      protected void reloadBean()
      reload all the record values from the bean (changed by external code)
    • initializeComponents

      protected void initializeComponents(boolean bottomButtons)
      Initialize the components of the bean editor
    • initializeControlPanel

      protected Box initializeControlPanel()
    • setEnabled

      public void setEnabled(boolean enabled)
      Overrides:
      setEnabled in class Component