toolTipText
or toolTipGraphic
. The
toolTipGraphic
property has priority.@Deprecated public class IltCompositeInteractions extends Object
Interactors positioned on a single element take precedence over interactors positioned on the composite graphic object as a whole.
IlpObjectInteractor
,
IlpNetworkController
,
IlpEquipmentController
,
IlpTreeController
,
IlpTableController
Modifier and Type | Field and Description |
---|---|
protected IltCompositeGraphic |
_graphic
Deprecated.
The composite graphic object for which this object is responsible.
|
static IltToolTipFactory |
ObjectLabelToolTipFactory
Deprecated.
Please use
IlpToolTipManager and the CSS property
toolTipText instead. The same feature can be achieved
with the following CSS configuration:
object."ilog.tgo.model.IltObject" { toolTipText: @name; } |
static IltToolTipFactory |
SecStateModifierToolTipFactory
Deprecated.
Please use
IlpToolTipManager and CSS property
toolTipGraphic instead. The same feature can be achieved
with the following CSS configuration:
object."ilog.tgo.model.IltObject/objectState" { toolTipGraphic: @+SecStateToolTipGraphic; } Subobject#SecStateToolTipGraphic { class: 'ilog.tgo.graphic.IltSecStateModifierToolTipGraphic'; } |
Constructor and Description |
---|
IltCompositeInteractions(IltCompositeGraphic graphic)
Deprecated.
Creates a new interaction manager for a composite graphic object.
|
Modifier and Type | Method and Description |
---|---|
IlvObjectInteractor |
getElementFallbackInteractor(IltGraphicElementName elementName)
Deprecated.
Returns the fallback interactor for a graphic element.
|
IlvObjectInteractor |
getElementInteractor(IltGraphicElementName elementName)
Deprecated.
Interactors are stored in the Controller component that
is part of each graphic component. Interactors are no longer
associated to graphic elements, instead they are associated to
business attributes. Business attributes are graphically represented
as decorations attached to the object base, for instance, the alarm
balloon decoration is the graphic representation of attribute
newAlarmCount in the Network component. Therefore, if you
would like to add interactions to an alarm balloon, you should register
an object interactor associated to this attribute. This feature is
available in the Network, Equipment and Table components. |
IltToolTipFactory |
getElementToolTipFactory(IltGraphicElementName elementName)
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component. The tooltip is displayed in the decoration
that represents the name attribute of the object.
In the network, equipment and table components you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; } |
String |
getElementToolTipText(IltGraphicElementName elementName)
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component. The tooltip is displayed in the decoration
that represents the name attribute of the object.
In the network, equipment and table components, you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; } |
IlvObjectInteractor |
getFallbackInteractor()
Deprecated.
Returns the fallback interactor for the composite graphic object as a whole.
|
IlvObjectInteractor |
getInteractor()
Deprecated.
Interactors are stored in the Controller component that
is part of each graphic component.
|
IlvObjectInteractor |
getInteractorOn(IltGraphicElementName elementName)
Deprecated.
Returns the interactor to be positioned on a given graphic element.
|
static IltObjectInteractorContext |
GetObjectContext(IltGraphic composite,
ilog.tgo.graphic.internal.IltGraphicElement element,
IlvObjectInteractorContext origcontext)
Deprecated.
Returns an interactor context, containing information about the
composite graphic object visible, the graphic element and
the interactor context.
|
static IltObjectInteractorContext |
GetObjectContext(IlvPoint p,
IlvManagerView view)
Deprecated.
Returns an interactor context, containing information about the
composite graphic object visible at a given point in a given view.
|
IltToolTipFactory |
getToolTipFactory()
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component, using a CSS. This
example shows the object name as a tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; } |
String |
getToolTipText()
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component using a CSS. This example shows the object name as a
tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; } |
void |
setElementFallbackInteractor(IltGraphicElementName elementName,
IlvObjectInteractor interactor)
Deprecated.
Sets the interactor for a graphic element.
|
void |
setElementInteractor(IltGraphicElementName elementName,
IlvObjectInteractor interactor)
Deprecated.
Interactors are stored in the Controller component that
is part of each graphic component. Interactors are no longer
associated to graphic elements, instead they are associated to
business attributes. Business attributes are graphically represented
as decorations attached to the object base, for instance, the alarm
balloon decoration is the graphic representation of attribute
newAlarmCount in the network component. Therefore, if you
would like to add interactions to an alarm balloon, you should register
an object interactor associated to this attribute.
This feature is available in the Network, Equipment and Table components. |
void |
setElementToolTipFactory(IltGraphicElementName elementName,
IltToolTipFactory factory)
Deprecated.
Please use
IlpToolTipManager and CSS properties
toolTipText or toolTipGraphic
instead. The following example illustrates how you can
customize a tooltip for an object being represented in your
graphic component. The tooltip is displayed in the decoration
that represents the name attribute of the object.
In the network, equipment and table components, you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; } |
void |
setElementToolTipText(IltGraphicElementName elementName,
String text)
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component. The tooltip is displayed
in the decoration that represents the name
attribute of the object. In the network, equipment and table
components, you can customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; } |
void |
setFallbackInteractor(IlvObjectInteractor interactor)
Deprecated.
Sets the fallback interactor for the composite graphic object as a whole.
|
void |
setInteractor(IlvObjectInteractor interactor)
Deprecated.
Interactors are stored in the Controller component that
is part of each graphic component. You can customize
object interactors using the Graphic controller API or
using CSS.
|
void |
setToolTipFactory(IltToolTipFactory factory)
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component using a CSS. This example
shows the object name as a tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; } |
void |
setToolTipText(String text)
Deprecated.
Please use
IlpToolTipManager and the CSS
properties toolTipText or
toolTipGraphic instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component using a CSS. This example shows the object name as a
tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; } |
protected IltCompositeGraphic _graphic
@Deprecated public static IltToolTipFactory ObjectLabelToolTipFactory
IlpToolTipManager
and the CSS property
toolTipText
instead. The same feature can be achieved
with the following CSS configuration:
object."ilog.tgo.model.IltObject" { toolTipText: @name; }
@Deprecated public static IltToolTipFactory SecStateModifierToolTipFactory
IlpToolTipManager
and CSS property
toolTipGraphic
instead. The same feature can be achieved
with the following CSS configuration:
object."ilog.tgo.model.IltObject/objectState" { toolTipGraphic: @+SecStateToolTipGraphic; } Subobject#SecStateToolTipGraphic { class: 'ilog.tgo.graphic.IltSecStateModifierToolTipGraphic'; }
IltSecStateModifierToolTipGraphic
public IltCompositeInteractions(IltCompositeGraphic graphic)
graphic
- the graphic object to which this manager will be attached@Deprecated public IlvObjectInteractor getInteractor()
IlpInteractorManager.getObjectInteractor(java.lang.Object)
,
IlpObjectInteractor
public IlvObjectInteractor getFallbackInteractor()
@Deprecated public IlvObjectInteractor getElementInteractor(IltGraphicElementName elementName)
newAlarmCount
in the Network component. Therefore, if you
would like to add interactions to an alarm balloon, you should register
an object interactor associated to this attribute. This feature is
available in the Network, Equipment and Table components.IlpObjectInteractor
,
IlpInteractorManager.getObjectInteractor(IlpRepresentationObject,IlpAttribute)
public IlvObjectInteractor getElementFallbackInteractor(IltGraphicElementName elementName)
@Deprecated public void setInteractor(IlvObjectInteractor interactor)
Note: The interactor context which will be passed to the interactor will be of type IltObjectInteractorContext, thus permitting the interactor to access the composite graphic object and the semantic object.
IlpInteractorManager.getObjectInteractor(java.lang.Object)
,
IlpObjectInteractor
,
IltObjectInteractorContext
,
IlpObjectCustomization.getInteractor()
public void setFallbackInteractor(IlvObjectInteractor interactor)
@Deprecated public void setElementInteractor(IltGraphicElementName elementName, IlvObjectInteractor interactor)
newAlarmCount
in the network component. Therefore, if you
would like to add interactions to an alarm balloon, you should register
an object interactor associated to this attribute.
This feature is available in the Network, Equipment and Table components.Note: The interactor context which will be passed to the interactor will be of type IltObjectInteractorContext, thus permitting the interactor to access the composite graphic object and the semantic object.
IlpObjectInteractor
,
IlpInteractorManager.getObjectInteractor(IlpRepresentationObject,IlpAttribute)
,
IltObjectInteractorContext
,
IlpAttributeCustomization.getInteractor()
public void setElementFallbackInteractor(IltGraphicElementName elementName, IlvObjectInteractor interactor)
Note: The interactor context which will be passed to the interactor will be of type IltObjectInteractorContext, thus permitting the interactor to access the composite graphic object and the semantic object.
IltObjectInteractorContext
@Deprecated public IltToolTipFactory getToolTipFactory()
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component, using a CSS. This
example shows the object name as a tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; }
IltToolTipFactory
for the composite graphic object
as a whole.@Deprecated public IltToolTipFactory getElementToolTipFactory(IltGraphicElementName elementName)
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component. The tooltip is displayed in the decoration
that represents the name
attribute of the object.
In the network, equipment and table components you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; }
IltToolTipFactory
of a graphic element.@Deprecated public void setToolTipFactory(IltToolTipFactory factory)
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component using a CSS. This example
shows the object name as a tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; }
IltToolTipFactory
for the composite graphic object as
a whole.
Note: The interactor context that will be passed to the
tooltip factory will be of type IltObjectInteractorContext
.
This permits the factory to access the composite graphic object and the
semantic object.
IlpToolTipManager
@Deprecated public void setElementToolTipFactory(IltGraphicElementName elementName, IltToolTipFactory factory)
IlpToolTipManager
and CSS properties
toolTipText
or toolTipGraphic
instead. The following example illustrates how you can
customize a tooltip for an object being represented in your
graphic component. The tooltip is displayed in the decoration
that represents the name
attribute of the object.
In the network, equipment and table components, you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; }
IltToolTipFactory
for a graphic element. The graphic
element is specified by a name. A graphic element having this name does not
need to exist; when one is added to the composite graphic object,
the given ToolTipFactory
will be attached to it.
Note: The interactor context that will be passed to the
ToolTipFactory
will be of type
IltObjectInteractorContext
. This will permit the
factory to access the composite graphic object and the semantic
object.
IltToolTipManager
@Deprecated public void setToolTipText(String text)
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component using a CSS. This example shows the object name as a
tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; }
This is equivalent to setting a factory that will create an
IltTextToolTip
with the given string.
setToolTipFactory(ilog.tgo.graphic.IltToolTipFactory)
@Deprecated public void setElementToolTipText(IltGraphicElementName elementName, String text)
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead. The following example
illustrates how you can customize a tooltip for an object being
represented in your graphic component. The tooltip is displayed
in the decoration that represents the name
attribute of the object. In the network, equipment and table
components, you can customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; }
This is equivalent to setting a factory which will create an
IltTextToolTip
with the given string.
setElementToolTipFactory(ilog.tgo.graphic.IltGraphicElementName, ilog.tgo.graphic.IltToolTipFactory)
@Deprecated public String getToolTipText()
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component using a CSS. This example shows the object name as a
tooltip:
object."ilog.tgo.model.IltNetworkElement" { toolTipText: @name; }
null
if no text or no tooltip factory has been
positioned.@Deprecated public String getElementToolTipText(IltGraphicElementName elementName)
IlpToolTipManager
and the CSS
properties toolTipText
or
toolTipGraphic
instead.
The following example illustrates how you can customize a
tooltip for an object being represented in your graphic
component. The tooltip is displayed in the decoration
that represents the name
attribute of the object.
In the network, equipment and table components, you can
customize tooltips for:
object."ilog.tgo.model.IltNetworkElement/name" { toolTipText: "Network Element Name"; }
null
if no text or no tooltip factory has been
positioned.public IlvObjectInteractor getInteractorOn(IltGraphicElementName elementName)
public static IltObjectInteractorContext GetObjectContext(IlvPoint p, IlvManagerView view)
p
- the point, in view coordinatesview
- the viewnull
if the point
does not belong to a composite graphic objectpublic static IltObjectInteractorContext GetObjectContext(IltGraphic composite, ilog.tgo.graphic.internal.IltGraphicElement element, IlvObjectInteractorContext origcontext)
composite
- Graphic object.element
- Graphic element in the graphic object.origcontext
- Object interactor context.null
if the point
does not belong to a composite graphic object.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.