public abstract class IlvIMapDefinition extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DATASET_MAP
Indicates that the
IlvIMapDefinition object generates
map areas with common attributes for all the points of a data set. |
static int |
POINT_MAP
Indicates that the
IlvIMapDefinition object generates
map areas for specific data points. |
Modifier | Constructor and Description |
---|---|
protected |
IlvIMapDefinition(int type)
Initializes a new
IlvIMapDefinition with the specified
type. |
Modifier and Type | Method and Description |
---|---|
abstract IlvIMapAttributes |
getAttributes(IlvDataSetPoint dp)
Returns the area attributes for the specified data point.
|
abstract IlvIMapAttributes |
getAttributes(IlvLegendItem item)
Returns the area attributes for the specified legend item.
|
abstract IlvIMapAttributes |
getAttributes(IlvTreeListModel model,
TreePath path)
Returns the area attributes for the specified tree model element.
|
int |
getCircleRadius()
Returns the minimum radius used to generate circle map areas.
|
int |
getType()
Returns the type of the definition.
|
boolean |
isChartOrigin()
Indicates whether the coordinates of the map areas should be expressed
in the coordinate system of the chart component.
|
abstract boolean |
mustGenerate(IlvChartRenderer r)
Indicates whether areas should be generated for the specified renderer.
|
void |
setChartOrigin(boolean chartOrigin)
Specifies whether the coordinates of the map areas should be expressed
in the coordinate system of the chart component.
|
void |
setCircleRadius(int radius)
Sets the minimum radius used to generate circle map areas.
|
public static final int DATASET_MAP
IlvIMapDefinition
object generates
map areas with common attributes for all the points of a data set.getType()
,
Constant Field Valuespublic static final int POINT_MAP
IlvIMapDefinition
object generates
map areas for specific data points.getType()
,
Constant Field Valuesprotected IlvIMapDefinition(int type)
IlvIMapDefinition
with the specified
type.type
- The type of the definition.getType()
public final int getType()
DATASET_MAP
,
POINT_MAP
public void setChartOrigin(boolean chartOrigin)
true
.chartOrigin
- If true
, the coordinates of the
map areas should be expressed in the coordinate system of the chart
component. If false
, the coordinates must be
expressed in the coordinate system of the chart area component.IlvChart.getChartArea()
public final boolean isChartOrigin()
setChartOrigin(boolean)
public void setCircleRadius(int radius)
public final int getCircleRadius()
5
.public abstract boolean mustGenerate(IlvChartRenderer r)
public abstract IlvIMapAttributes getAttributes(IlvDataSetPoint dp)
public abstract IlvIMapAttributes getAttributes(IlvLegendItem item)
public abstract IlvIMapAttributes getAttributes(IlvTreeListModel model, TreePath path)
model
- Tree model.path
- A tree path starting at the tree model root and ending at
the specific tree model node.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.