public abstract class IltCardItem extends IltObject
Modifier and Type | Class and Description |
---|---|
static class |
IltCardItem.Type
The abstract class used to manage the types of the
subclasses of
IltCardItem . |
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType
Modifier and Type | Field and Description |
---|---|
static IlpBooleanKey |
AntiAliasing
Deprecated.
Please use CSS property
antialiasing instead. |
static IltAttribute |
DirectionAttribute
Attribute used to define the direction of the card item.
|
static IltObjectInfo |
metainfo
Contains metainformation about this
IltObject implementation. |
static IltAttribute |
TypeAttribute
Attribute used to define the type of the LED or Port object.
|
_automaticDecorationsDirection, _cloneConstructor, AbbreviateBalloonAlarmCount, AbbreviateBaseAlarmCount, AckAlarmHighestSeverityAttribute, AckImpactAlarmHighestSeverityAttribute, AlarmBalloonColor, AlarmBalloonContentsCollapsed, AlarmBalloonCountIcon, AlarmBalloonCountLabel, AlarmBalloonPosition, AlarmBalloonShadowColor, AlarmBalloonTextAntialiasing, AlarmBalloonTextBackgroundColor, AlarmBalloonTextFont, AlarmBalloonTextForegroundColor, AlarmBalloonVisible, AlarmBorderColor, AlarmBorderThickness, AlarmBorderVisible, AlarmBrightColor, AlarmColor, AlarmColorLevel, AlarmColorVisible, AlarmCountAntialiasing, AlarmCountAttribute, AlarmCountBackgroundColor, AlarmCountFont, AlarmCountForegroundColor, AlarmCountIcon, AlarmCountIconPosition, AlarmCountIconVisible, AlarmCountLabel, AlarmCountNumberAttribute, AlarmCountVisible, AlarmCriticalAbbreviation, AlarmCriticalBrightColor, AlarmCriticalColor, AlarmCriticalDarkColor, AlarmCriticalDescription, AlarmDarkColor, AlarmHighestSeverityAttribute, AlarmLossOfConnectivityAbbreviation, AlarmLossOfConnectivityBrightColor, AlarmLossOfConnectivityColor, AlarmLossOfConnectivityDarkColor, AlarmLossOfConnectivityOverride, AlarmMajorAbbreviation, AlarmMajorBrightColor, AlarmMajorColor, AlarmMajorDarkColor, AlarmMajorDescription, AlarmMinorAbbreviation, AlarmMinorBrightColor, AlarmMinorColor, AlarmMinorDarkColor, AlarmMinorDescription, AlarmNotReportingAbbreviation, AlarmsAsMarks, AlarmSeverityColorMap, AlarmSeverityDescriptionMap, AlarmUnknownAbbreviation, AlarmUnknownBrightColor, AlarmUnknownColor, AlarmUnknownDarkColor, AlarmUnknownDescription, AlarmWarningAbbreviation, AlarmWarningBrightColor, AlarmWarningColor, AlarmWarningDarkColor, AlarmWarningDescription, Alpha, BackgroundColor, BaseSelectionBorderVisible, BaseStyleEnabled, BlinkingBackgroundColor, BlinkingBorderColor, BlinkingBorderColor2, BlinkingForegroundColor, BorderColor, BorderColor2, BorderLineStyle, BorderPattern, BorderWidth, BUSINESS_OBJECT_PROPERTY, CanBeLogical, CenterWidth, ChildrenDecorationConstraints, ChildrenDecorations, ContainerCollapseIconVisible, ContainerExpansionIconVisible, ContainerOutsideExpansionIconVisible, ContainerStatusVisible, DetailLevel, Direction, DottedBorderBackgroundColor, DottedBorderForegroundColor, DottedBorderLineStyle, ForcedWidth, ForegroundColor, GraphicRepresentationAttribute, HasAlarmColor, IconsVisible, ImpactAlarmCountAttribute, ImpactAlarmCountNumberAttribute, ImpactAlarmHighestSeverityAttribute, InfoIconInteractor, InfoIconThreshold, InfoWindowAlwaysVisible, InfoWindowBorderColor, InfoWindowColor, InfoWindowShadowColor, InfoWindowTextAntialiasing, InfoWindowTextBackgroundColor, InfoWindowTextFont, InfoWindowTextForegroundColor, InfoWindowVisible, IsEditable, IsLogical, IsSelectable, IsTiny, IsVisible, LabelAntialiasing, LabelBackgroundColor, LabelBorderColor, LabelDirection, LabelFont, LabelForegroundColor, LabelOffset, LabelPosition, LabelVisible, LabelZoomable, LineStyle, LinkPorts, ListAlarmStateAbbreviated, ListPrimaryAlarmState, ListPrimaryState, ListSecondaryAlarmState, LogicalBorderThickness, LogicalHeight, LogicalLabelAntialiasing, LogicalLabelFont, LogicalTypeAttribute, LogicalWidth, MappedBorderColor, MappedBorderColor2, MappedBrightColor, MappedColor, MappedColor2, MappedDarkColor, MultilineBaseAlarmCount, NameAttribute, NewAlarmCountAttribute, NewAlarmCountNumberAttribute, NewAlarmHighestSeverityAttribute, NewImpactAlarmCountAttribute, NewImpactAlarmCountNumberAttribute, NewImpactAlarmHighestSeverityAttribute, ObjectStateAttribute, PassiveIcon, PassiveIconVisible, Pattern, PlinthBrightColor, PlinthColor, PlinthDarkColor, PlinthHorizontalMargin, PlinthVerticalMargin, PlinthVisible, PositionAttribute, PrimaryAlarmState, PrimaryStateAttribute, ReliefBorders, SecondaryStatesAttribute, SecondaryStateStackerPosition, SelectionBorderBackgroundColor, SelectionBorderForegroundColor, SelectionBorderLineStyle, SelectionBorderThickness, ShortcutIcon, ShortcutIconMap, ShortcutIconVisible, ShortcutToolTipMap, SNMPSystemContact, SNMPSystemDescription, SNMPSystemLocation, SourceImage, TinyAlarmBorderThickness, TinyBorderThickness, TinyLabelAntialiasing, TinyLabelFont, TinyTypeAttribute, TrapAuthenticationFailureAbbreviation, TrapAuthenticationFailureBrightColor, TrapAuthenticationFailureColor, TrapAuthenticationFailureDarkColor, TrapAuthenticationFailureDescription, TrapColdStartAbbreviation, TrapColdStartBrightColor, TrapColdStartColor, TrapColdStartDarkColor, TrapColdStartDescription, TrapEGPNeighborLossAbbreviation, TrapEGPNeighborLossBrightColor, TrapEGPNeighborLossColor, TrapEGPNeighborLossDarkColor, TrapEGPNeighborLossDescription, TrapLinkFailureAbbreviation, TrapLinkFailureBrightColor, TrapLinkFailureColor, TrapLinkFailureDarkColor, TrapLinkFailureDescription, TrapWarmStartAbbreviation, TrapWarmStartBrightColor, TrapWarmStartColor, TrapWarmStartDarkColor, TrapWarmStartDescription
VALUE_NOT_SET
Constructor and Description |
---|
IltCardItem(IlpClass ilpClass,
Object identifier)
Creates a new instance of
IltCardItem with a given class and identifier. |
IltCardItem(IltObjectState oState,
String label)
Creates a new instance of
IltCardItem with label
and object state. |
IltCardItem(Object identifier)
Creates a new instance of
IltCardItem with an identifier. |
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer transf,
IlpPositionSource reason)
Deprecated.
|
void |
computeGraphic(IltGraphicManager manager,
IlvPoint position)
Deprecated.
Adding a object to a datasource, connected to a graphic component such as
an
IlpNetwork , is enough to make its graphic representation
visible. Once visible, it is updated automatically when needed. |
protected void |
copyFrom(IltCardItem other) |
ilog.tgo.graphic.internal.IltGraphicUpdate |
createPositionUpdate(Object position,
Object positionInManager)
Creates the graphic update responsible for setting the position/shape to
a graphical representation.
|
ilog.tgo.graphic.internal.base.IltBaseElement |
createTinyBase(IltcGraphicElementAggregate root)
Creates a base element, suitable for this particular kind of object, for
us with the Tiny Graphic Representation Style (GRS).
|
Object |
defaultShape()
Returns the default shape, used when an object is made visible without
having been assigned a shape.
|
IlvRect |
getBaseRectangle(IltGraphicManager manager)
Returns the base rectangle of the graphic representation
in a given IltGraphicManager.
|
protected IlvPoint |
getCenterPoint(IltGraphicManager manager,
IltGraphic graphic)
Returns the position of the graphic representation in a given
IltGraphicManager.
|
static IltLegend |
GetClassLegend()
Deprecated.
Please use
IlpStyleManager to retrieve the appropriate
style for this IlpClass . |
ilog.tgo.model.internal.IltCardItemContainer |
getContainer()
Returns the container of this card item.
|
static IltLegendModifier |
GetDirectionMapping(int direction)
Access the legend modifier associated with the given
direction.
|
static IltObjectInfo |
GetIlpClass()
Returns the
IlpClass corresponding to this Java class. |
ilog.util.internal.IlAVector |
getMappedForUserList()
Access method to retrieve the user mappings.
|
boolean |
isItemMoveable(IltGraphic graphic)
Check whether or not a card item should be affected by
transformations (when inside a composite card, a card
item should not be affected by zooming transformations).
|
boolean |
isValidPosition(Object position)
Determines whether the argument is a valid position/shape for the
card item object.
|
void |
setAttributeValue(IlpAttribute attribute,
Object value)
Sets the value of an attribute of this object.
|
void |
setBaseRectangle(IltGraphicManager manager,
IlvRect newBaseRectangle)
Applies a transformation to the graphic representation in a given
IltGraphicManager, attempting to make the base rectangle resemble
the given rectangle.
|
void |
setCenterPoint(IltGraphicManager manager,
IltGraphic graphic,
IlvPoint position,
IlpPositionSource reason)
Changes the position of the graphic representation in a given
IltGraphicManager.
|
void |
setContainer(ilog.tgo.model.internal.IltCardItemContainer cardContainer)
Specifies the container of this card item.
|
static void |
SetDirectionMapping(IltLegendModifier modifier,
int direction)
Set a new legend modifier for a given position.
|
void |
setShapeInManagerGraphicSetting(IltGraphic graphic,
Object position,
IlpPositionSource reason)
Set the
ShapeInManager graphic setting. |
Object |
transformPosition(IltGraphicManager manager,
Object position)
Applies the manager transformer to the position parameter.
|
void |
updateShapeGraphicSettingInManager(IltGraphicManager manager,
IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
If the graphic representation is visible, updates the shape graphic
setting in manager coordinates.
|
__getIlpObject, addGraphicChangedListener, addStateChangedListener, applyTransform, applyTransform, applyTransform, applyTransformInManager, clearState, cloneForRendering, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphic, computeGraphicAtPosition, copyFrom, createBase, createGraphic, debug, endDelayingComputeGraphic, EndDelayingComputeGraphic, fireAllGraphicChanged, fireGraphicChanged, ForceInit, forgetShapeGraphicSettingInManager, FromGraphic, getAlarmState, getAttacherInfo, getAttacherInfoController, getAutomaticDecorationsDirection, getBaseRectangleInManager, GetBaseStyleMapping, getCenterPoint, getCenterPointInManager, getChildren, getDefaultLabelPosition, getGraphic, getGraphic, getGraphicInHierarchy, getGraphicInteractions, getGraphicNotNull, getGraphicNotNullInHierarchy, getGraphicRepresentationStyle, getGraphicSetting, getGraphicSetting, getGraphicSettings, GetIltObject, getLabel, getLabelOffset, getLabelOffset, getLabelOffset, getLabelPosition, getLabelPosition, getLabelPosition, getLayoutProxy, getLegend, getLegend, getLocalStyle, getLocalStyle, getLogicalType, getName, getObjectInfo, getObjectMapper, getObjectState, getObjectSystemMapper, getPosition, getProperty, getState, getTinyType, getTrapState, hasState, initializeCreatedGraphic, initializeDefaultValues, initializeObject, initializeVisibleGraphic, InitStyle, isEditable, isNearlyVisible, IsPropertyTransient, isSelected, isSelected, isVisible, mapDirection, mappedForUser, objectStateChanged, objectStateCleared, objectStateSet, postCreateGraphic, preCreateGraphic, removeGraphic, removeGraphic, removeGraphic, removeGraphicChangedListener, removeGraphicSetting, removeGraphicSetting, removeProperty, removeStateChangedListener, resetLabelOffset, resetLabelOffset, resetLabelPosition, resetLabelPosition, resetState, restoreVisibility, setAutomaticDecorationsDirection, setAutomaticDecorationsDirection, setBaseRectangleInManager, setCenterPoint, setCenterPoint, setCenterPointInManager, setEditable, setGraphic, setGraphicSetting, setGraphicSetting, setGraphicSetting, setGraphicSettings, setIlpClass, setLabel, setLabelOffset, setLabelOffset, setLabelPosition, setLabelPosition, setLegend, setLogicalType, setName, setObjectState, setPosition, setProperty, SetPropertyTransient, setSelected, setSelectedInternal, setShapeGraphicSetting, setState, setState, setTinyType, setVisible, startDelayingComputeGraphic, StartDelayingComputeGraphic, startVisibility, updateFrom, usingDefaultShape
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, getAttributeValueByName, getIdentifier, getIlpClass, getLocalAttributeValues, getObjectSupport, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValueByName, setLocalAttributeValues, setObjectSupport, toString
public static IltObjectInfo metainfo
IltObject
implementation.public static IltAttribute TypeAttribute
Attribute name: type
.
Value type: IltCardItem.Type
.
public static IltAttribute DirectionAttribute
IlpDirection
.
Attribute name: direction
.
Value type: IlpDirection
.
IlpDirection
@Deprecated public static IlpBooleanKey AntiAliasing
antialiasing
instead.false
by default.IltObjectCustomization.isAntialiasing()
public IltCardItem(Object identifier)
IltCardItem
with an identifier.identifier
- The identifier of this new instancepublic IltCardItem(IlpClass ilpClass, Object identifier)
IltCardItem
with a given class and identifier.ilpClass
- The business class of this new instance. It must be a
subclass of IltCardItem
.identifier
- The identifier of this new instancepublic IltCardItem(IltObjectState oState, String label)
IltCardItem
with label
and object state.oState
- The object statelabel
- The card labelpublic static IltObjectInfo GetIlpClass()
IlpClass
corresponding to this Java class.
Here the IlpClass
interface is implemented by IltObjectInfo
.public ilog.tgo.model.internal.IltCardItemContainer getContainer()
IltCardItemContainer
object
that contains this card itempublic static IltLegendModifier GetDirectionMapping(int direction)
Every time when a card item is rotated to a specific direction, JTGO updates a set of legend values so decorations follow the new orientation.
direction
- The directionpublic static void SetDirectionMapping(IltLegendModifier modifier, int direction)
The legend modifier defines the legend keys and values that will be set when the card item is set to the given direction.
modifier
- The new legend modifierdirection
- The corresponding directionpublic void setContainer(ilog.tgo.model.internal.IltCardItemContainer cardContainer)
This method must only be called internally.
cardContainer
- A reference to the IltCardItemContainer
object that contains this card item.public void setAttributeValue(IlpAttribute attribute, Object value)
VALUE_NOT_SET
for the value
argument.setAttributeValue
in interface IlpAttributeValueHolder
setAttributeValue
in class IltObject
attribute
- The attribute of which the value is set.value
- The new value of the attribute, or
VALUE_NOT_SET
to remove the value
of the attribute.IllegalArgumentException
- if the attribute cannot have
its value modified.public IlvRect getBaseRectangle(IltGraphicManager manager)
getBaseRectangle
in class IltObject
null
if the base has no extent at all@Deprecated public static IltLegend GetClassLegend()
IlpStyleManager
to retrieve the appropriate
style for this IlpClass
.public ilog.util.internal.IlAVector getMappedForUserList()
getMappedForUserList
in class IltObject
@Deprecated public void computeGraphic(IltGraphicManager manager, IlvPoint position)
IlpNetwork
, is enough to make its graphic representation
visible. Once visible, it is updated automatically when needed.IltGraphicManager
. The graphic representation is drawn
at the given position.manager
- The graphic managerposition
- The relative position of the graphic representationpublic ilog.tgo.graphic.internal.base.IltBaseElement createTinyBase(IltcGraphicElementAggregate root)
createTinyBase
in class IltObject
IltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject)
,
IltGraphicRepresentationStyle
,
IltTinyElementBase
,
IltObject.createBase(IltcGraphicElementAggregate)
public Object transformPosition(IltGraphicManager manager, Object position)
computeGraphic(mgr, position)
transformPosition
in class IltObject
manager
- The graphic managerposition
- A valid position for the objectpublic boolean isValidPosition(Object position)
isValidPosition
in class IltObject
position
- The given object to be validated, must be instance of
IlvPoint
classtrue
if the given position is instance of
IlvPoint
class, false
otherwisepublic ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position, Object positionInManager)
null
, the position/shape set will be
the default value.createPositionUpdate
in class IltObject
position
- The shape in stationary coordinatespositionInManager
- The shape in manager coordinates (takes into
account the logical zoom transformer)public void updateShapeGraphicSettingInManager(IltGraphicManager manager, IltGraphic graphic, Object newShape, IlpPositionSource reason)
This method must to be called after the shape graphic setting (in stationary coordinates) has changed.
updateShapeGraphicSettingInManager
in class IltObject
manager
- The graphic managergraphic
- The graphic representation in managernewShape
- The new shape in stationary coordinates;
null
means the current value of the
shape graphic settingreason
- the reason for the shape change, or null
if
unknownpublic Object defaultShape()
defaultShape
in class IltObject
@Deprecated public void applyTransform(IltGraphicManager manager, IltGraphic graphic, IlvTransformer transf, IlpPositionSource reason)
IltObject
IltGraphicManager
.
Note: t
is given relative to the stationary
coordinate system, which is the coordinate system used by the other
IltObject
subclasses API functions.
Note that this method is not supposed to be used when this
IltObject
is in a DataSource.
applyTransform
in class IltObject
manager
- The graphic manager where the object is displayed.graphic
- The graphic representation in the manager.transf
- The transform parameter.reason
- The reason for the shape change, or null
if unknownIltObject.applyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer)
,
IltGraphicManager.getZoomTransformer()
public void setCenterPoint(IltGraphicManager manager, IltGraphic graphic, IlvPoint position, IlpPositionSource reason)
setCenterPoint
in class IltObject
manager
- The graphic managergraphic
- The graphic representation in managerposition
- The new positionprotected IlvPoint getCenterPoint(IltGraphicManager manager, IltGraphic graphic)
getCenterPoint
in class IltObject
manager
- The graphic managergraphic
- The graphic representation in managerpublic void setBaseRectangle(IltGraphicManager manager, IlvRect newBaseRectangle)
setBaseRectangle
in class IltObject
manager
- The graphic managernewBaseRectangle
- Rectangle for basepublic void setShapeInManagerGraphicSetting(IltGraphic graphic, Object position, IlpPositionSource reason)
ShapeInManager
graphic setting.setShapeInManagerGraphicSetting
in class IltObject
graphic
- The graphic associated to the objectposition
- The position to be setpublic boolean isItemMoveable(IltGraphic graphic)
graphic
- The graphic associated to the card itemtrue
when the card item should
be movable; false
otherwiseprotected void copyFrom(IltCardItem other)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.