Skip navigation links
A C F G H I J M O S T W 

A

AbstractConverter - Class in weka.core.code
Ancestor for converters.
AbstractConverter() - Constructor for class weka.core.code.AbstractConverter
 

C

classFromCommand(String) - Static method in class weka.core.code.CodeHelper
Extracts the class from the command.
classnameFromCommand(String) - Static method in class weka.core.code.CodeHelper
Extracts the classname from the command.
CodeHelper - Class in weka.core.code
Helper class for code related operations.
CodeHelper() - Constructor for class weka.core.code.CodeHelper
 
CommandToCode - Class in weka.gui
Adds menu item to GUIChooser for converting command lines into code.
CommandToCode() - Constructor for class weka.gui.CommandToCode
 
CommandToCodePanel - Class in weka.gui
The user interface for converting command-lines to code snippets.
CommandToCodePanel() - Constructor for class weka.gui.CommandToCodePanel
Configures the panel.
CommandToCodePanel.TransferableString - Class in weka.gui
A container for strings.
compareTo(Converter) - Method in class weka.core.code.AbstractConverter
Just uses the name to compare the conversion schemes.
convert(String) - Method in interface weka.core.code.Converter
Converts the command.
convert(String) - Method in class weka.core.code.Instantiation
Converts the command.
convert(String) - Method in class weka.core.code.JavaString
Converts the command.
convert(String) - Method in class weka.core.code.StringArray
Converts the command.
convert(String) - Method in class weka.core.code.TestClass
Converts the command.
Converter - Interface in weka.core.code
 

F

fillFrame(Component) - Method in class weka.gui.CommandToCode
Fills the frame with life, like adding components, window listeners, setting size, location, etc.

G

getActionListener(JFrame) - Method in class weka.gui.CommandToCode
If the extension has a custom ActionListener for the menu item, then it must be returned here.
getConverters() - Static method in class weka.core.code.AbstractConverter
Returns all conversion schemes.
getData() - Method in class weka.gui.CommandToCodePanel.TransferableString
Returns the underlying data string.
getMenuTitle() - Method in class weka.gui.CommandToCode
Returns the name of the menu item.
getName() - Method in interface weka.core.code.Converter
Returns the name of the conversion scheme.
getName() - Method in class weka.core.code.Instantiation
Returns the name of the conversion scheme.
getName() - Method in class weka.core.code.InstantiationWithTryCatch
Returns the name of the conversion scheme.
getName() - Method in class weka.core.code.JavaString
Returns the name of the conversion scheme.
getName() - Method in class weka.core.code.StringArray
Returns the name of the conversion scheme.
getName() - Method in class weka.core.code.TestClass
Returns the name of the conversion scheme.
getSubmenuTitle() - Method in class weka.gui.CommandToCode
Returns the name of the submenu.
getTransferData(DataFlavor) - Method in class weka.gui.CommandToCodePanel.TransferableString
Returns an object which represents the data to be transferred.
getTransferDataFlavors() - Method in class weka.gui.CommandToCodePanel.TransferableString
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.

H

handles(String) - Method in interface weka.core.code.Converter
Checks whether the command can be handled.
handles(String) - Method in class weka.core.code.Instantiation
Checks whether the command can be handled.
handles(String) - Method in class weka.core.code.JavaString
Checks whether the command can be handled.
handles(String) - Method in class weka.core.code.StringArray
Checks whether the command can be handled.
handles(String) - Method in class weka.core.code.TestClass
Checks whether the command can be handled.

I

Instantiation - Class in weka.core.code
Instantiates the object and sets its options.
Instantiation() - Constructor for class weka.core.code.Instantiation
 
InstantiationWithTryCatch - Class in weka.core.code
Instantiates the object and sets its options inside a try-catch block.
InstantiationWithTryCatch() - Constructor for class weka.core.code.InstantiationWithTryCatch
 
isDataFlavorSupported(DataFlavor) - Method in class weka.gui.CommandToCodePanel.TransferableString
Returns whether or not the specified data flavor is supported for this object.
isOptionHandler(String) - Static method in class weka.core.code.CodeHelper
Returns the whether class in the commandline implements OptionHandler.

J

JavaString - Class in weka.core.code
Turns the command into a Java string, correctly quoted.
JavaString() - Constructor for class weka.core.code.JavaString
 

M

main(String[]) - Static method in class weka.gui.CommandToCodePanel
Just for testing.

O

optionsFromCommand(String) - Static method in class weka.core.code.CodeHelper
Extracts the options from the command.
optionsStringFromCommand(String) - Static method in class weka.core.code.CodeHelper
Extracts the options from the command as single string.

S

StringArray - Class in weka.core.code
Turns the command into a String array.
StringArray() - Constructor for class weka.core.code.StringArray
 

T

TestClass - Class in weka.core.code
Creates a test class for the command instantiation.
TestClass() - Constructor for class weka.core.code.TestClass
 
toString() - Method in class weka.core.code.AbstractConverter
Returns the name of the converter.
toString() - Method in class weka.gui.CommandToCodePanel.TransferableString
Returns the underlying data string.
TransferableString(String) - Constructor for class weka.gui.CommandToCodePanel.TransferableString
Initializes the container.

W

weka.core.code - package weka.core.code
 
weka.gui - package weka.gui
 
A C F G H I J M O S T W 
Skip navigation links

Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.