|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BadAttributeException | |
|---|---|
| errors | |
| lib.java | |
| types | |
| Uses of BadAttributeException in errors |
|---|
| Subclasses of BadAttributeException in errors | |
|---|---|
class |
BadAttributeNameException
An unrecognized attribute name. |
class |
BadAttributeValueException
An invalid attribute value. |
| Uses of BadAttributeException in lib.java |
|---|
| Uses of BadAttributeException in types |
|---|
| Methods in types that throw BadAttributeException | ||
|---|---|---|
abstract String |
WidgetDef.addAttributes(GUIAttributes attrs)
The addAttributes code does two things; it creates the lib.java code necessary for the attributes and it type checks for all attributes. |
|
String |
WidgetDef.addChild(String childType,
String childId,
GUIAttributes attrs)
Check to make sure the childType is legal for the widget, then add it. |
|
List<String> |
GUIAttributes.getAll(String attr)
Retrieve all values of an attribute by name, as strings. |
|
boolean |
GUIAttributes.getBoolean(String attr)
Retrieve, as a boolean, the value of an attribute which only allows one value. |
|
List<Boolean> |
GUIAttributes.getBooleans(String attr)
Retrieve all values of an attribute as booleans. |
|
String |
GUIAttributes.getColor(String attr)
Retrieve, as a color identifier, the value of an attribute which only allows one value. |
|
List<String> |
GUIAttributes.getColors(String attr)
Retrieve all values of a color attribute as identifier strings suitable for use in generated code. |
|
double |
GUIAttributes.getDouble(String attr)
Retrieve, as a double, the value of an attribute which only allows one value. |
|
List<Double> |
GUIAttributes.getDoubles(String attr)
Retrieve all values of an attribute as doubles. |
|
|
GUIAttributes.getEnum(String attr,
Class<E> cls)
Retrieve, as an enumeration constant, the value of an attribute which only allows one value. |
|
|
GUIAttributes.getEnums(String attr,
Class<E> cls)
Retrieve all values of an attribute as enumeration constants. |
|
float |
GUIAttributes.getFloat(String attr)
Retrieve, as a double, the value of an attribute which only allows one value. |
|
List<Float> |
GUIAttributes.getFloats(String attr)
Retrieve all values of an attribute as doubles. |
|
int |
GUIAttributes.getInteger(String attr)
Retrieve, as an integer, the value of an attribute which only allows one value. |
|
Pair<Integer,Integer> |
GUIAttributes.getIntegerPair(String attr)
Retrieve, as a pair of integers, the value of an attribute which only allows exactly two values. |
|
List<Integer> |
GUIAttributes.getIntegers(String attr)
Retrieve all values of an attribute as integers. |
|
List<String> |
GUIAttributes.getMany(String attr,
int quantity)
Retrieve all values of an attribute which allows exactly N values, for some N. |
|
String |
GUIAttributes.getOne(String attr)
Retrieve the value of an attribute which only allows one value. |
|
String |
GUIAttributes.getString(String attr)
Retrieve, as a string, the value of an attribute which only allows one value. |
|
List<String> |
GUIAttributes.getStrings(String attr)
Retrieve all values of an attribute as strings. |
|
boolean |
GUIAttributes.hasValue(String attr)
Test to see if an attribute has a value (i.e. |
|
GUIAttributes |
WidgetDef.processAttributes()
Create a GUIAttributes object for a widget. |
|
void |
GUIAttributes.putAllAttributes(Map<String,? extends List<String>> attrs)
|
|
List<String> |
GUIAttributes.putAttribute(String attr,
List<String> values)
Add an attribute, with arbitrarily many values, to this map. |
|
List<String> |
GUIAttributes.putAttribute(String attr,
String... values)
Add an attribute, with arbitrarily many values, to this map. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||