Package | Description |
---|---|
core | |
graphics | |
main |
Modifier and Type | Method and Description |
---|---|
ComponentType |
ComponentXMLData.getComponentType()
Returns the type of this component.
|
static ComponentType |
ComponentType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
ComponentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ComponentXMLData(ComponentType ctype,
java.io.File xmlfile)
Constructor of this class.
|
ProblemXMLData(ComponentType ctype,
java.io.File xmlfile)
Constructor of this problem class.
|
Constructor and Description |
---|
ComponentBrowser(ComponentType componenttype) |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<FrevoMain.KeywordCategory> |
FrevoMain.getCategories(ComponentType ctype)
Returns the corresponding category of keywords to the given component
type.
|
static ComponentXMLData |
FrevoMain.getComponent(ComponentType ctype,
java.lang.String componentName)
Returns the data of the component with the given name or
null if not found. |
static java.lang.String |
FrevoMain.getComponentDirectory(ComponentType componentType)
Returns the absolute path to the base component directory ending
with a file separator
|
static java.util.HashMap<java.lang.String,ComponentXMLData> |
FrevoMain.getComponentList(ComponentType componentType)
Returns a list of components of the given type.
|
static java.lang.String |
FrevoMain.getComponentTypeAsString(ComponentType ctype)
Returns a human readable name of the given component type.
|
static ComponentXMLData |
FrevoMain.getSelectedComponent(ComponentType ctype)
Returns the selected component of the given type.
|
static ComponentXMLData |
FrevoMain.readIComponentFromXml(java.io.File file,
ComponentType ctype,
boolean validateXML)
Loads the class with all properties and requirements stored in the
appropriate XML file.
|
static void |
FrevoMain.setSelectedComponent(ComponentType ctype,
ComponentXMLData cdata)
Selects the given component of the given type.
|