Class cern.lhcias.csgui.Services.componentsType
java.lang.Object
|
+----cern.lhcias.csgui.Services.componentsType
- public class componentsType
- extends Object
This class is a TagsView component loader. Given the name of the component, it will
automatically create an instance of the TagsView. So all the rest of the interface doesn't
need to know about the existing TagsViews.
componentsType()
-
get_component(String)
- Find the correct TagsView for a given type, create an instance of this TagsView and
returns it.
getPossibleTypes()
- Returns all the possible TagsView types as a Vector of Strings
isValidType(String)
- Checks wether a given type exists as a TagsView.
loadAlias(String)
- Load the list of aliases for TagsView names
setup()
- need to be called once at the setup of the system

componentsType
public componentsType()

setup
public static void setup()
- need to be called once at the setup of the system

loadAlias
public static void loadAlias(String aliasAddress)
- Load the list of aliases for TagsView names

getPossibleTypes
public static Vector getPossibleTypes()
- Returns all the possible TagsView types as a Vector of Strings

isValidType
public static boolean isValidType(String type)
- Checks wether a given type exists as a TagsView. Returns true if type exists.
- Parameters:
- type - the type to check

get_component
public static TagsView get_component(String type)
- Find the correct TagsView for a given type, create an instance of this TagsView and
returns it. In case of error, a null is returned. If an alias list has been loaded it is
used to access the correct component. In case the type of the TagsView is unknown, we try
to locate a class which name is the type of the TagsView.
- Parameters:
- type - the type of the TagsView