|
|||||||||
| 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 chart| Method Detail |
|---|
public int createXAxis()
IAxisSet
createXAxis in interface IAxisSetpublic int createYAxis()
IAxisSet
createYAxis in interface IAxisSetpublic IAxis getXAxis(int id)
IAxisSet
getXAxis in interface IAxisSetid - the axis id
public IAxis getYAxis(int id)
IAxisSet
getYAxis in interface IAxisSetid - the axis id
public IAxis[] getXAxes()
IAxisSet
getXAxes in interface IAxisSetpublic IAxis[] getYAxes()
IAxisSet
getYAxes in interface IAxisSetpublic IAxis[] getAxes()
IAxisSet
getAxes in interface IAxisSetpublic int[] getXAxisIds()
IAxisSet
getXAxisIds in interface IAxisSetpublic int[] getYAxisIds()
IAxisSet
getYAxisIds in interface IAxisSetpublic void deleteXAxis(int id)
IAxisSet
deleteXAxis in interface IAxisSetid - the axis idpublic void deleteYAxis(int id)
IAxisSet
deleteYAxis in interface IAxisSetid - the axis idpublic void adjustRange()
IAxisSet
adjustRange in interface IAxisSetpublic void zoomIn()
IAxisSet
zoomIn in interface IAxisSetpublic void zoomOut()
IAxisSet
zoomOut in interface IAxisSetpublic void updateLayoutData()
public void refresh()
public void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||