public abstract class IlvFacesSelectInteractorTag extends IlvInteractorTag implements IlvDHTMLConstants
IlvFacesSelectInteractor
component.bodyContent, pageContext, UNIQUE_ID_PREFIX
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvFacesSelectInteractorTag()
Creates a new
IlvFacesSelectInteractorTag instance. |
Modifier and Type | Method and Description |
---|---|
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(javax.faces.component.UIComponent component)
Override properties and attributes of the specified component,
if the corresponding properties of this tag handler instance were
explicitly set.
|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage
getComponentType, getPartialTriggers, getRendererType, getStringArray, setPartialTriggers, setProperty, setVBProperty, testSetProperties
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public IlvFacesSelectInteractorTag()
IlvFacesSelectInteractorTag
instance.protected void setProperties(javax.faces.component.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 IlvInteractorTag
component
- The component whose properties are to be
overridden@Deprecated public String getLineColor()
IlvFacesSelectionManagerTag.getLineColor()
instead.@Deprecated public void setLineColor(String color)
IlvFacesSelectionManagerTag.setLineColor(String)
instead.color
- The color to set.@Deprecated public String getLineWidth()
IlvFacesSelectionManagerTag.getLineWidth()
instead.@Deprecated 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.@Deprecated 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.@Deprecated 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.@Deprecated public String getForceUpdateProperties()
IlvFacesSelectionManagerTag.getForceUpdateProperties()
instead.true
to force a additional request in image mode, false
otherwise.@Deprecated 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.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.