|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.chart.style.AbstractStyle com.jidesoft.chart.style.PointStyle
public class PointStyle
The style for a point of the chart
Field Summary | |
---|---|
static PointShape |
DEFAULT_SHAPE
The default shape is PointShape.DISC |
static int |
DEFAULT_SIZE
The default size is 5 pixels. |
Constructor Summary | |
---|---|
PointStyle()
Create a Point Style using default shape (DISC) and size (5 pixels) |
|
PointStyle(Color color)
Create a Point Style using the supplied color and default shape and size |
|
PointStyle(Color color,
PointShape shape)
Create a Point Style using the supplied color and shape, and using a default size |
|
PointStyle(Color color,
PointShape shape,
int size)
Create a Point Style using the supplied color, shape and size |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
PointShape |
getShape()
Returns the shape of the points |
int |
getSize()
Returns the size of the points |
int |
hashCode()
|
void |
setShape(PointShape shape)
Specify the shape of the points |
void |
setSize(int size)
Specify the size of the points |
String |
toString()
|
Methods inherited from class com.jidesoft.chart.style.AbstractStyle |
---|
getColor, getPaint, setColor, setPaint |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_SIZE
public static final PointShape DEFAULT_SHAPE
Constructor Detail |
---|
public PointStyle()
public PointStyle(Color color)
color
- the suggested color to use when rendering the points (the renderer may override this suggestion)public PointStyle(Color color, PointShape shape)
color
- the suggested color to use for rendering the pointsshape
- the suggested shape to use for rendering the pointspublic PointStyle(Color color, PointShape shape, int size)
color
- the suggested color to use for rendering the pointsshape
- the suggested shape to use for rendering the pointssize
- the size of the pointsMethod Detail |
---|
public PointShape getShape()
public void setShape(PointShape shape)
shape
- the new shape of the pointspublic int getSize()
public void setSize(int size)
size
- the new size of the pointspublic int hashCode()
hashCode
in class AbstractStyle
public boolean equals(Object obj)
equals
in class AbstractStyle
public String toString()
toString
in class Object
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |