|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.gui.goe.AbstractGenericObjectEditorHandler
adams.gui.goe.WekaGenericObjectEditorHandler
public class WekaGenericObjectEditorHandler
Handler for the WEKA GenericObjectEditor.
| Field Summary |
|---|
| Fields inherited from class adams.gui.goe.AbstractGenericObjectEditorHandler |
|---|
m_Cache, m_HandlerClasses, m_Handlers |
| Constructor Summary | |
|---|---|
WekaGenericObjectEditorHandler()
|
|
| Method Summary | |
|---|---|
boolean |
getCanChangeClassInDialog(PropertyEditor editor)
Returns whether the class can be changed in the dialog. |
Class |
getClassType(PropertyEditor editor)
Returns the class type currently in use. |
JPanel |
getCustomPanel(PropertyEditor editor)
Returns the custom panel of the editor. |
Object |
getValue(PropertyEditor editor)
Returns the value currently being edited. |
boolean |
handles(Class cls)
Checks whether the given class can be processed. |
boolean |
hasCustomPanel(PropertyEditor editor)
Checks whether the editor supplies its own panel. |
boolean |
setCanChangeClassInDialog(PropertyEditor editor,
boolean canChange)
Sets whether the class can be changed in the dialog. |
boolean |
setClassType(PropertyEditor editor,
Class cls)
Sets the class type to use. |
boolean |
setValue(PropertyEditor editor,
Object value)
Sets the editor value. |
| Methods inherited from class adams.gui.goe.AbstractGenericObjectEditorHandler |
|---|
getHandler, getHandler, getHandlers, handles, initHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WekaGenericObjectEditorHandler()
| Method Detail |
|---|
public boolean setClassType(PropertyEditor editor,
Class cls)
setClassType in class AbstractGenericObjectEditorHandlereditor - the editor to updatecls - the class to set
public Class getClassType(PropertyEditor editor)
getClassType in class AbstractGenericObjectEditorHandlereditor - the editor to query
public boolean setCanChangeClassInDialog(PropertyEditor editor,
boolean canChange)
setCanChangeClassInDialog in class AbstractGenericObjectEditorHandlereditor - the editor to updatecanChange - if true the class can be changed in the dialog
public boolean getCanChangeClassInDialog(PropertyEditor editor)
getCanChangeClassInDialog in class AbstractGenericObjectEditorHandlereditor - the editor to query
public boolean setValue(PropertyEditor editor,
Object value)
setValue in class AbstractGenericObjectEditorHandlereditor - the editor to updatevalue - the object to set
public Object getValue(PropertyEditor editor)
getValue in class AbstractGenericObjectEditorHandlereditor - the editor to query
public boolean handles(Class cls)
handles in class AbstractGenericObjectEditorHandlercls - the class to inspect
public boolean hasCustomPanel(PropertyEditor editor)
hasCustomPanel in class AbstractGenericObjectEditorHandlereditor - the editor to check
public JPanel getCustomPanel(PropertyEditor editor)
getCustomPanel in class AbstractGenericObjectEditorHandlereditor - the editor to obtain the panel from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||