public static class IlvGanttFunction.DarkerColor extends IlvCSSFunction
DarkerColor
implements an expression that can be used in a
style sheet to return a darker color from a Color
.ANY, ANY_PROPERTIES, ANY_PSEUDOCLASSES
Constructor and Description |
---|
DarkerColor()
Builds a new
DarkerColor CSS function. |
Modifier and Type | Method and Description |
---|---|
Object |
call(Object[] args,
Class type,
ilog.views.util.css.IlvCSSModel model,
Object node,
Object target,
Object closure)
Calls the function.
|
String |
getName()
Returns the name of the function that will be known in the
style sheet.
|
String |
getShortDescription()
Returns a short description of the function.
|
getDelimiters, getDependencies, getImportance, returnDelimitersAsToken
public String getName()
getName
in class IlvCSSFunction
public Object call(Object[] args, Class type, ilog.views.util.css.IlvCSSModel model, Object node, Object target, Object closure)
call
in class IlvCSSFunction
args
- The parameters of the function.type
- The expected returned type, which may be null
.
It is wise
to return an object compatible with the expected type, or a
String.model
- The current model. Usually the model comes from
the engine, but there are some situations where it is a
new model.node
- The current node. This is the current model object
being called on. Inside a @# construct, node represents the
parent of the fake node indeed used to process the @#
construct, i.e. the real node of interest.target
- The current rendered object being called on.closure
- An object set by
IlvCSSBeans.setFunctionClosure(java.lang.Object)
public String getShortDescription()
IlvLocaleUtil.getCurrentLocale()
.getShortDescription
in class IlvCSSFunction
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.