|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.chart.series.Slice
public class Slice
Class that represents a pie slice in a series.
| Constructor Summary | |
|---|---|
Slice(double value,
double startAngle,
double endAngle,
double rho)
Creates a slice. |
|
Slice(Slice slice)
Creates a copy of the given slice. |
|
| Method Summary | |
|---|---|
double |
getEndAngle()
Returns the ending angle of the slice. |
double |
getEndRho()
Returns the ending point radius of the slice. |
double |
getMargin()
Returns the margin of the slice. |
double |
getRho()
Returns the radius of the slice. |
double |
getStartAngle()
Returns the starting angle of the slice. |
double |
getStartRho()
Returns the starting point radius of the slice. |
double |
getValue()
Returns the value associated with the slice. |
void |
setEndAngle(double endAngle)
Sets the ending angle of the slice. |
void |
setEndRho(double endRho)
Sets the ending point radius of the slice. |
void |
setMargin(double margin)
Sets the margin of the slice. |
void |
setRho(double rho)
Sets the radius of the slice. |
void |
setStartAngle(double startAngle)
Sets the starting angle of the slice. |
void |
setStartRho(double startRho)
Sets the ending point radius of the slice. |
void |
setValue(double value)
Sets the value associated with this slice. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Slice(double value,
double startAngle,
double endAngle,
double rho)
value - the value associated with the slicestartAngle - the starting angle of the sliceendAngle - the ending angle of the slicerho - the radius of the slicepublic Slice(Slice slice)
slice - the slice to be copied| Method Detail |
|---|
public double getEndAngle()
public double getEndRho()
public double getMargin()
public double getRho()
public double getStartAngle()
public double getStartRho()
public double getValue()
public void setEndAngle(double endAngle)
endAngle - the ending angle of the slicepublic void setEndRho(double endRho)
endRho - the ending point radius of the slicepublic void setMargin(double margin)
margin - the margin of the slicepublic void setRho(double rho)
rho - the radius of the slicepublic void setStartAngle(double startAngle)
startAngle - the starting angle of the slicepublic void setStartRho(double startRho)
startRho - the ending point radius of the slicepublic void setValue(double value)
value - the value associated with this slicepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||