程序包 weka.gui

类 PropertySheetPanel

所有已实现的接口:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class PropertySheetPanel extends JPanel implements PropertyChangeListener
Displays a property sheet where (supported) properties of the target object may be edited.
版本:
$Revision: 10570 $
作者:
Len Trigg (trigg@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • PropertySheetPanel

      public PropertySheetPanel()
      Creates the property sheet panel.
  • 方法详细资料

    • listCapabilities

      public static String listCapabilities(Capabilities c)
      returns a comma-separated list of all the capabilities.
      参数:
      c - the capabilities to get a string representation from
      返回:
      the string describing the capabilities
    • addCapabilities

      public static String addCapabilities(String title, Capabilities c)
      generates a string from the capapbilities, suitable to add to the help text.
      参数:
      title - the title for the capabilities
      c - the capabilities
      返回:
      a string describing the capabilities
    • getAboutPanel

      public JPanel getAboutPanel()
      Return the panel containing global info and help for the object being edited. May return null if the edited object provides no global info or tip text.
      返回:
      the about panel.
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Updates the property sheet panel with a changed property and also passed the event along.
      指定者:
      propertyChange 在接口中 PropertyChangeListener
      参数:
      evt - a value of type 'PropertyChangeEvent'
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener l)
      Adds a PropertyChangeListener.
      覆盖:
      addPropertyChangeListener 在类中 Container
      参数:
      l - a value of type 'PropertyChangeListener'
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener l)
      Removes a PropertyChangeListener.
      覆盖:
      removePropertyChangeListener 在类中 Component
      参数:
      l - a value of type 'PropertyChangeListener'
    • setTarget

      public void setTarget(Object targ)
      Sets a new target object for customisation.
      参数:
      targ - a value of type 'Object'
    • editableProperties

      public int editableProperties()
      Gets the number of editable properties for the current target.
      返回:
      the number of editable properties.