jcolibri.method.gui.editors
Interface ParameterEditor

All Known Implementing Classes:
BooleanEditor, DateEditor, DoubleEditor, EnumEditor, FileEditor, InstanceEditor, IntegerEditor, StringEditor, TextEditor

public interface ParameterEditor

Interface for the parameter Editors used by the methods that obtain the query graphically.

Version:
1.0
Author:
Juan A. Recio-Garcia

Method Summary
 java.lang.Object getEditorValue()
          Gets the Editor value
 javax.swing.JComponent getJComponent()
          Gets the Editor as a JComponent to be added to the panel
 void setAllowedValues(java.util.Collection<java.lang.Object> allowedValues)
          Sets the allowed values for the editor
 void setEditorValue(java.lang.Object value)
          Sets the default value of the editor
 

Method Detail

getEditorValue

java.lang.Object getEditorValue()
Gets the Editor value


getJComponent

javax.swing.JComponent getJComponent()
Gets the Editor as a JComponent to be added to the panel


setEditorValue

void setEditorValue(java.lang.Object value)
Sets the default value of the editor


setAllowedValues

void setAllowedValues(java.util.Collection<java.lang.Object> allowedValues)
Sets the allowed values for the editor


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es