Package weka.gui

Class GenericObjectEditor.GOEPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
GenericObjectEditor

public class GenericObjectEditor.GOEPanel extends JPanel
Handles the GUI side of editing values.
See Also:
  • Constructor Details

    • GOEPanel

      public GOEPanel()
      Creates the GUI editor component.
  • Method Details

    • setOkButtonText

      public void setOkButtonText(String newLabel)
      Allows customization of the action label on the dialog.
      Parameters:
      newLabel - the new string for the ok button
    • addOkListener

      public void addOkListener(ActionListener a)
      This is used to hook an action listener to the ok button.
      Parameters:
      a - The action listener.
    • addCancelListener

      public void addCancelListener(ActionListener a)
      This is used to hook an action listener to the cancel button.
      Parameters:
      a - The action listener.
    • removeOkListener

      public void removeOkListener(ActionListener a)
      This is used to remove an action listener from the ok button.
      Parameters:
      a - The action listener
    • removeCancelListener

      public void removeCancelListener(ActionListener a)
      This is used to remove an action listener from the cancel button.
      Parameters:
      a - The action listener
    • updateChildPropertySheet

      public void updateChildPropertySheet()
      Updates the child property sheet, and creates if needed.