|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--org.omegahat.Environment.Utils.TrimmedProperties
|
+--org.omegahat.Graphics.Utils.ColorTable
Table of named Java AWT colors, usually read from a properties file and resolved on demand.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class org.omegahat.Environment.Utils.TrimmedProperties |
booleanStrings, stripQuotes |
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
ColorTable()
|
|
ColorTable(java.lang.Class c)
|
|
ColorTable(java.io.File file)
|
|
ColorTable(java.io.InputStream stream)
|
|
| Method Summary | |
java.awt.Color |
getColor(java.lang.Class c)
|
java.awt.Color |
getColor(java.lang.Class c,
boolean recursive)
|
ColorParserInt |
parser()
|
java.lang.String |
shortClassName(java.lang.Class c)
|
java.lang.String |
shortClassName(java.lang.String str)
|
| Methods inherited from class org.omegahat.Environment.Utils.TrimmedProperties |
asBoolean, isBoolean, load, load, merge, merge, parse, processElement, processElements, stringList, stringList, stripQuotes, stripQuotes, trim |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ColorTable()
public ColorTable(java.io.InputStream stream)
public ColorTable(java.io.File file)
public ColorTable(java.lang.Class c)
| Method Detail |
public java.awt.Color getColor(java.lang.Class c)
public java.awt.Color getColor(java.lang.Class c,
boolean recursive)
public java.lang.String shortClassName(java.lang.Class c)
public java.lang.String shortClassName(java.lang.String str)
public ColorParserInt parser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||