|
Decision Center API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectilog.webui.dhtml.IlxWStyleMap
ilog.webui.dhtml.IlxWComponent.DynamicStyleMap
public class IlxWComponent.DynamicStyleMap
Dynamic style map.
This map contains the styles added at runtime through the
IlxWComponent.getStyle() API.
Dynamic styles always override styles that may have been defined
by a cascading style sheet.
| Constructor Summary | |
|---|---|
IlxWComponent.DynamicStyleMap()
|
|
| Method Summary | |
|---|---|
String |
get(String name)
Gets the value for the given style name. |
Iterator |
names()
Gets the names of all the styles defined in this map. |
void |
set(String name,
boolean value)
Convenient method for setting a boolean style. |
void |
set(String name,
Color value)
Convenient method for setting a color style. |
void |
set(String name,
int value)
Convenient method for setting an integer style. |
void |
set(String name,
String value)
Sets the given style with the given value. |
| Methods inherited from class ilog.webui.dhtml.IlxWStyleMap |
|---|
getBoolean, getColor, getInteger, getString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlxWComponent.DynamicStyleMap()
| Method Detail |
|---|
public String get(String name)
IlxWStyleMap
get in class IlxWStyleMapname - a non null string.
null.public void set(String name,
String value)
IllegalArgumentException - If the value is
null.name - The style name.value - The style value. Must not be null.public void set(String name,
boolean value)
The value is converted into a string and calls
setValue(String, String).
set(java.lang.String,java.lang.String)public void set(String name,
Color value)
The value is converted into a string and calls
setValue(String, String).
set(java.lang.String,java.lang.String)public void set(String name,
int value)
The value is converted into a string and calls
setValue(String, String).
set(java.lang.String,java.lang.String)public Iterator names()
IlxWStyleMap
names in class IlxWStyleMap
|
Decision Center API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||