|
||||||||||
| 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
ilog.views.faces.taglib.IlvContextualMenuTag
public abstract class IlvContextualMenuTag
This class defines the JSP custom tag handler for the IlvFacesContextualPopupMenu component and its DHTML renderer.
| 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 | |
|---|---|
IlvContextualMenuTag()
Creates a new IlvContextualMenuTag instance. |
|
| Method Summary | |
|---|---|
protected void |
configureObjectFinder(IlvObjectSelectedFinder finder)
Configures the default object finder instance. |
String |
getFactory()
Returns the factory that will dynamically generate the popup menu depending on the graphic object clicked. |
String |
getFactoryClass()
Returns the popup menu factory class name. |
String |
getObjectSelectedFinder()
Returns the IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor. |
void |
setFactory(String factory)
Sets the factory that will dynamically generate the popup menu depending on the graphic object clicked. |
void |
setFactoryClass(String factoryClass)
Sets the popup menu factory class name. |
void |
setObjectSelectedFinder(String objectFinder)
Sets the IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor. |
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
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (foo != null) {
component.setAttribute("foo", foo);
}
if (bar != null) {
component.setAttribute("bar", bar);
}
}
|
| Methods inherited from class ilog.views.faces.taglib.IlvMenuTag |
|---|
getItemDisabledStyleClass, getItemHighlightedStyleClass, getItemStyleClass, setItemDisabledStyleClass, setItemHighlightedStyleClass, setItemStyleClass |
| 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 IlvContextualMenuTag()
IlvContextualMenuTag 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 IlvMenuTagcomponent - The component whose properties are to be
overriddenprotected void configureObjectFinder(IlvObjectSelectedFinder finder)
finder - The object finderpublic String getFactory()
public void setFactory(String factory)
factory - The factory to set.public String getFactoryClass()
factory property is not set.
public void setFactoryClass(String factoryClass)
factory property is not set.
factoryClass - The factoryClass to set.public String getObjectSelectedFinder()
IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor.
public void setObjectSelectedFinder(String objectFinder)
IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||