Skip to main content
PREV CLASS NEXT CLASS FRAMES NO FRAMES

 

Class IlvSelection

IlvObject
   |
   +--IlvSelection

Category:
Common component
JavaScript File:
IlvUtil.js
Description:
This class is a base class of IlvSelectionRectangle and IlvSelectionLink.
Since:
JViews 8.7

Constructor Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Returns the ID of the selected object.
 
Returns a copy of the properties of the selected object as an object containing keys and values for each of the property ({propertyName1:"propertyValue1", propertyName2:"propertyValue2"}).
 
getObjectProperty(propertyName)
Returns the value of the property with the given propertyName on the selected object.
 
Returns the names of the properties of the selected object as an array of strings.
 
Returns the tag of the selected object.
 
Returns the type of the selected object.
 
Returns the additional properties of this selection object as an Array.
 
setObjectProperties(properties)
Sets the properties of the selected object as an object.
 
setObjectProperty(properties, propertyValue)
Sets the properties of the selected object as an object.
 
setResizable(resizable)
Make the selection resiable or not.
Methods inherited from class IlvObject
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility
Constructor Detail
IlvSelection
IlvSelection()
Method Detail
getObjectID
getObjectID()
Returns the ID of the selected object.

getObjectProperties
getObjectProperties()
Returns a copy of the properties of the selected object as an object containing keys and values for each of the property ({propertyName1:"propertyValue1", propertyName2:"propertyValue2"}).

getObjectProperty
getObjectProperty(propertyName)
Returns the value of the property with the given propertyName on the selected object.
Parameters:
propertyName - The name of the property.

getObjectPropertyNames
getObjectPropertyNames()
Returns the names of the properties of the selected object as an array of strings.

getObjectTag
getObjectTag()
Returns the tag of the selected object. In Diagrammer this returns the tag of the selected object.

getObjectType
getObjectType()
Returns the type of the selected object. In Diagrammer the possible values are: "node" and "link". In Gantt the possible values are: "activity", "constraint", "reservation" and "resource".

getProperties
getProperties()
Returns the additional properties of this selection object as an Array. The first slot of the array contains the properties of the selected object. In most cases you do not need to use that method and should use accessors that works on selected object properties instead.
See also:
#getObjectProperties
#getObjectPropertyNames
#getObjectProperty

setObjectProperties
setObjectProperties(properties)
Sets the properties of the selected object as an object.
Parameters:
properties - a object containing keys and values for each of the properties to be set ({propertyName1:"propertyValue1", propertyName2:"propertyValue2"}).

setObjectProperty
setObjectProperty(properties, propertyValue)
Sets the properties of the selected object as an object.
Parameters:
properties - a object containing keys and values for each of the properties to be set ({propertyName1:"propertyValue1", propertyName2:"propertyValue2"}).
propertyValue

setResizable
setResizable(resizable)
Make the selection resiable or not.
Parameters:
resizable

©Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.