All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.PropertyPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----javax.swing.JComponent
|
+----javax.swing.JPanel
|
+----weka.gui.PropertyPanel
- public class PropertyPanel
- extends javax.swing.JPanel
Support for drawing a property value in a component.
- Version:
- $Revision: 1.8 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
PropertyPanel(PropertyEditor)
- Create the panel with the supplied property editor.
PropertyPanel(PropertyEditor, boolean)
- Create the panel with the supplied property editor,
optionally ignoring any custom panel the editor can provide.
paintComponent(Graphics)
- Paints the component, using the property editor's paint method.
removeNotify()
- Cleans up when the panel is destroyed.
showPropertyDialog()
- Displays the property edit dialog for the panel.
PropertyPanel
public PropertyPanel(java.beans.PropertyEditor pe)
Create the panel with the supplied property editor.
- Parameters:
pe - the PropertyEditor
PropertyPanel
public PropertyPanel(java.beans.PropertyEditor pe,
boolean ignoreCustomPanel)
Create the panel with the supplied property editor,
optionally ignoring any custom panel the editor can provide.
- Parameters:
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.
- Overrides:
- removeNotify in class javax.swing.JComponent
paintComponent
public void paintComponent(java.awt.Graphics g)
Paints the component, using the property editor's paint method.
- Parameters:
g - the current graphics context
All Packages Class Hierarchy This Package Previous Next Index WEKA's home