MOA 12.03
Real Time Analytics for Data Streams
moa.options.ClassOption Class Reference

Class option. More...

Inheritance diagram for moa.options.ClassOption:
Collaboration diagram for moa.options.ClassOption:

List of all members.

Public Member Functions

 ClassOption (String name, char cliChar, String purpose, Class<?> requiredType, String defaultCLIString)
 ClassOption (String name, char cliChar, String purpose, Class<?> requiredType, String defaultCLIString, String nullString)
String getValueAsCLIString ()
 Gets the value of a Command Line Interface text as a string.
void setValueViaCLIString (String s)
 Sets value of this option via the Command Line Interface text.
JComponent getEditComponent ()
 Gets the GUI component to edit.

Static Public Member Functions

static String objectToCLIString (Object obj, Class<?> requiredType)
static Object cliStringToObject (String cliString, Class<?> requiredType, Option[] externalOptions) throws Exception

Detailed Description

Class option.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 35 of file ClassOption.java.


Constructor & Destructor Documentation

moa.options.ClassOption.ClassOption ( String  name,
char  cliChar,
String  purpose,
Class<?>  requiredType,
String  defaultCLIString 
)

Definition at line 39 of file ClassOption.java.

moa.options.ClassOption.ClassOption ( String  name,
char  cliChar,
String  purpose,
Class<?>  requiredType,
String  defaultCLIString,
String  nullString 
)

Definition at line 44 of file ClassOption.java.


Member Function Documentation

static Object moa.options.ClassOption.cliStringToObject ( String  cliString,
Class<?>  requiredType,
Option[]  externalOptions 
) throws Exception [static]
JComponent moa.options.ClassOption.getEditComponent ( ) [virtual]

Gets the GUI component to edit.

Returns:
the component to edit

Implements moa.options.AbstractClassOption.

Definition at line 172 of file ClassOption.java.

Referenced by moa.gui.clustertab.ClusteringAlgoPanel.renderAlgoPanel().

Here is the caller graph for this function:

static String moa.options.ClassOption.objectToCLIString ( Object  obj,
Class<?>  requiredType 
) [static]

Definition at line 72 of file ClassOption.java.

Referenced by moa.gui.ClassOptionSelectionPanel.getChosenObjectCLIString(), and moa.options.ClassOption.getValueAsCLIString().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.ClassOption.setValueViaCLIString ( String  s) [virtual]

Sets value of this option via the Command Line Interface text.

Parameters:
sthe Command Line Interface text

Implements moa.options.AbstractClassOption.

Definition at line 58 of file ClassOption.java.

Referenced by moa.gui.clustertab.ClusteringAlgoPanel.actionPerformed(), moa.gui.ClassOptionEditComponent.applyState(), moa.gui.clustertab.ClusteringAlgoPanel.setAlgorithm0ValueAsCLIString(), moa.gui.clustertab.ClusteringAlgoPanel.setAlgorithm1ValueAsCLIString(), and moa.gui.clustertab.ClusteringAlgoPanel.setStreamValueAsCLIString().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations