JViews Diagrammer
Tag selectionManager


Not a visual component

The selection manager faces component allows you to configure the selection on the associated view. It is defined as the facet selectionManager of the associated view.

The configuration done via the selection manager faces component is intended for the following interactor faces component:

The settings of the selection manager faces component have no effect on the following interactor faces components:

Usage

<jvdf:selectInteractor
      id="selectInteractor" />
...
<jvdf:diagrammerView
      id="diagrammer"
      interactorId="selectInteractor">
  <f:facet name="selectionManager">
    <jvdf:selectionManager
          lineWidth="2"
          lineColor="white"
          imageMode="false"/>
  </f:facet>
</jvdf:diagrammerView>

DHTML - JavaScript Types

IlvDiagrammerSelectionManagerProxy

JSF Component Class

IlvFacesDiagrammerSelectionManager



Tag Information
Tag Classilog.views.diagrammer.faces.dhtml.taglib.IlvFacesDiagrammerSelectionManagerTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameSelection Manager

Attributes
NameRequiredRequest-timeTypeDescription
infoProviderMethodBindingfalsefalsejava.lang.StringA method binding that respects the signature ArrayList methodName(IlvDiagrammer, Object) or ArrayList methodName(IlvDiagrammer, IlvSDMNode). The returned value of this method is a list of additional properties to be associated with the selected object. A valid item of this list is a String or a list itself.
Since JViews 8.0 this attribute is deprecated, the propertyAccessor attribute must be used instead.
bindingfalsefalsejava.lang.StringThe value binding expression that links this component to a property in a backing bean. If this attribute is set, the tag will not create the component itself, but will retrieve it from the bean property. This attribute must be a value binding.
lineColorfalsefalsejava.lang.StringThe color of selection rectangles lines.
forceUpdatePropertiesfalsefalsejava.lang.StringForces an additional request to be made to query the current selection and additional properties in image mode to enable a client-side selection listener.
idfalsefalsejava.lang.StringThe ID of this component.
imageModefalsefalsejava.lang.StringThe image mode. In image mode, the image is refreshed on each selection. In regular mode, only the selected object(s) bounding box is queried and rectangles 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. By default the manager is in image mode.
lineWidthfalsefalsejava.lang.StringThe width of selection rectangle lines.
onSelectionChangedfalsefalsejava.lang.StringA JavaScript handler called when the selection has changed. The handler can use the predefined variable 'selection', which is the list of current selected items. To use this handler the selectionManager must be in regular mode or the forceUpdateProperties must be set if in image mode. Refer to the user's documentation for further information.
propertyAccessorfalsefalsejava.lang.StringThe reference to the value binding expression to an IlvFacesDiagrammerPropertyAccessor instance that will be used to access model properties of the selected objects.
fillOnfalsefalsejava.lang.Stringtrue to display filled selection rectangles. The fill color is the line color with a transparency of 50%.

Variables
No Variables Defined.


© Copyright Rogue Wave Software Inc. 1997, 2018. All Rights Reserved.