Release Notes > JTGO 4.0 Release Notes > API Changes > New Methods |
New Methods |
PREVIOUS NEXT |
New methods have been added in the following categories:
IlpObject getParent(IlpObject)
in IlpDefaultDataSource
: Returns the parent object for the given child object. This method returns the parent instance, if there is one and if it is already part of this data source.
Collection getChildren(IlpObject)
in IlpDefaultDataSource
: Returns the collection of child objects for the given argument. This method returns the collection of child IlpObjects
, if there are child objects and if they are present in this data source.
Collection getLinks(IlpObject)
in IlpDefaultDataSource
: Returns the collection of links which have the given node as end point. This method returns the collection of child IlpObjects
, if there are links and if they are present in this data source.
IlpObject getFrom(IlpObject)
in IlpDefaultDataSource
: Returns the from
end point for the given link object. This method returns the end point, if there is one and if it is present in this data source.
IlpObject getTo(IlpObject)
in IlpDefaultDataSource
: Returns the to
end point for the given link object. This method returns the end point, if there is one and if it is present in this data source.
addDataSourceManagerListener
and removeDataSourceManagerListener
in the interface IlpMutableDataSourceManager
. These methods respectively register and unregister a DataSourceManagerListener
that receives notifications when a data source is added or removed from an IlpMutableDataSourceManager
. The new interface DataSourceManagerListener
and the new class DataSourceManagerEvent
support this feature.
void startBatch()
and void
endBatch()
: Improve performance by calling startBatch
prior to, and endBatch
after modifying the data source and/or business objects. Replaces the start/endChangingXXXModel
in the network and equipment components.
void parse(InputSource, Filter)
and void parse(String, IlpFilter)
: Read a file content into the data source and apply the filter defined as argument. Objects are only added, updated or removed if they are accepted by the given filter.
void output(Writer, IlpFilter)
and void output(String, IlpFilter)
: Write the contents of the data source to the given output and apply the filter defined as parameter. Objects are only added to the output if they are accepted by the given filter.
void parse(IlpFilter)
: Reads an XML document containing business objects and adds them to the data source by applying the filter given as parameter. Objects are only added, updated or removed if they are accepted by the given filter.
void outputDataSource(IlpFilter)
: Writes the contents of the data source to the current output and applies the filter given as parameter. Objects are only added to the output if they are accepted by the given filter.
void outputHierarchy(IlpObject, IlpFilter)
: Writes the business object hierarchy given as root object by applying the filter given as parameter. Objects are only added to the output if they are accepted by the given filter.
batchStarted(DataSourceEvent)
and batchEnded(DataSourceEvent)
: Called respectively when a batch is started or ended.
hasOldValue()
, getOldValue()
and getNewValue()
have been added to ilog.cpl.datasource.DataSourceObjectEvent
and ilog.cpl.model.AttributeValueEvent
. These methods allow you to retrieve the old and new values of the attribute. Please note that the old value is unavailable during the notification of the first change of a computed attribute.
AttributeValueEvent(IlpAttributeValueHolder source, IlpAttribute attribute, Object oldValue)
, DataSourceObjectEvent(IlpDataSource dataSource, IlpObject object, IlpAttribute attribute, Object oldValue)
should be used when the oldValue
is available.
ilog.cpl.datasource.IlpAbstractDataSource.fireObjectAttributeChanged(IlpObject object, IlpAttribute attribute, Object oldValue)
notifies listeners of an attribute value change, specifying the old value of the attribute.
isHandlingAlarmReference
and the corresponding accessors on IltDefaultDataSource
: Specifies whether the data source should handle the association between IltAlarm
and IltObject
. This association is implemented by storing the object identifier of the IltObject
in the ManagedObjectInstance
attribute of IltAlarm
. The mechanism is activated by default. References are resolved when both the source and target of the association are in the same data source.
void loadChildren(IlpRepresentationObject)
in IlpAbstractHierarchyAdapter
, IlpContainmentTreeAdapter
and IlpNetworkAdapter
: Loads the child objects of the given representation object into the representation model attached to the adapter. This method retrieves the information from the data source concerning the child objects, creates the corresponding representation objects and adds them to the model. This method is used by expansion strategies to load objects in the representation model on demand.
void releaseChildren(IlpRepresentationObject)
in IlpAbstractHierarchyAdapter
, IlpContainmentTreeAdapter
and IlpNetworkAdapter
: Releases the child objects of the given object from the model. This method is used by expansion strategies to release objects from the representation model on demand.
void setExpansionStrategyFactory(IlpExpansionStrategyFactory)
in IlpAbstractHierarchyAdapter
: Sets a factory that will be in charge of defining the expansion strategy to be used by each representation object created by this adapter.
void refilter()
in IlpAbstractAdapter
: Reapplies the filter to the adapter contents.
void setExcludedClasses(List exclusion)
and List getExcludedClasses()
in IlpAbstractAdapter
: Respectively define and retrieve a list of business classes that are filtered out when the adapter converts business objects to representation objects.
void setAcceptedClasses(List inclusion)
and List getAcceptedClasses()
in IlpAbstractHierarchyAdapter
: Respectively define and retrieve a list of business classes that are accepted by the adapter when it converts business objects to representation objects.
IlpAttribute getAttribute()
has been added to the interface IlpObjectInteractionContext
. This method allows the context to access the business attribute where the interaction occurred. It provides support to define interactors for specific business attributes in the table component, as well as in the network and equipment components.
void setGestureAction(IlpGesture,int,Action)
and Action getGestureAction(IlpGesture,int)
have been added to class IlpAbstractInteractor
to support gestures associated with keystroke modifiers, such as Ctrl or Shift.
void setAction(IlpInteractionAction[])
and IlpInteractionAction[]
getAction()
have been added to class IlpAbstractInteractor
to support CSS customization for interactors.
getAttributeValue
and setAttributeValue
in interface IlpAttributeValueHolder
: Respectively retrieve and set attribute values based on the attribute name. If you use predefined business objects or custom business objects such as IlpDefaultObject
or IlpBeansObject
, these methods can be directly used. If you implement your own business object class or representation object class, you can implement these two new methods by using the business and representation object support classes, IlpObjectSupport
and IlpRepresentationObjectSupport
, or by retrieving the attribute from the attribute group and delegating the work to the existing methods.
PartialAttribute
in IltNetworkElement
.
setPartial
and isPartial
in IltNetworkElement
: Respectively set and retrieve the value of the attribute partial
.
ShortcutAttribute
in IltNetworkElement
.
setShortcut
and getShortcut
in IltNetworkElement
: Respectively set and retrieve the shortcut information.
NEComponent
in IltNetworkElement
.
ShortcutAttribute
in IltGroup
.
setShortcut
and getShortcut
in IltGroup
: Respectively set and retrieve the shortcut information.
TypeAttribute
in IltOffPageConnector
.
setType
and getType
in IltOffPageConnector
: Respectively set and retrieve the type information. This information is used to define the way the object is graphically represented. Each type is associated with a base renderer (see ilog.tgo.graphic.renderer.IltOPCBaseRenderer
).
IltObject
attributes: ImpactAlarmCountAttribute
, NewImpactAlarmCountAttribute
, ImpactAlarmHighestSeverityAttribute
, NewImpactAlarmHighestSeverityAttribute
, AckImpactAlarmHighestSeverityAttribute
.
ackSystemId
, ackTime
, ackUserId
, additionalText
, alarmAckState
, alarmChangedTime
, alarmClearedTime
, alarmRaisedTime
, alarmType
, backedUpStatus
, backUpObject
, clearSystemId
, clearUserId
, managedObjectClass
, managedObjectInstance
, notificationId
, perceivedSeverity
, probableCause
, proposedRepairAction
, specificProblem
, systemDN
, trendIndication
in IltAlarm.
IltAlarm
is now instantiable.Corresponding accessors are also defined.
AlarmType
, ImpactSeverity
, ProbableCause
, TrendIndication
in IltAlarm
: Respectively help to define the values of the new attributes.
Unknown
and Cleared
in IltAlarm.Severity
:
acknowledgeAllImpactAlarms()
, removeAllImpactAlarms()
, removeAllAcknowledgedImpactAlarms()
, removeAllNewImpactAlarms()
, getAcknowledgedImpactAlarmCount()
, getImpactAlarmCount()
, getNewImpactAlarmCount
, getHighestAcknowledgedImpactSeverity()
, getHighestAcknowledgedImpactSeverity(ImpactSeverity)
, getHighestImpactSeverity()
, getHighestImpactSeverity(ImpactSeverity)
, getHighestNewImpactSeverity()
, getHighestNewImpactSeverity(ImpactSeverity)
in IltAlarm.
acknowledgeAllRawAlarms, removeAllRawAlarms()
, removeAllAcknowledgedRawAlarms()
, removeAllNewRawAlarms()
, getRawAlarmCount()
, getAcknowledgedRawAlarmCount()
, getNewRawAlarmCount
, getHighestAcknowledgedRawSeverity()
, getHighestAcknowledgedRawSeverity(Severity)
, getHighestRawSeverity()
, getHighestRawSeverity(Severity)
, getHighestNewRawSeverity()
, getHighestNewRawSeverity(Severity)
.
setComputedFromAlarmList()
and isComputedFromAlarmList
allow you to control the automatic computation of alarm counters from the list of alarms associated with the business objects. By default, the alarm counters are not computed automatically from the list of alarms.
setSelectedObject(IlpObject)
in IlpObjectSelectionModel
and implementations.
setSelectedObjects(Collection)
in IlpObjectSelectionModel
and implementations.
setSelectedRepresentationObject(IlpObject)
in IlpRepresentationObjectSelectionModel
.
setSelectedRepresentationObjects(Collection)
in IlpRepresentationObjectSelectionModel
.
setSelectedObject(IlpObject)
in IlpTree
, IlpTable
, IlpNetwork
and IlpEquipment
and their corresponding web components.
setSelectedObjects(Collection)
in IlpTree
, IlpTable
, IlpNetwork
and IlpEquipment
and their corresponding web components.
IlpObject IlpTable.getRow (int rowIndex)
: Returns the business object displayed in the given row index.
IlpAttribute IlpTable.getColumn (int columnIndex)
: Returns the attribute represented in the given column index.
void IlpTable.dispose ()
: Clears all the table references, disconnects the table from the data source, which helps the garbage collection process. The table component is no longer usable after calling this method.
void refilter()
: Asks the adapter to refilter the contents of the component.
void IlpTable.addPseudoClass(IlpObject,IlpAttribute,String)
and void IlpTable.removePseudoClass(IlpObject,IlpAttribute,String)
: Respectively add and remove a pseudoclass to a given table cell. Pseudoclasses provide advanced customization of table cells based on the component state instead of the underlying business model state.
void IlpTableView.addPseudoClass(IlpObject,IlpAttribute,String)
and void IlpTableView.removePseudoClass(IlpObject,IlpAttribute,String)
: Respectively add and remove a pseudoclass from a given table cell. Pseudoclasses provide advanced customization of table cells based on the component state instead of the underlying business model state.
void refilterObjects
: Called when a user changes the filter in the table adapter or when method refilter
is called. This method iterates over all the objects present in the data source attached to the table adapter and revalidates each object.
void IlpTree.dispose ()
: Clears all the tree references, disconnects the tree from the data source, which helps the garbage collection process. The tree component is no longer usable after calling this method.
void refilter()
: Asks the adapter to refilter the contents of the component.
void sort()
: Asks the adapter to sort the contents of the component.
void IlpTree.addPseudoClass(IlpObject,String)
and void IlpTree.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given tree node. Pseudoclasses provide advanced customization of tree nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the component that will be applied to the adapter and to the view. Using these methods, you can specify whether the configuration is to be immediately applied to the component element (adapter and view), or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void IlpTreeView.addPseudoClass(IlpObject,String)
and void IlpTreeView.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given tree node. Pseudoclasses provide advanced customization of tree nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the view. Using these methods you can specify whether the configuration is to be immediately applied to the view, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void refilterObjects
: Called when a user changes the filter in the adapter or when method refilter
is called. This method iterates over all the objects present in the data source attached to the tree adapter and revalidates each object. Objects that are still valid after the filter has changed are kept in the component. Objects that do not match the new filter criteria are removed. Objects that now match the new filter criteria are added to the tree model.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the adapter. Using these methods you can specify whether the configuration is to be immediately applied to the adapter, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void refilter()
: Asks the adapter to refilter the contents of the component.
void IlpNetwork.addPseudoClass(IlpObject,String)
and void IlpNetwork.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given network node. Pseudoclasses provide advanced customization of network nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the view and adapter. Using these methods, you can specify whether the configuration is to be immediately applied to the component, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
New methods have also been added at the following levels:
IlpNetworkView.addNodeExpansionListener (NodeExpansionListener)
: Registers a listener to expand and collapse events that happen within the network component. An event is generated whenever a subnetwork is expanded or collapsed.
IlpNetworkView.removeNodeExpansionListener (NodeExpansionListener)
.
void IlpGraphView.addPseudoClass(IlpObject,String)
and void IlpGraphView.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given network node. Pseudoclasses provide advanced customization of network nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the view. Using these methods, you can specify whether the configuration is to be immediately applied to the view, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void refilterObjects
: Called when a user changes the filter in the adapter or when method refilter
is called. This method iterates over all the objects present in the data source attached to the network adapter and revalidates each object. Objects that are still valid after the filter has changed are kept in the component. Objects that do not match the new filter criteria are removed. Objects that now match the new filter criteria are added to the tree model.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the adapter. Using these methods, you can specify whether the configuration is to be immediately applied to the adapter, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
IlpMutableNetworkModel.addRootObjects(Collection)
: Adds several root objects. An event NetworkModelEvent.Type.ROOT_OBJECTS_ADDED
is sent to the listeners.
IlpMutableNetworkModel.removeRootObjects(Collection)
: Removes several root objects. An event NetworkModelEvent.Type.ROOT_OBJECTS_REMOVED
is sent to the listeners.
NetworkModelEvent.Type.ROOT_OBJECTS_ADDED
, and NetworkModelEvent.Type.ROOT_OBJECTS_REMOVED
: Notify the addition or removal of several root objects, invoking the corresponding methods NetworkModelListener.rootObjectsAdded(NetworkModelEvent)
and NetworkModelListener.rootObjectsRemoved(NetworkModelEvent)
.
IlpNetworkZoomInButton.setZoomFactor (double factor)
: Sets the zoom factor used by the Zoom In action.
IlpNetworkZoomOutButton.setZoomFactor (double factor)
: Sets the zoom factor used by the Zoom Out action.
IlpNetworkEditLabelButton.setLabelAttribute (String name)
: Sets the attribute name that will be edited by the interactor.
getPopupMenuFactory
and setPopupMenuFactory
in class IlpGraphInteractorButton
: These methods allow you to customize pop-up menus associated with interactors present in the network and equipment component toolbars. The following CSS extract illustrates how you can customize a pop-up menu associated with an interactor via CSS:
setKeepingAspectRatio
, setMaxZoomXFactor
, setMinZoomXFactor
, setMaxZoomYFactor
, setMinZoomYFactor
: Added to the IlpViewRenderer
located in ilog.cpl.network.renderer
. These methods allow you to customize the set properties via CSS.
setDecorationNames
and setVisibilityThresholds
: Added to ilog.tgo.composite.IltMixedZoomPolicy
and ilog.tgo.composite.IltPhysicalZoomPolicy
. These methods allows you to customize the visibility threshold used for the decorations in a specific network view through CSS. The following example illustrates this configuration:
void refilter()
: Asks the adapter to refilter the contents of the component.
void IlpEquipment.addPseudoClass(IlpObject,String)
and void IlpEquipment.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given equipment node. Pseudoclasses provide advanced customization of equipment nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the view and adapter. Using these methods, you can specify whether the configuration is to be immediately applied to the view and adapter, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
New methods have also been added at the following levels:
IlpEquipmentView.addNodeExpansionListener (NodeExpansionListener)
: Registers a listener to expand and collapse events that happen within this equipment component. An event is generated whenever a subnetwork is expanded or collapsed.
IlpEquipmentView.removeNodeExpansionListener (NodeExpansionListener)
void IlpGraphView.addPseudoClass(IlpObject,String)
and void IlpGraphView.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given equipment node. Pseudoclasses provide advanced customization of equipment nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the view. Using these methods, you can specify whether the configuration is to be immediately applied to the view, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void refilterObjects
: Called when a user changes the filter in the adapter or when method refilter
is called. This method iterates over all the objects present in the data source attached to the equipment adapter and revalidates each object. Objects that are still valid after the filter has changed are kept in the component. Objects that do not match the new filter criteria are removed. Objects that now match the new filter criteria are added to the tree model.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the adapter. Using these methods, you can specify whether the configuration is to be immediately applied to the adapter, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
IlpEquipmentZoomInButton.setZoomFactor (double factor)
: Sets the zoom factor used by the Zoom In action.
IlpEquipmnetZoomOutButton.setZoomFactor (double factor)
: Sets the zoom factor used by the Zoom Out action.
With these two methods, it is now possible to customize the zoom factor using CSS files, as follows:
#ZoomInButton { actionType: "ZoomIn"; zoomFactor: 1.1; } #ZoomOutButton { actionType: "ZoomOut"; zoomFactor: 1.1; }
IlpEquipmentEditLabelButton.setLabelAttribute (String name)
: Sets the attribute name that will be edited by the interactor.
getPopupMenuFactory
and setPopupMenuFactory
Added to class IlpGraphInteractorButton
. These methods allow you to associate pop-up menus with interactors that are present in the network and equipment component toolbars, and to use the new feature that allows interactors to be customized via CSS files.
setKeepingAspectRatio
, setMaxZoomXFactor
, setMinZoomXFactor
, setMaxZoomYFactor
, setMinZoomYFactor
: Added to the IlpViewRenderer
located in ilog.cpl.network.renderer
. These methods allow you to customize the set properties via CSS.
void IlpWebTable.addPseudoClass(IlpObject,IlpAttribute,String)
and void IlpWebTable.removePseudoClass(IlpObject,IlpAttribute,String)
: Respectively add and remove a pseudoclass to a given table cell. Pseudoclasses provide advanced customization of table cells based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the component. Using these methods, you can specify whether the configuration is to be immediately applied to the component itself, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void IlpWebTree.addPseudoClass(IlpObject,String)
and void IlpWebTree.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given tree node. Pseudoclasses provide advanced customization of tree nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the component. Using these methods, you can specify whether the configuration is to be immediately applied to the component itself, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void IlpWebNetwork.addPseudoClass(IlpObject,String)
and void IlpWebNetwork.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given network node. Pseudoclasses provide advanced customization of network nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the component. Using these methods, you can specify whether the configuration is to be immediately applied to the component itself, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
void IlpWebEquipment.addPseudoClass(IlpObject,String)
and void IlpWebEquipment.removePseudoClass(IlpObject,String)
: Respectively add and remove a pseudoclass to a given network node. Pseudoclasses provide advanced customization of network nodes based on the component state instead of the underlying business model state.
void setStyleSheets(String[] css, int updateMask)
and void setStyleSheets(int index, String css, int updateMask)
have been added. These methods allow you to set style sheets in the component. Using these methods, you can specify whether the configuration is to be immediately applied to the component itself, or to the business objects. These methods can be used to set style sheets that are applied only to the business objects, or only to the configuration, thus avoiding unnecessary updates.
The rendering of shelves has been improved in the following way:
IltShelfBaseRenderer
is now used to draw shelves. It replaces IltShelfDrawer
.
getFrameColor
and setFrameColor
: Customize the color used to draw the shelf frame.
isLabelVisible
, setLabelVisible
, isLabelAntialiasing
, setLabelAntialiasing
, getLabelFont
, setLabelFont
, getLabelForeground
, setLabelForeground
, getLabelSpacing
, setLabelSpacing
, getLabelPosition
, setLabelPosition
: Customize the slot labels.
getXSlotIndex
, setXSlotIndex
, getXSlotLabels
, setXSlotLabels
: Customize the labels for each slot. If property XSlotLabels
is defined, each slot is labelled with the value given in this property. Otherwise, the base renderer retrieves the first slot index and uses it to generate slot labels starting from the given index.
getXSlotLabel
is now available to return the label used in the shelf slot according to the X slot index.
getSlotNumbersBBox (IlvTransformer t, IlvRect rect)
: Retrieves the bounding box of the slot counts taking the given transformer into account.
subnetworkTopMargin
, subnetworkBottomMargin
, subnetworkRightMargin
, subnetworkLeftMargin
and subnetworkForeground:
Can now be applied when the subnetwork frame is FILLED_RECTANGLE_FRAME
.
depressed
is now available to indicate whether the off-page connectors in the standard graphic representation should be displayed depressed or not.
passiveIcon
and passiveIconVisible
: Customize the icon and visibility of an object considered as a passive device. (See Passive Devices.) These properties are valid for all predefined business objects.
partialIcon
and partialIconVisible
customize the icon and visibility in partial network elements. (See Partial Representation.) These properties are valid for network elements only (ilog.tgo.model.IltNetworkElement)
.
shortcutIcon
and shortcutIconVisible
: Customize the icon and visibility of shortcut network elements and groups. These properties are valid for network elements (ilog.tgo.model.IltNetworkElement)
and groups (ilog.tgo.model.IltGroup)
only. (See Shortcut Representation.)
baseStyleEnabled
defines whether the predefined business object representation will be affected by the primary states set in the object. The default value for this property is true
.
alarmCountMultiline
defines whether the alarm count decoration on the object base will be displayed on two lines or on one. The default behavior is a single line for all objects except for network elements of type NEComponent
.
XSlotLabels
defines individual labels for shelf slots (See Shelves.) This property has priority over the shelf attribute xSlotIndex
. This property is only valid for shelves using the standard shelf base renderer.
movable
defines whether an object can be moved or not through interactions in the network or equipment components. This property has a Boolean type; its default value is true
.
toolTipGraphic
defines a graphic object as a tooltip for objects or attributes in the graphic components. This property replaces property tooltipRenderer
which is now deprecated. The toolTipGraphic
property allows you to define a JComponent
or an IlvGraphic
as tooltips.
children
and constraints
define new decorations for predefined business objects. You can create new decorations and attach them to the predefined business object base to represent new attributes or properties of the object. These properties replace the use of IltGraphicRenderer.customizeGraphic
to extend the graphic representation of predefined business objects. Please refer to samples.network.decoration
for an example.
icon
and iconVisible
are now available to define an image that is displayed as a decoration in the predefined group objects (IltPolyGroup
, IltRectGroup
, IltLinearGroup
) in the network component.
lineSpacing
was changed to -1, indicating that the default TextLayout
leading value is used.
minLabelZoom
was changed to 0.6f.
labelAlignment
was changed to 0, indicating that the label alignment will be automatically defined according to the label position on the base.
graphicRenderer
used to define the graphic representation of attributes and objects is now deprecated. Use the property class
instead to define the IlvGraphic
or JComponent
used to represent an object or attribute.
centeredInsets
, stackerSpacing
, stackerOrientation
, stackerAlignment
, infoBalloonShadowThickness
, infoBalloonPointerDepth
, infoBalloonOrientation
, infoBalloonColor
, infoBalloonBorderColor
, infoBalloonShadowColor
, alarmBalloonShadowThickness
, alarmBalloonPointerDepth
, alarmBalloonOrientation
, alarmBalloonColor
, alarmBalloonBorderColor
, alarmBalloonShadowColor
, alarmBalloonRadius
, alarmBalloonPointerDistance
are now deprecated. These properties have been replaced by the properties defined in classes ilog.views.graphic.composite.decoration.IlvRectBalloon
and ilog.views.graphic.composite.decoration.IlvRoundRectBalloon
, as well as layout properties ilog.views.graphic.composite.layout.IlvStackerLayout
and ilog.views.graphic.composite.layout.IlvCenteredLayout
. Composite graphics are now created and customized using CSS and JViews composite graphics.
alarmLossOfConnectivityOverride
is now available to define whether the loss of connectivity indicators will override the alarm information on the predefined business object graphic representation. The default value of this property is true
. When this property is set to false
, the loss of connectivity state is graphically represented by a secondary state icon. If the information icon is present, the loss of connectivity state is listed in the information window along with the other states present in the object.
primaryAlarmState
is now available to allow you to choose which type of alarm has priority when creating the graphic representation of a predefined business object. Possible values are: Raw
or Impact
. The default value is Raw
. JTGO 4.0 has introduced new alarm severities, called impact alarms. Predefined business objects can have normal alarms or impact alarms. The graphic representation of these alarms complies with the standard JTGO look and feel (alarm colors, alarm counts and alarm balloon). This CSS property indicates which kind of alarm is graphically represented. If the object also contains alarms from the secondary alarm type, these alarms are graphically represented by a secondary state icon.
listPrimaryAlarmState
and listSecondaryAlarmState
are now available to indicate whether the alarm information should be displayed or not in the information window together with the other states. By default, listPrimaryAlarmState
is set to false
, since the primary alarm information is displayed directly in the object using colors, counts and balloon decorations. Property listSecondaryAlarmState
has its default value set to true
.
wordWrapChars
is no longer supported. Label wrapping and truncating are now available for all business objects, but the lines are broken according to the separators defined in the system (space, tab, new line and period). Refer to http://java.sun.com/docs/books/tutorial/i18n/text/line.html
for more information on the line separators used in the system.
IlpViewActionEvent.getInteractionState()
and IlpObjectActionEvent.getInteractionState()
: Return the state of the interaction when the view or object event has been created.
IlpDefaultContext.setProperty (String property, Object value)
: Sets the value of a property in the context.
IltEditLabelInteractor(String name)
: Creates a new interactor associated with the given label attribute name.
IlpExpansionStrategy.areChildrenLoaded(IlpRepresentationObject ro)
: Indicates whether the child objects of a given representation object have been queried or not.
IlpTreeNodeHelper.getExpansionStrategy ()
: Returns the expansion strategy defined for the tree node.
Copyright © Rogue Wave Software, Inc. 1997, 2016. All rights reserved. Legal terms. | PREVIOUS NEXT |