|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
ilog.views.faces.taglib.IlvBaseTag
ilog.views.faces.taglib.IlvMenuTag
public abstract class IlvMenuTag
This abstract class is the base custom tag handler class of styled menu components.
| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
bodyContent |
| Fields inherited from class javax.faces.webapp.UIComponentTag |
|---|
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
IlvMenuTag()
Creates a new IlvMenuTag instance. |
|
| Method Summary | |
|---|---|
String |
getItemDisabledStyleClass()
Returns the CSS class name of a disabled menu item. |
String |
getItemHighlightedStyleClass()
Returns the CSS class name of a highlighted menu item. |
String |
getItemStyleClass()
Returns the CSS class name of a menu item. |
void |
setItemDisabledStyleClass(String itemDisabledStyleClass)
Sets the CSS class name of a disabled menu item. |
void |
setItemHighlightedStyleClass(String itemHighlightedStyleClass)
Sets the CSS class name of a highlighted menu item. |
void |
setItemStyleClass(String itemStyleClass)
Sets the CSS class name of a menu item. |
protected void |
setProperties(UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. |
| Methods inherited from class ilog.views.faces.taglib.IlvBaseTag |
|---|
getComponentType, getRendererType, setProperty, setVBProperty, testSetProperties |
| Methods inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public IlvMenuTag()
IlvMenuTag instance.
| Method Detail |
|---|
protected void setProperties(UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view.
Tag subclasses that want to support additional set properties
must ensure that the base class setProperties()
method is still called. A typical implementation that supports
extra properties foo and bar would look
something like this:
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (foo != null) {
component.setAttribute("foo", foo);
}
if (bar != null) {
component.setAttribute("bar", bar);
}
}
setProperties in class IlvBaseTagcomponent - The component whose properties are to be
overriddenpublic String getItemStyleClass()
public void setItemStyleClass(String itemStyleClass)
itemStyleClass - The itemStyleClass to set.public String getItemHighlightedStyleClass()
public void setItemHighlightedStyleClass(String itemHighlightedStyleClass)
itemHighlightedStyleClass - The itemHighlightedStyleClass to set.public String getItemDisabledStyleClass()
public void setItemDisabledStyleClass(String itemDisabledStyleClass)
itemDisabledStyleClass - The itemDisabledStyleClass to set.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||