|
||||||||||
| 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.IlvInteractorTag
ilog.views.faces.dhtml.taglib.IlvFacesSelectInteractorTag
public abstract class IlvFacesSelectInteractorTag
This class defines a base JSP custom tag handler for a IlvFacesSelectInteractor component.
| 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 | |
|---|---|
IlvFacesSelectInteractorTag()
Creates a new IlvFacesSelectInteractorTag instance. |
|
| Method Summary | |
|---|---|
String |
getForceUpdateProperties()
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.getForceUpdateProperties() instead. |
String |
getImageMode()
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.getImageMode() instead. |
String |
getLineColor()
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.getLineColor() instead. |
String |
getLineWidth()
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.getLineWidth() instead. |
String |
getMoveAllowed()
Returns whether allow or forbid to move selection. |
String |
getOnSelectionChanged()
Returns a JavaScript handler called when the selection has changed. |
void |
setForceUpdateProperties(String forceUpdateProperties)
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.setForceUpdateProperties(String) instead. |
void |
setImageMode(String imageMode)
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.setImageMode(String) instead. |
void |
setLineColor(String color)
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.setLineColor(String) instead. |
void |
setLineWidth(String lineWidth)
Deprecated. Beginning with JViews 8.0 use IlvFacesSelectionManagerTag.setLineWidth(String) instead. |
void |
setMoveAllowed(String moveAllowed)
Sets whether allow or forbid to move selection. |
void |
setOnSelectionChanged(String onSelectionChanged)
Returns a JavaScript handler called when the selection has changed. |
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.IlvInteractorTag |
|---|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage |
| 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 IlvFacesSelectInteractorTag()
IlvFacesSelectInteractorTag 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 IlvInteractorTagcomponent - The component whose properties are to be
overriddenpublic String getLineColor()
IlvFacesSelectionManagerTag.getLineColor() instead.
public void setLineColor(String color)
IlvFacesSelectionManagerTag.setLineColor(String) instead.
color - The color to set.public String getLineWidth()
IlvFacesSelectionManagerTag.getLineWidth() instead.
public void setLineWidth(String lineWidth)
IlvFacesSelectionManagerTag.setLineWidth(String) instead.
lineWidth - The lineWidth to set.public String getMoveAllowed()
public void setMoveAllowed(String moveAllowed)
moveAllowed - The moveAllowed to set.public String getImageMode()
IlvFacesSelectionManagerTag.getImageMode() instead.
In image mode the image is refreshed on each selection.
In regular mode, only the selected object(s) bounding box is queried and rectangle are dynamically displayed on top of the view.
Note that the client-side listeners on selection and additional information on selected objects are available in image mode if and only if the forceUpdateProperties property is set to true. In regular mode no special configuration is needed.
true is the image mode is set, false otherwise.public void setImageMode(String imageMode)
IlvFacesSelectionManagerTag.setImageMode(String) instead.
In image mode the image is refreshed on each selection.
In regular mode, only the selected object(s) bounding box is queried and rectangle are dynamically displayed on top of the view.
Note that the client-side listeners on selection and additional information on selected objects are available in image mode if and only if the forceUpdateProperties property is set to true. In regular mode no special configuration is needed.
imageMode - true is the image mode is set, false otherwise.public String getForceUpdateProperties()
IlvFacesSelectionManagerTag.getForceUpdateProperties() instead.
true to force a additional request in image mode, false otherwise.
public void setForceUpdateProperties(String forceUpdateProperties)
IlvFacesSelectionManagerTag.setForceUpdateProperties(String) instead.
forceUpdateProperties - true to force a additional request in image mode, false otherwise.public String getOnSelectionChanged()
The handler must be a function with one parameter which is the selection list.
To use this handler the interactor must be in regular mode or the forceUpdateProperties
must be set if the interactor is in image mode. See the user manual for further information.
public void setOnSelectionChanged(String onSelectionChanged)
The handler must be a function with one parameter which is the selection list.
To use this handler the interactor must be in regular mode or the forceUpdateProperties
must be set if the interactor is in image mode. See the user manual for further information.
onSelectionChanged - The JavaScript handler on a new selection.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||