com.microstrategy.web.transform.StyleMapClause |
![]() |
This interface represents a generic clause in a Style Map.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CLAUSE_CONDITION | A condition clause. | |||||||||
int | CLAUSE_DEFAULT | A default clause. | |||||||||
int | CLAUSE_UNKNOWN | An unknown clause. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getToStyle()
Returns the style to map to.
| ||||||||||
abstract int |
getType()
Returns the type of the clause.
| ||||||||||
abstract StyleMapperResult |
mapStyle(String fromStyle, StyleRequestContext context)
Maps the specified style to a new style based on the data in the
StyleRequestContext object as well as any additional data specified on
the condition. | ||||||||||
abstract void |
setToStyle(String toStyle)
Sets the style to map to.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
A condition clause.
A default clause.
An unknown clause.
Returns the style to map to.
Returns the type of the clause.
Maps the specified style to a new style based on the data in the StyleRequestContext
object as well as any additional data specified on
the condition.
fromStyle | The style that is being requested. |
---|---|
context | The data in the current style's request context. |
StyleMapperResult
object that describes the result of
the mapping condition.
Sets the style to map to.
toStyle | The style to map to. |
---|