public class IltTrap extends Object
IltTrap.State
. The latter class models the traps carried by
a telecom object.IltObjectState.getTrapState()
Modifier and Type | Class and Description |
---|---|
static class |
IltTrap.State
This class provides a representation model for the traps carried by a
telecom object.
|
static class |
IltTrap.Type
This enumeration lists the possible types of traps supported by the system.
|
Modifier | Constructor and Description |
---|---|
protected |
IltTrap()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
For IltSystem.Init
|
static IltAlarmSystem |
GetAlarmSystem()
Returns the only instance of IltTrap.
|
static void |
SetTypeMapping(IltTrap.Type t,
Color normal,
Color bright,
Color dark,
String mnemonic,
String description)
Deprecated.
|
static void |
SetTypeMapping(IltTrap.Type t,
IlpColorKey normalKey,
Color defaultNormalValue,
IlpColorKey brightKey,
Color defaultBrightValue,
IlpColorKey darkKey,
Color defaultDarkValue,
IlpStringKey abbreviationKey,
String defaultAbbreviationValue,
IlpStringKey expandedKey,
String defaultExpandedValue)
Deprecated.
The Style API has been replaced by the Cascading Style Sheet
mechanism.
|
static void |
SetTypeMapping(IltTrap.Type t,
IltKey.Color normalKey,
Color defaultNormalValue,
IltKey.Color brightKey,
Color defaultBrightValue,
IltKey.Color darkKey,
Color defaultDarkValue,
IltKey.String abbreviationKey,
String defaultAbbreviationValue,
IltKey.String expandedKey,
String defaultExpandedValue)
Deprecated.
The Style API has been replaced by the Cascading Style Sheet
mechanism.
|
public static IltAlarmSystem GetAlarmSystem()
@Deprecated public static void SetTypeMapping(IltTrap.Type t, Color normal, Color bright, Color dark, String mnemonic, String description)
IltSettings.SetValue(java.lang.Object, java.lang.Object)
instead.The trap type representation shall now be customized using
IltSettings.SetValue(java.lang.Object, java.lang.Object)
. The following
properties are available:
Instead of calling this method, use:
IltSettings.SetValue("Trap.Type.name.Color", normal); IltSettings.SetValue("Trap.Type.name.BrightColor", bright); IltSettings.SetValue("Trap.Type.name.DarkColor", dark); IltSettings.SetValue("Trap.Type.name.Abbreviation", mnemonic); IltSettings.SetValue("Trap.Type.name.Description", description);
IltSettings
@Deprecated public static void SetTypeMapping(IltTrap.Type t, IltKey.Color normalKey, Color defaultNormalValue, IltKey.Color brightKey, Color defaultBrightValue, IltKey.Color darkKey, Color defaultDarkValue, IltKey.String abbreviationKey, String defaultAbbreviationValue, IltKey.String expandedKey, String defaultExpandedValue)
IltObject
class legend, so that the keys are served for
any IltObject
.
You can create 5 new IltKey instances and choose the default values you want. All objects with a trap of this type will be drawn using these default values, except if you set the keys locally in the object legend.
The trap type representation shall now be customized using
IltSettings.SetValue(java.lang.Object, java.lang.Object)
. The following
properties are available:
Instead of calling this method, use:
IltSettings.SetValue("Trap.Type.name.Color", normal); IltSettings.SetValue("Trap.Type.name.BrightColor", bright); IltSettings.SetValue("Trap.Type.name.DarkColor", dark); IltSettings.SetValue("Trap.Type.name.Abbreviation", mnemonic); IltSettings.SetValue("Trap.Type.name.Description", description);
IltSettings
@Deprecated public static void SetTypeMapping(IltTrap.Type t, IlpColorKey normalKey, Color defaultNormalValue, IlpColorKey brightKey, Color defaultBrightValue, IlpColorKey darkKey, Color defaultDarkValue, IlpStringKey abbreviationKey, String defaultAbbreviationValue, IlpStringKey expandedKey, String defaultExpandedValue)
IltObject
class legend, so that the keys are served for
any IltObject
.
You can create 5 new IltKey instances and choose the default values you want. All objects with a trap of this type will be drawn using these default values, except if you set the keys locally in the object legend.
The trap type representation shall now be customized using
IltSettings.SetValue(java.lang.Object, java.lang.Object)
. The following
properties are available:
Instead of calling this method, use:
IltSettings.SetValue("Trap.Type.name.Color", normal); IltSettings.SetValue("Trap.Type.name.BrightColor", bright); IltSettings.SetValue("Trap.Type.name.DarkColor", dark); IltSettings.SetValue("Trap.Type.name.Abbreviation", mnemonic); IltSettings.SetValue("Trap.Type.name.Description", description);
IltSettings
public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.