public class IltSeverityIconFunction extends Object implements IlpCSSFunction
By default, only the impact alarm severities have icons registered.
However, you can either modify or register icons for all alarm
severities by calling
IltSettings.SetValue(Object,Object)
.
The function should be used as follows:
icon : '@|severityIcon(@|highestNewSeverity())'; icon : '@|severityIcon("Raw.Major")'; icon : '@|severityIcon("Impact.MajorHigh")';
IltSettings
,
Serialized FormConstructor and Description |
---|
IltSeverityIconFunction()
The default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object[] args,
Class type,
IlpContext appc,
IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute attribute)
Called to execute the function.
|
String |
getDelimiters()
Returns the delimiters of the function parameters.
|
String |
getName()
Retrieves the name of the function.
|
boolean |
returnDelimitersAsToken()
If the delimiters are also returned as a token,
true is
returned. |
public String getName()
getName
in interface IlpCSSFunction
public String getDelimiters()
getDelimiters
in interface IlpCSSFunction
public boolean returnDelimitersAsToken()
true
is
returned.returnDelimitersAsToken
in interface IlpCSSFunction
false
is returned.public Object call(Object[] args, Class type, IlpContext appc, IlpGraphicView view, IlpRepresentationObject ro, IlpAttribute attribute)
call
in interface IlpCSSFunction
args
- The function parameters.type
- The expected type to be returned. It can be null
.appc
- The application context.view
- The graphic view.ro
- The current representation object.attribute
- The business attribute.String
.IlvCSSFunction
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.