public class IltTinyImageFunction extends Object implements IlpCSSFunction
The function should be used as follows:
object."ilog.tgo.model.IltNetworkElement" { icon : '@|tinyImage()'; } object."ilog.tgo.model.IltNetworkElement/graphicRepresentation" { icon : '@|tinyImage()'; }
Note: This function does not support user-defined business objects.
IltObject
,
Serialized FormConstructor and Description |
---|
IltTinyImageFunction()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object[] args,
Class<?> type,
IlpContext appc,
IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute attribute)
Calls the function.
|
String |
getDelimiters()
Returns the delimiters of the function parameters.
|
String |
getName()
Returns the function name, tinyImage.
|
boolean |
returnDelimitersAsToken()
Returns
true if the delimiters are also returned as token. |
public Object call(Object[] args, Class<?> type, IlpContext appc, IlpGraphicView view, IlpRepresentationObject ro, IlpAttribute attribute)
IlpCSSFunction
call
in interface IlpCSSFunction
args
- The parameters of the functions.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
.public String getDelimiters()
IlpCSSFunction
getDelimiters
in interface IlpCSSFunction
null
or empty return value means there is no delimiter, so all the
parameters are returned as a single token.public String getName()
getName
in interface IlpCSSFunction
public boolean returnDelimitersAsToken()
IlpCSSFunction
true
if the delimiters are also returned as token.returnDelimitersAsToken
in interface IlpCSSFunction
true
means the delimiters are returned as token;
false
means the delimiters are discarded (default).© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.