Klasse ItemShape
java.lang.Object
com.inet.report.chart.plot.ItemShape
- Alle implementierten Schnittstellen:
Serializable
This class defines the shapes which used in the chart.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final doubleThe default shape size.static final intThe chart use only circle shapes.static final intThe chart use a shapes sequence.static final intThe chart use only diamond shapes.static final intThe chart use only rectangle shapes.static final intThe chart use only triangle shapes. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungcopy()Returns a copy of this item shape.booleandoubleReturns the shape size.intReturns the shape form.inthashCode()voidsetShapeSize(double shapeSize) Sets the shape size.voidsetShapeType(int shapeType) Sets the shape form.
-
Felddetails
-
DEFAULT_SHAPE_SIZE
public static final double DEFAULT_SHAPE_SIZEThe default shape size.- Siehe auch:
-
TYPE_DEFAULT_SHAPE
public static final int TYPE_DEFAULT_SHAPEThe chart use a shapes sequence.- Siehe auch:
-
TYPE_RECTANGLE_SHAPE
public static final int TYPE_RECTANGLE_SHAPEThe chart use only rectangle shapes.- Siehe auch:
-
TYPE_CIRCLE_SHAPE
public static final int TYPE_CIRCLE_SHAPEThe chart use only circle shapes.- Siehe auch:
-
TYPE_DIAMOND_SHAPE
public static final int TYPE_DIAMOND_SHAPEThe chart use only diamond shapes.- Siehe auch:
-
TYPE_TRIANGLE_SHAPE
public static final int TYPE_TRIANGLE_SHAPEThe chart use only triangle shapes.- Siehe auch:
-
-
Konstruktordetails
-
ItemShape
public ItemShape()Creates a item shape with default type and size. This item shape is used by legend in the list of chart items and by items of chart plot, e.g. by line plot with markers.- Seit:
- 8.0
- Siehe auch:
-
ItemShape
public ItemShape(int type, double size) Creates a item shape. This item shape is used by legend in the list of chart items and by items of chart plot, e.g. by line plot with markers.- Parameter:
type- the shape typesize- the shape size- Löst aus:
IllegalArgumentException- by illegal shape type or negative shape size.- Seit:
- 8.0
- Siehe auch:
-
-
Methodendetails
-
equals
-
hashCode
-
getShapeType
public int getShapeType()Returns the shape form. This shape is used by legend and by items of the plot.- Gibt zurück:
- the type
- Seit:
- 8.0
- Siehe auch:
-
setShapeType
public void setShapeType(int shapeType) Sets the shape form. This shape is used by legend and by items of the plot.- Parameter:
shapeType- the type- Löst aus:
IllegalArgumentException- by unsupported shape type.- Seit:
- 8.0
- Siehe auch:
-
getShapeSize
public double getShapeSize()Returns the shape size. The usefully range is 0..10.- Gibt zurück:
- the shape size.
- Seit:
- 8.0
- Siehe auch:
-
setShapeSize
public void setShapeSize(double shapeSize) Sets the shape size. The usefully range is 0..10.- Parameter:
shapeSize- the shape size to set- Löst aus:
IllegalArgumentException- if shape size is less than zero.- Seit:
- 8.0
- Siehe auch:
-
copy
Returns a copy of this item shape. Copies the shape size and type properties of this.- Gibt zurück:
- the copy
- Seit:
- 8.0
-