Customizing shelf representations

Some properties are mapped, which means that they are computed on the basis of the state and alarm information set in the object (column Set).

CSS properties for the representation of shelves, card carriers, cards and ports 

Property Name

Type

Set

Default Value

Description

foreground

Color

Yes

28% gray in the IltObject class style

Denotes the foreground color of the object base.

background

Color

Yes

Transparent ( null )

Denotes the background color of the object base.

fillStyle

ilog.util.IlFillStyle

Network node

IlFillStyle.SOLID_COLOR for user-defined business objects

IlFillStyle.PATTERN for predefined business objects

Denotes the style used to fill the base of an object.

Possible values are:

IlFillStyle.NO_FILL

IlFillStyle.SOLID_COLOR

IlFillStyle.LINEAR_GRADIENT

IlFillStyle.RADIAL_GRADIENT

IlFillStyle.TEXTURE

IlFillStyle.PATTERN

fillTexture

Image

Network node

null

Denotes the texture used to fill the base of an object. This property is only used if fillStyle is set to IlFillStyle.TEXTURE.

fillStart

Float

Network node

0f

Returns the position where the gradient of an object starts, that is, where the color is the one defined by property foreground. This property is only used if fillStyle is set to IlFillStyle.RADIA_GRADIENT or IlFillStyle.LINEAR_GRADIENT.

fillEnd

Float

Network node

1f

Returns the position where the gradient of an object ends, that is, where the color is the one defined by property background. This property is only used if fillStyle is set to IlFillStyle.RADIA_GRADIENT or IlFillStyle.LINEAR_GRADIENT

fillAngle

Float

Network node

0

Returns the angle (in degrees) of the gradient used to fill the base of an object. This property is only used if fillStyle is set to IlFillStyle.RADIAL_GRADIENT or IlFillStyle.LINEAR_GRADIENT

fillPattern

Pattern

Yes

null (Solid)

Denotes the pattern used to fill the base of an object. This property is only used if fillStyle is set to IlFillStyle.PATTERN.

detailLevel

enum

Yes

MaximumDetails

Defines the level of detail to be used to draw the base.

borderColor

Color

Yes

10% gray

Denotes the primary color of the base border.

borderColor2

Color

Yes

60% gray

Denotes the secondary color of the base border.

borderWidth

float

Yes

1 pixel

Denotes the width of the base border.

borderLineStyle

float[]

Yes

null (Solid)

Denotes the line style used to draw the base border.

borderPattern

Pattern

Yes

null

Denotes the pattern used to draw the base border.

reliefBorders

boolean

Yes

true

Denotes whether the base border is drawn in relief or not.

Note

The above table of properties also applies to card carriers, cards and ports.

A shelf also displays an outline around the slots and an alarm border in case of alarms. This representation can be customized through the following additional property.

CSS property for the shelf outline

Property Name

Type

Default Value

Description

frameColor

Color

black

Denotes the outline color of a shelf.