|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewables.AtomLabelRegistry
A class used to register AtomLabel implementation objects. The names of the AtomLabel objects can be retrieved and used in a GUI menu in order for a user to pick the desired AtomLabel algorithm. The retrieved AtomLabel object may then be handed to a StructureStyle instance in order to assocate one or more Atom representations to a given label scheme.
AtomLabel
,
StructureStyles
Constructor Summary | |
AtomLabelRegistry()
|
Method Summary | |
static void |
add(java.lang.String name,
AtomLabel atomLabel)
Add a new AtomLabel implementation. |
static int |
count()
Return the number of registered AtomLabel impelementations. |
static AtomLabel |
get(java.lang.String name)
Get an AtomLabel implementation by name. |
static AtomLabel |
getDefault()
Get the default AtomLabel implementation. |
static java.lang.String |
getDefaultName()
Return the name of the default AtomLabel impelementation. |
static java.util.Enumeration |
names()
Return an Enumeration of String values for all registered AtomLabel objects. |
static void |
remove(java.lang.String name)
Remove an existing AtomLabel implementation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AtomLabelRegistry()
Method Detail |
public static int count()
public static java.lang.String getDefaultName()
public static void add(java.lang.String name, AtomLabel atomLabel)
public static void remove(java.lang.String name)
public static AtomLabel get(java.lang.String name)
public static AtomLabel getDefault()
public static java.util.Enumeration names()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |