|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.data.BaseModel
com.extjs.gxt.charts.client.model.charts.ChartConfig
com.extjs.gxt.charts.client.model.charts.Shape
public class Shape
OFC shape (polygon drawn within a chart)
Nested Class Summary | |
---|---|
static class |
Shape.Point
Shape chart data type. |
Field Summary |
---|
Fields inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig |
---|
dataProvider, model |
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModel |
---|
changeEventSupport |
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
allowNestedValues, map |
Fields inherited from interface com.extjs.gxt.ui.client.data.ChangeEventSource |
---|
Add, Remove, Update |
Constructor Summary | |
---|---|
Shape()
Creates a new shape. |
Method Summary | |
---|---|
void |
addPoint(java.lang.Number x,
java.lang.Number y)
Adds the point. |
void |
addPoints(java.util.Collection<Shape.Point> points)
Adds the points. |
void |
addPoints(Shape.Point... points)
Adds the points. |
java.lang.Float |
getAlpha()
Returns the alpha value. |
java.lang.String |
getColour()
Returns the colour. |
void |
setAlpha(java.lang.Float alpha)
Sets the alpha value. |
void |
setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff). |
Methods inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig |
---|
addChartListener, addNullValue, getChartListeners, getDataProvider, getFontSize, getModel, getText, getTooltip, getType, getValues, isEnableEvents, removeChartListener, setAnimateOnShow, setDataProvider, setEnableEvents, setFontSize, setKeys, setKeys, setModel, setText, setTooltip, setValues |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModel |
---|
addChangeListener, addChangeListener, fireEvent, fireEvent, isSilent, notify, notifyPropertyChanged, remove, removeChangeListener, removeChangeListeners, set, setSilent |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
get, get, getProperties, getPropertyNames, isAllowNestedValues, setAllowNestedValues, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData |
---|
get, getProperties, getPropertyNames |
Constructor Detail |
---|
public Shape()
Method Detail |
---|
public void addPoint(java.lang.Number x, java.lang.Number y)
x
- the xy
- the ypublic void addPoints(java.util.Collection<Shape.Point> points)
points
- the pointspublic void addPoints(Shape.Point... points)
points
- the pointspublic java.lang.Float getAlpha()
public java.lang.String getColour()
public void setAlpha(java.lang.Float alpha)
alpha
- the alpha valuepublic void setColour(java.lang.String colour)
colour
- the new colour
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |