Skip to main content
PREV CLASS NEXT CLASS FRAMES NO FRAMES

 

Class IlvSelectionLink

IlvObject
   |
   +--IlvSelectionLink

Category:
Common component
JavaScript File:
IlvSelectionLink.js
Description:
A selection link is designed to show the selected line for Diagrammer, Gantt etc.
Since:
JViews 8.7

Constructor Summary
Constructor Attributes Constructor Name and Description
 
IlvSelectionLink(parent, points, thick, color)
Method Summary
Method Attributes Method Name and Description
 
draw(showHandles)
Draws the given selected link.
 
remove()
Releases the selected link.
 
setOffsets(vBBox)
Sets the offset of the attached view.
 
Sets the scroll position of this IlvSelectionLink.
Methods inherited from class IlvObject
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility
Constructor Detail
IlvSelectionLink
IlvSelectionLink(parent, points, thick, color)
Parameters:
parent - The parent DOM element.
points - The points of the selected link.
thick - The thickness of the selection link.
color - The color of the selection link.
Method Detail
draw
draw(showHandles)
Draws the given selected link.
Parameters:
showHandles - true shows the handles, otherwise not draw handles.

remove
remove()
Releases the selected link.

setOffsets
setOffsets(vBBox)
Sets the offset of the attached view.
Parameters:
vBBox - the bbox of the view.

setScrollPosition
setScrollPosition(x, Y)
Sets the scroll position of this IlvSelectionLink.
Parameters:
x - The scroll position along the x-axis, relative to the top of the panel.
Y - The scroll position along the y-axis, relative to the left side of the panel.

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