|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.model.IlpDefaultObject
ilog.tgo.model.IltObject
ilog.tgo.model.IltAbstractLink
ilog.tgo.model.IltLink
public class IltLink
This class models links between network objects.
| Nested Class Summary | |
|---|---|
static class |
IltLink.Media
This enumeration lists the media of different network links. |
static class |
IltLink.Technology
This enumeration lists the technologies of network links. |
static class |
IltLink.Type
This enumeration lists the types of network links. |
| Nested classes/interfaces inherited from class ilog.tgo.model.IltObject |
|---|
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType |
| Field Summary | |
|---|---|
static IlpPointKey |
DecorationsOffset
Deprecated. Please use CSS property decorationsOffset instead. |
static IltBaseStyleMapping |
DefaultLinkBaseStyleMapping
Deprecated. Please use cascading style sheets with attribute selectors to customize the representation of the objects according to their states. |
static IltLink.Media |
DefaultMedia
The default media for a new link object. |
static IltLink.Technology |
DefaultTechnology
The default technology for a new link object. |
static IltLink.Type |
DefaultType
The default type for a new link object. |
static IlpColorKey |
FromArrowBorderColor
Deprecated. Please use CSS property fromArrowBorderColor instead. |
static IlpColorKey |
FromArrowBorderColor2
Deprecated. Please use CSS property fromArrowBorderColor2 instead. |
static IlpColorKey |
FromArrowColor
Deprecated. Please use CSS property fromArrowColor instead. |
static IlpBooleanKey |
FromArrowReliefBorders
Deprecated. Please use CSS property fromArrowReliefBorders instead. |
static IlpFloatKey |
FromArrowSize
Deprecated. Please use CSS property fromArrowSize instead. |
static IlpBooleanKey |
HasFromArrow
Deprecated. Please use CSS property hasFromArrow instead. |
static IlpBooleanKey |
HasToArrow
Deprecated. Please use CSS property hasToArrow instead. |
static IlpColorKey |
InnerBackgroundColor
Deprecated. Please use CSS property innerBackground instead. |
static IlpColorKey |
InnerBorderColor
Deprecated. Please use CSS property innerBorderColor instead. |
static IlpColorKey |
InnerBorderColor2
Deprecated. Please use CSS property innerBorderColor2 instead. |
static IlpLineStyleKey |
InnerBorderLineStyle
Deprecated. Please use CSS property innerBorderLineStyle instead. |
static IlpFloatKey |
InnerBorderWidth
Deprecated. Please use CSS property innerBorderWidth instead. |
static IlpFloatKey |
InnerCenterWidth
Deprecated. Please use CSS property innerCenterWidth instead. |
static IlpColorKey |
InnerForegroundColor
Deprecated. Please use CSS property innerForeground instead. |
static IlpLineStyleKey |
InnerLineStyle
Deprecated. Please use CSS property innerLineStyle instead. |
static IlpBooleanKey |
InnerReliefBorders
Deprecated. Please use CSS property innerReliefBorders instead. |
static IltAttribute |
MediaAttribute
Attribute used to define the media of the link. |
static IlpImageKey |
MediaIcon
|
static IlpBooleanKey |
MediaVisible
Deprecated. Please use CSS property mediaVisible instead. |
static IltObjectInfo |
metainfo
Contains metainformation about this IltObject class. |
static IltAttribute |
TechnologyAttribute
This attribute is used to define the technology of the link. |
static IlpColorKey |
TechnologyColor
|
static IlpBooleanKey |
TechnologyColorVisible
The legend property specifying whether the technology color should be mapped to the link base or not. |
static IlpImageKey |
TechnologyIcon
|
static IlpIntegerKey |
TechnologyIconBorder
|
static IlpBooleanKey |
TechnologyIconVisible
The legend property specifying whether the technology icon decoration is visible or not. |
static IlpColorKey |
ToArrowBorderColor
Deprecated. Please use CSS property toArrowBorderColor instead. |
static IlpColorKey |
ToArrowBorderColor2
Deprecated. Please use CSS property toArrowBorderColor2 instead. |
static IlpColorKey |
ToArrowColor
Deprecated. Please use CSS property toArrowColor instead. |
static IlpBooleanKey |
ToArrowReliefBorders
Deprecated. Please use CSS property toArrowReliefBorders instead. |
static IlpFloatKey |
ToArrowSize
Deprecated. Please use CSS property toArrowSize instead. |
static IltAttribute |
TypeAttribute
Attribute used to define the type of the link. |
static IlpBooleanKey |
UseAlarmColorForBase
Deprecated. Please use CSS property useAlarmColorForBase instead. |
| Fields inherited from class ilog.tgo.model.IltAbstractLink |
|---|
DefaultLinkDistance, FromPort, FromPortAttribute, propSupport, ToPort, ToPortAttribute |
| Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
VALUE_NOT_SET |
| Constructor Summary | |
|---|---|
IltLink(IlpClass ilpClass,
Object identifier)
Creates a new network link with a given class and identifier. |
|
IltLink(IltObjectState state)
Creates a new network link with no label and DefaultMedia as
its media. |
|
IltLink(IltObjectState state,
IltLink.Media media)
Creates a new network link with no label. |
|
IltLink(IltObjectState state,
String label,
IltLink.Media media)
Creates a new network link. |
|
IltLink(Object identifier)
Creates a new network link with a given identifier. |
|
| Method Summary | |
|---|---|
void |
addProtection(IltSONET.End end,
IltSONET.Protection state)
Adds a given protection from a given link end. |
protected void |
copyFrom(IltObject o)
Copies the attributes from an original object. |
ilog.tgo.graphic.internal.base.IltBaseElement |
createBase(IltcGraphicElementAggregate root)
Creates a base element, suitable for this particular kind of object, for use with the Symbolic Graphic Representation Style. |
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
|
static IltBaseStyleMapping |
GetBaseBiStyleMapping(IltBaseStyle directStyle,
IltBaseStyle reverseStyle)
Deprecated. Please use CSS with attribute selectors instead. |
static IltLegend |
GetClassLegend()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information. |
IlvPoint |
getDecorationsOffset()
Deprecated. Please use the Style API with key IltLink.DecorationsOffset |
IlvPoint |
getDecorationsOffset(IltGraphic graphic)
Deprecated. Please use the CSS property decorationsOffset instead. |
IlvPoint |
getDecorationsOffset(IltGraphicManager mgr)
Deprecated. Please use the CSS property decorationsOffset instead. |
int |
getDefaultLabelPosition(IltGraphic graphic)
Returns a default label position, if the value set in the legend is IlvDirection.BadPosition. |
static IltObjectInfo |
GetIlpClass()
Returns the IlpClass corresponding to this Java class. |
ilog.util.internal.IlAVector |
getMappedForUserList()
|
IltLink.Media |
getMedia()
Returns the media of this link object. |
Enumeration |
getProtections(IltSONET.End end)
Returns the protections at a given link end. |
IltLineSpec |
getRepresentation()
Deprecated. |
IltLink.Technology |
getTechnology()
Returns the technology attribute of this link object. |
IltLink.Type |
getType()
Returns the type of this link object. |
float |
getWidth(IltGraphicManager manager,
IltGraphic graphic)
Returns the width of the graphic representation. |
boolean |
hasProtection(IltSONET.End end,
IltSONET.Protection state)
Tells whether a given link end has a given protection. |
protected void |
initializeObject(IltObjectState state,
String name)
This method is only called by the constructor. |
boolean |
removeProtection(IltSONET.End end,
IltSONET.Protection state)
Removes a given protection from a given link end. |
void |
resetDecorationsOffset()
Deprecated. Please use the CSS property decorationsOffset instead. |
void |
resetDecorationsOffset(IltGraphicManager manager)
Deprecated. Please use the CSS property decorationsOffset instead. |
void |
setAttributeValue(IlpAttribute attribute,
Object value)
Sets the value of an attribute of this object. |
void |
setDecorationsOffset(float x,
float y)
Deprecated. Please use the CSS property decorationsOffset instead. |
void |
setDecorationsOffset(IltGraphicManager mgr,
IlvPoint offset)
Deprecated. Please use the CSS property decorationsOffset instead. |
void |
setDecorationsOffset(IlvPoint offset)
Deprecated. Please use the CSS property decorationsOffset instead. |
void |
setMedia(IltLink.Media media)
Sets the media of this link object. |
static void |
setMediaIcon(IltLink.Media media,
Image icon)
|
void |
setProperty(Object name,
Object value)
Sets the named property. |
void |
setProtections(IltSONET.End end,
IltSONET.Protection[] newprotections)
Replaces the protections at a given link end. |
void |
setRepresentation(IltLineSpec representation)
Deprecated. |
void |
setTechnology(IltLink.Technology technology)
Sets the technology attribute for this link object. |
void |
setType(IltLink.Type type)
Sets the type of this link object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static IltObjectInfo metainfo
IltObject class.
public static IltAttribute MediaAttribute
Attribute name: media.
Value type: IltLink.Media.
getMedia(),
setMedia(ilog.tgo.model.IltLink.Media)public static IltLink.Media DefaultMedia
Media.Fiber at the beginning.
public static IltAttribute TechnologyAttribute
Attribute name: technology.
Value type: IltLink.Technology.
getTechnology(),
setTechnology(ilog.tgo.model.IltLink.Technology)public static IltLink.Technology DefaultTechnology
Technology.Other.
public static IltAttribute TypeAttribute
Attribute name: type.
Value type: IltLink.Type.
public static IltLink.Type DefaultType
Type.Standard at the beginning.
public static IlpImageKey MediaIcon
public static IlpImageKey TechnologyIcon
public static IlpIntegerKey TechnologyIconBorder
public static IlpColorKey TechnologyColor
public static IlpBooleanKey UseAlarmColorForBase
useAlarmColorForBase instead.
IltObjectCustomization.isUseAlarmColorForBase()public static IlpBooleanKey MediaVisible
mediaVisible instead.
IltObjectCustomization.isMediaVisible()public static IlpBooleanKey TechnologyIconVisible
IltObjectCustomization.isTechnologyIconVisible()public static IlpBooleanKey TechnologyColorVisible
IltObjectCustomization.isTechnologyColorVisible()public static IlpBooleanKey HasFromArrow
hasFromArrow instead.
IltObjectCustomization.getHasFromArrow()public static IlpBooleanKey HasToArrow
hasToArrow instead.
IltObjectCustomization.getHasToArrow()public static IlpFloatKey FromArrowSize
fromArrowSize instead.
IltObjectCustomization.getFromArrowSize()public static IlpFloatKey ToArrowSize
toArrowSize instead.
IltObjectCustomization.getToArrowSize()public static IlpColorKey FromArrowColor
fromArrowColor instead.
IltObjectCustomization.getFromArrowColor()public static IlpBooleanKey FromArrowReliefBorders
fromArrowReliefBorders instead.true, FromArrowBorderColor and FromArrowBorderColor2
are respectively the bright and dark colors used for the relief effect. If it is
false, FromArrowBorderColor is used to draw the border line.
This key is mapped.
IltObjectCustomization.getFromArrowReliefBorders()public static IlpColorKey FromArrowBorderColor
fromArrowBorderColor instead.FromArrowReliefBorders value is
true, FromArrowBorderColor is the bright color used for the relief
effect. If the property FromArrowReliefBorders value is
false, it represents the color of the
border line.
This key is mapped.
IltObjectCustomization.getFromArrowBorderColor()public static IlpColorKey FromArrowBorderColor2
fromArrowBorderColor2 instead.FromArrowReliefBorders value is
true, FromArrowBorderColor2 is the dark color used for the relief
effect. If the property FromArrowReliefBorders value is
false, it is not used.
This key is mapped.
IltObjectCustomization.getFromArrowBorderColor2()public static IlpColorKey ToArrowColor
toArrowColor instead.
IltObjectCustomization.getToArrowColor()public static IlpBooleanKey ToArrowReliefBorders
toArrowReliefBorders instead.true, ToArrowBorderColor and ToArrowBorderColor2
are, respectively, the bright and dark colors used for the relief effect. If it is
false, ToArrowBorderColor is used to draw the border line.
This key is mapped.
IltObjectCustomization.getToArrowReliefBorders()public static IlpColorKey ToArrowBorderColor
toArrowBorderColor instead.ToArrowReliefBorders value is
true, ToArrowBorderColor is the bright color used for the relief
effect. If the property ToArrowReliefBorders value is
false, it represents the color of the
border line.
This key is mapped.
IltObjectCustomization.getToArrowBorderColor()public static IlpColorKey ToArrowBorderColor2
toArrowBorderColor2 instead.ToArrowReliefBorders value is
true, ToArrowBorderColor2 is the dark color used for the relief
effect. If the property ToArrowReliefBorders value is
false, it is not used.
This key is mapped.
IltObjectCustomization.getToArrowBorderColor2()public static IlpFloatKey InnerCenterWidth
innerCenterWidth instead.
IltObjectCustomization.getInnerCenterWidth()public static IlpFloatKey InnerBorderWidth
innerBorderWidth instead.
IltObjectCustomization.getInnerBorderWidth()public static IlpLineStyleKey InnerLineStyle
innerLineStyle instead.
IltObjectCustomization.getInnerLineStyle()public static IlpColorKey InnerForegroundColor
innerForeground instead.
IltObjectCustomization.getInnerForeground()public static IlpColorKey InnerBackgroundColor
innerBackground instead.null
value means a transparent background.
This key is mapped.
IltObjectCustomization.getInnerBackground()public static IlpBooleanKey InnerReliefBorders
innerReliefBorders instead.true, BorderColor and BorderColor2 are,
respectively, the bright and dark colors used for the relief effect. If it is
false, they represent the foreground and background colors of the
border lines.
This key is mapped.
IltObjectCustomization.getInnerReliefBorders()public static IlpLineStyleKey InnerBorderLineStyle
innerBorderLineStyle instead.ReliefBorders is false.
This key is mapped.
IltObjectCustomization.getInnerBorderLineStyle()public static IlpColorKey InnerBorderColor
innerBorderColor instead.ReliefBorders value is
true, BorderColor is the bright color used for the relief
effect. If the property ReliefBorders value is
false, it represents the foreground color of the
border line.
This key is mapped.
IltObjectCustomization.getInnerBorderColor()public static IlpColorKey InnerBorderColor2
innerBorderColor2 instead.ReliefBorders value is
true, BorderColor is the dark color used for the relief
effect. If the property ReliefBorders value is
false, it represents the background color of the
border line. It is used only if a line style is specified for the border lines.
This key is mapped.