程序包 weka.gui

类 PropertyPanel

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

public class PropertyPanel extends JPanel
Support for drawing a property value in a component.
版本:
$Revision: 7059 $
作者:
Len Trigg (trigg@cs.waikato.ac.nz), Richard Kirkby (rkirkby@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • PropertyPanel

      public PropertyPanel(PropertyEditor pe)
      Create the panel with the supplied property editor.
      参数:
      pe - the PropertyEditor
    • PropertyPanel

      public PropertyPanel(PropertyEditor pe, boolean ignoreCustomPanel)
      Create the panel with the supplied property editor, optionally ignoring any custom panel the editor can provide.
      参数:
      pe - the PropertyEditor
      ignoreCustomPanel - whether to make use of any available custom panel
  • 方法详细资料

    • showPropertyDialog

      public void showPropertyDialog()
      Displays the property edit dialog for the panel.
    • removeNotify

      public void removeNotify()
      Cleans up when the panel is destroyed.
      覆盖:
      removeNotify 在类中 JComponent
    • setEnabled

      public void setEnabled(boolean enabled)
      Passes on enabled/disabled status to the custom panel (if one is set).
      覆盖:
      setEnabled 在类中 JComponent
      参数:
      enabled - true if this panel (and the custom panel is enabled)
    • paintComponent

      public void paintComponent(Graphics g)
      Paints the component, using the property editor's paint method.
      参数:
      g - the current graphics context