|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTreeHtmlAttributeInfo
public class TreeHtmlAttributeInfo
This structure is used to track the use of HTML attributes within a tree item.
Field Summary | |
---|---|
static int |
HTML_LOCATION_CNT
|
static int |
HTML_LOCATION_DIV
|
static int |
HTML_LOCATION_ICON
|
static int |
HTML_LOCATION_SELECTION_LINK
|
Constructor Summary | |
---|---|
TreeHtmlAttributeInfo()
Default constructor for creating a TreeHtmlAttributeInfo. |
|
TreeHtmlAttributeInfo(String attribute,
String value)
Construct a new TreeHtmlAttributeInfo with the specified parameters. |
Method Summary | |
---|---|
String |
getAttribute()
Return the name of the attribute. |
TreeElement |
getParent()
Return the parent node of the HtmlAttributeInfo item. |
String |
getValue()
Return the value of the attribute. |
boolean |
isApplyToDescendents()
Gets whether the attribute is applied to descendants of the node. |
boolean |
isOnDiv()
Gets whether the HTML attribute is on the <div> tag of the node. |
boolean |
isOnIcon()
Gets whether the HTML attribute is on the <img> tag for the icon of the node. |
boolean |
isOnSelectionLink()
Gets whether the HTML attribute is on the selection link of the node. |
void |
setApplyToDescendents(boolean applyToDescendents)
Sets whether the attribute is applied to descendant nodes of the parent node. |
void |
setAttribute(String attribute)
Set the name of the attribute. |
void |
setOnDiv(boolean onDiv)
Sets whether the HTML attribute is on the node item's <div> tag. |
void |
setOnIcon(boolean onIcon)
Sets whether the HTML attribute is on the node item's <img> tag for the icon. |
void |
setOnSelectionLink(boolean onSelectionLink)
Sets whether the HTML attribute is on the node item's selection. |
void |
setParent(TreeElement parent)
Set the parent of the HtmlAttributeInfo item. |
void |
setValue(String value)
Set the HTML attribute value. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HTML_LOCATION_DIV
public static final int HTML_LOCATION_ICON
public static final int HTML_LOCATION_SELECTION_LINK
public static final int HTML_LOCATION_CNT
Constructor Detail |
---|
public TreeHtmlAttributeInfo()
public TreeHtmlAttributeInfo(String attribute, String value)
attribute
- the name of the attribute.value
- sets HTML attribute value.Method Detail |
---|
public String getAttribute()
public void setAttribute(String attribute)
attribute
- the name of the attribute.public String getValue()
public void setValue(String value)
value
- the value of the HTML attribute.public TreeElement getParent()
public void setParent(TreeElement parent)
parent
- the TreeElement parent.public boolean isApplyToDescendents()
public void setApplyToDescendents(boolean applyToDescendents)
applyToDescendents
- public boolean isOnDiv()
public void setOnDiv(boolean onDiv)
onDiv
- whether the attribute is on the <div> tag of the node.public boolean isOnIcon()
public void setOnIcon(boolean onIcon)
onIcon
- whether the attribute is on the <img> tag of the node.public boolean isOnSelectionLink()
public void setOnSelectionLink(boolean onSelectionLink)
onSelectionLink
- whether the attribute is on the selection link of the node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |