Package weka.gui
Class WekaStringEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- weka.gui.WekaStringEditor
-
- All Implemented Interfaces:
PropertyEditor
public class WekaStringEditor extends PropertyEditorSupport
Simple property editor for Strings that avoids relying on com.sun.beans.editors.StringEditor (which is inaccessible under JPMS unless opened).
-
-
Constructor Summary
Constructors Constructor Description WekaStringEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsText()voidsetAsText(String text)booleansupportsCustomEditor()-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue
-
-
-
-
Method Detail
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
-