|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
ilog.views.faces.taglib.IlvBaseTag
ilog.views.faces.dhtml.taglib.IlvFacesSelectionManagerTag
ilog.views.diagrammer.faces.dhtml.taglib.IlvFacesDiagrammerSelectionManagerTag
public class IlvFacesDiagrammerSelectionManagerTag
This class defines the JSP custom tag handler for the
IlvFacesDiagrammerSelectionManager
component and its specific DHTML renderer.
| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase |
|---|
bodyContent, pageContext, UNIQUE_ID_PREFIX |
| Fields inherited from class javax.faces.webapp.UIComponentTagBase |
|---|
log |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| 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 |
| Constructor Summary | |
|---|---|
IlvFacesDiagrammerSelectionManagerTag()
Creates a new IlvFacesDiagrammerSelectionManagerTag instance. |
|
| Method Summary | |
|---|---|
String |
getComponentType()
Returns the component type for the component that is or will be bound to this tag. |
String |
getInfoProviderMethodBinding()
Deprecated. Beginning with JViews 8.0 it is recommended to go through getPropertyAccessor() instead. |
String |
getPropertyAccessor()
Returns the reference to the value binding expression to an IlvFacesDiagrammerPropertyAccessor
instance that will be used to access model properties of the selected objects. |
String |
getRendererType()
Return the |
void |
setInfoProviderMethodBinding(String infoProviderMethodBinding)
Deprecated. Beginning with JViews 8.0 it is recommended to go through setPropertyAccessor(String) instead. |
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);
}
}
|
void |
setPropertyAccessor(String propertyAccessor)
Sets the reference to the value binding expression to an IlvFacesDiagrammerPropertyAccessor
instance that will be used to access model properties of the selected objects. |
| Methods inherited from class ilog.views.faces.dhtml.taglib.IlvFacesSelectionManagerTag |
|---|
getFillOn, getForceUpdateProperties, getImageMode, getLineColor, getLineWidth, getOnSelectionChanged, isFillOn, setFillOn, setForceUpdateProperties, setImageMode, setLineColor, setLineWidth, setOnSelectionChanged |
| Methods inherited from class ilog.views.faces.taglib.IlvBaseTag |
|---|
setProperty, setVBProperty, testSetProperties |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered |
| Methods inherited from class javax.faces.webapp.UIComponentTagBase |
|---|
getELContext |
| 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 IlvFacesDiagrammerSelectionManagerTag()
IlvFacesDiagrammerSelectionManagerTag instance.
| Method Detail |
|---|
public String getComponentType()
Returns the component type for the component that is or will be bound to this tag.
This implementation returns null, subclasses must
override this method to return the appropriate value.
getComponentType in class IlvBaseTagpublic String getRendererType()
Return the rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly.
This implementation return null, subclasses must override
this method to return the appropriate value.
getRendererType in class IlvBaseTagprotected 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 IlvFacesSelectionManagerTagcomponent - The component whose properties are to be
overriddenpublic String getInfoProviderMethodBinding()
getPropertyAccessor() instead.
public void setInfoProviderMethodBinding(String infoProviderMethodBinding)
setPropertyAccessor(String) instead.
infoProviderMethodBinding - The binding to the method that will provide the additional information on the selected objects.public String getPropertyAccessor()
IlvFacesDiagrammerPropertyAccessor
instance that will be used to access model properties of the selected objects.
public void setPropertyAccessor(String propertyAccessor)
IlvFacesDiagrammerPropertyAccessor
instance that will be used to access model properties of the selected objects.
propertyAccessor - The reference to the value binding expression.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||