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 Form| Constructor 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)
IlpCSSFunctioncall in interface IlpCSSFunctionargs - 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()
IlpCSSFunctiongetDelimiters in interface IlpCSSFunctionnull
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 IlpCSSFunctionpublic boolean returnDelimitersAsToken()
IlpCSSFunctiontrue if the delimiters are also returned as token.returnDelimitersAsToken in interface IlpCSSFunctiontrue means the delimiters are returned as token;
false means the delimiters are discarded (default).© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.