程序包 weka.gui
类 FileEditor
java.lang.Object
java.beans.PropertyEditorSupport
weka.gui.FileEditor
- 所有已实现的接口:
PropertyEditor
A PropertyEditor for File objects that lets the user select a file.
- 版本:
- $Revision: 7059 $
- 作者:
- Len Trigg (trigg@cs.waikato.ac.nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Gets the custom editor component.Returns a representation of the current property value as java source.boolean
Returns true since this editor is paintable.void
paintValue
(Graphics gfx, Rectangle box) Paints a representation of the current Object.boolean
Returns true because we do support a custom editor.从类继承的方法 java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getSource, getTags, getValue, removePropertyChangeListener, setAsText, setSource, setValue
-
构造器详细资料
-
FileEditor
public FileEditor()
-
-
方法详细资料
-
getJavaInitializationString
Returns a representation of the current property value as java source.- 指定者:
getJavaInitializationString
在接口中PropertyEditor
- 覆盖:
getJavaInitializationString
在类中PropertyEditorSupport
- 返回:
- a value of type 'String'
-
supportsCustomEditor
public boolean supportsCustomEditor()Returns true because we do support a custom editor.- 指定者:
supportsCustomEditor
在接口中PropertyEditor
- 覆盖:
supportsCustomEditor
在类中PropertyEditorSupport
- 返回:
- true
-
getCustomEditor
Gets the custom editor component.- 指定者:
getCustomEditor
在接口中PropertyEditor
- 覆盖:
getCustomEditor
在类中PropertyEditorSupport
- 返回:
- a value of type 'java.awt.Component'
-
isPaintable
public boolean isPaintable()Returns true since this editor is paintable.- 指定者:
isPaintable
在接口中PropertyEditor
- 覆盖:
isPaintable
在类中PropertyEditorSupport
- 返回:
- true.
-
paintValue
Paints a representation of the current Object.- 指定者:
paintValue
在接口中PropertyEditor
- 覆盖:
paintValue
在类中PropertyEditorSupport
- 参数:
gfx
- the graphics context to usebox
- the area we are allowed to paint into
-