|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.appframework.types.prefs.MetaPrefSet
public class MetaPrefSet
Groupings of MetaPrefs, by category. Categories are also ordered in a separate ArrayList. Contains functions related to adding MetaPrefs to the grouping, getting MetaPrefs, getting the categories, etc.
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, NORMAL, UTF16, UTF16_LE, UTF8 |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
MetaPrefSet()
|
|
| Method Summary | |
|---|---|
boolean |
add(MetaPref metaPref)
Register the MetaPref in the static global map, as well as adding it to the super ArrayListState. |
java.util.Set<java.lang.String> |
getCategories()
Get the category names in a Set of Strings. |
int |
getHeight()
|
java.util.ArrayList<MetaPref> |
getMetaPrefListByCategory(java.lang.String cat)
Get the MetaPref ArrayList for a category name. |
int |
getNumberOfTabs()
Return the number of categories. |
java.lang.String[] |
getOrderedTabNames(java.lang.String[] tabList)
Return the ordered list of categories. |
java.lang.String |
getTitle()
|
int |
getWidth()
|
static MetaPrefSet |
load(java.io.File file,
TranslationScope translationSpace)
Read MetaPref declarations from a file or across the net. |
static MetaPrefSet |
load(ParsedURL purl,
TranslationScope translationSpace)
Read MetaPref declarations from a file or across the net. |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetaPrefSet()
| Method Detail |
|---|
public java.lang.String[] getOrderedTabNames(java.lang.String[] tabList)
tabList - String Array that will hold category names.
public int getNumberOfTabs()
public java.util.Set<java.lang.String> getCategories()
public java.util.ArrayList<MetaPref> getMetaPrefListByCategory(java.lang.String cat)
cat - Name of category
public boolean add(MetaPref metaPref)
metaPref -
public static MetaPrefSet load(java.io.File file,
TranslationScope translationSpace)
throws XMLTranslationException
file - translationSpace -
XMLTranslationException
public static MetaPrefSet load(ParsedURL purl,
TranslationScope translationSpace)
throws XMLTranslationException
purl - translationSpace -
XMLTranslationExceptionpublic int getHeight()
public java.lang.String getTitle()
public int getWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||