|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swtchart.internal.axis.AxisSet
public class AxisSet
An axis container. By default, axis set has X Axis and Y axis with axis id 0.
Constructor Summary | |
---|---|
AxisSet(Chart chart)
Constructor. |
Method Summary | |
---|---|
void |
adjustRange()
Adjusts the axis range of all axes. |
int |
createXAxis()
Creates the X axis. |
int |
createYAxis()
Creates the Y axis. |
void |
deleteXAxis(int id)
Deletes the X Axis for given axis id. |
void |
deleteYAxis(int id)
Deletes the Y Axis for given id. |
void |
dispose()
Disposes the resources. |
IAxis[] |
getAxes()
Gets the array of all axes. |
IAxis[] |
getXAxes()
Gets the array of X axes. |
IAxis |
getXAxis(int id)
Gets the X axis for the given id. |
int[] |
getXAxisIds()
Gets the array of X axis ids. |
IAxis[] |
getYAxes()
Gets the array of Y axes. |
IAxis |
getYAxis(int id)
Gets the Y axis for given index. |
int[] |
getYAxisIds()
Gets the array of Y axis ids. |
void |
refresh()
Refreshes the cache. |
void |
updateLayoutData()
Updates the layout data. |
void |
zoomIn()
Zooms in all axes. |
void |
zoomOut()
Zooms out all axes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisSet(Chart chart)
chart
- the chartMethod Detail |
---|
public int createXAxis()
IAxisSet
createXAxis
in interface IAxisSet
public int createYAxis()
IAxisSet
createYAxis
in interface IAxisSet
public IAxis getXAxis(int id)
IAxisSet
getXAxis
in interface IAxisSet
id
- the axis id
public IAxis getYAxis(int id)
IAxisSet
getYAxis
in interface IAxisSet
id
- the axis id
public IAxis[] getXAxes()
IAxisSet
getXAxes
in interface IAxisSet
public IAxis[] getYAxes()
IAxisSet
getYAxes
in interface IAxisSet
public IAxis[] getAxes()
IAxisSet
getAxes
in interface IAxisSet
public int[] getXAxisIds()
IAxisSet
getXAxisIds
in interface IAxisSet
public int[] getYAxisIds()
IAxisSet
getYAxisIds
in interface IAxisSet
public void deleteXAxis(int id)
IAxisSet
deleteXAxis
in interface IAxisSet
id
- the axis idpublic void deleteYAxis(int id)
IAxisSet
deleteYAxis
in interface IAxisSet
id
- the axis idpublic void adjustRange()
IAxisSet
adjustRange
in interface IAxisSet
public void zoomIn()
IAxisSet
zoomIn
in interface IAxisSet
public void zoomOut()
IAxisSet
zoomOut
in interface IAxisSet
public void updateLayoutData()
public void refresh()
public void dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |