|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.wlw.netui.tags.rendering.AbstractTagState
com.bea.wlw.netui.tags.rendering.AbstractAttributeState
com.bea.wlw.netui.tags.rendering.AbstractHtmlState
public class AbstractHtmlState
This class extends the AbstractAttributeState to add support for HTML.
This class add support for the id, style, and class
attributes. In addition, there is a Map that supports the JavaScript
event attributes.
| Field Summary | |
|---|---|
static int |
ATTR_JAVASCRIPT
Define the Attribute Map for the JavaScript event handler attributes. |
String |
id
The HTML id attribute. |
String |
style
The HTML style attribute. |
String |
styleClass
The HTML class attribute. |
| Fields inherited from class com.bea.wlw.netui.tags.rendering.AbstractAttributeState |
|---|
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, EMPTY_STRING |
| Constructor Summary | |
|---|---|
AbstractHtmlState()
|
|
| Method Summary | |
|---|---|
void |
clear()
Initialize the state. |
HashMap |
getEventMap()
Return the Map Containing the JavaScript entries. |
Map |
selectMap(int type,
boolean createIfNull)
This method will return the map that represents the passed in type. |
| Methods inherited from class com.bea.wlw.netui.tags.rendering.AbstractAttributeState |
|---|
getAttribute, getExpressionAttributeMap, getGeneralAttributeMap, registerAttribute, registerAttribute, removeAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ATTR_JAVASCRIPT
public String id
id attribute.
public String style
style attribute.
public String styleClass
class attribute.
| Constructor Detail |
|---|
public AbstractHtmlState()
| Method Detail |
|---|
public HashMap getEventMap()
Map of the JavaScript attributes.public void clear()
clear in class AbstractAttributeState
public Map selectMap(int type,
boolean createIfNull)
type. The boolean flag
createIfNull indicates that the map should be created or not if it's null. This
class defines two maps defined by @see #ATTR_STYLE and ATTR_JAVASCRIPT
selectMap in class AbstractAttributeStatetype - integer type indentifying the map to be created.createIfNull - boolean flag indicating if the map should be created if it doesn't exist.
ATTR_JAVASCRIPT
|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||