public class DataStyleContext
extends java.lang.Object
Constructor and Description |
---|
DataStyleContext(java.lang.String attributeName,
java.lang.Object attributeValue,
java.lang.Object style)
Deprecated.
|
DataStyleContext(java.lang.String attributeName,
java.lang.Object attributeValue,
java.lang.Object style,
DataStyleType type,
java.util.ArrayList<java.lang.Integer> series,
int id)
Represents a data style that was derived from an attribute name/value
pair
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName()
The attribute name is generally mapped to a column in a table or a
data layer
|
java.lang.Object |
getAttributeValue()
The value of the attribute in
getAttributeName |
java.lang.Object |
getDataStyle()
Deprecated.
replaced with getStyle()
This style value is automatically assigned by the graph based on
the specified attribute name/value pair and can be overwritten by a
DataStyleCallback
Object type depends on getType . For shape-based type, a
MarkerTemplate object is returned and for a color-based type,
a Color object |
java.lang.Object |
getDefaultValue()
Deprecated.
|
int |
getID() |
java.util.ArrayList<java.lang.Integer> |
getSeries()
Returns the index of all the series that is formatted with this style
|
java.lang.Object |
getStyle()
This style value is automatically assigned by the graph based on
the specified attribute name/value pair and can be overwritten by a
DataStyleCallback
Object type depends on getType . |
java.lang.Object |
getStyleKey()
Deprecated.
|
DataStyleType |
getType()
The type of style formatting as defined in
DataStyleType |
public DataStyleContext(java.lang.String attributeName, java.lang.Object attributeValue, java.lang.Object style, DataStyleType type, java.util.ArrayList<java.lang.Integer> series, int id)
attributeName
- Name of the data layerattributeValue
- Value of the attributestyle
- The style object. See getStyle()
type
- The type of style formatting as defined in DataStyleTypeseries
- List of series index which are formatted by this stylepublic DataStyleContext(java.lang.String attributeName, java.lang.Object attributeValue, java.lang.Object style)
DataStyleContext(String, Object, Object, DataStyleType, ArrayList, int)
instead.
This constructor should not be called directly by application developers.public java.lang.String getAttributeName()
public java.lang.Object getAttributeValue()
getAttributeName
public java.lang.Object getDataStyle()
DataStyleCallback
Object type depends on getType
. For shape-based type, a
MarkerTemplate object is returned and for a color-based type,
a Color objectpublic java.lang.Object getStyle()
DataStyleCallback
Object type depends on getType
. For shape-based type, a
DataStyleType.Shape object is returned and for a color-based type,
a Color objectpublic DataStyleType getType()
DataStyleType
public java.util.ArrayList<java.lang.Integer> getSeries()
public int getID()
public java.lang.Object getStyleKey()
getAttributeValue()
instead.getAttributeValue()
public java.lang.Object getDefaultValue()
getDataStyle()
instead.getDataStyle()