|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.askalon.graph.chart.base.AbstractChart
public abstract class AbstractChart
The abstract superclass for all charts, implementing some basic functionality.
Method Summary | |
---|---|
void |
cleanUp()
Cleans references of the chart. |
ChartConfiguration |
getChartConfiguration()
|
Legend |
getLegend()
Gets the legend of this chart. |
String |
getUnit()
Gets the unit string displayed next to the values. |
String |
getXAxisText()
Gets the text of the x-axis. |
String |
getYAxisText()
Gets the text of the y-axis. |
boolean |
isDisableUpdate()
Gets the state of updates (enabled/disabled) for the chart. |
boolean |
isEdgesVisible()
Gets the visibility of edges. |
void |
refreshConfiguration()
Refreshes the configuration of this chart, which makes changes visible. |
void |
setChartConfiguration(ChartConfiguration cc)
Sets a new configuration for this chart. |
void |
setDisableUpdate(boolean disableUpdate)
Disables updates for the chart. |
void |
setEdgesVisible(boolean edgesVisible)
Enables/disables the visibility of edges for this chart. |
void |
setUnit(String unit)
Sets the current unit of this chart and updates it accordingly. |
void |
setXAxisText(String x)
Sets the text of the x-axis for this chart. |
void |
setYAxisText(String y)
Sets the text of the y-axis for this chart. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.askalon.graph.chart.Chart |
---|
getChartMenu, getChartName, resetConfiguration |
Method Detail |
---|
public void setChartConfiguration(ChartConfiguration cc)
Chart
setChartConfiguration
in interface Chart
cc
- the new chart configurationChartConfiguration
,
Chart.resetConfiguration()
,
Chart.refreshConfiguration()
public ChartConfiguration getChartConfiguration()
getChartConfiguration
in interface Chart
ChartConfiguration
,
Chart.resetConfiguration()
,
Chart.refreshConfiguration()
public void refreshConfiguration()
Chart
refreshConfiguration
in interface Chart
ChartConfiguration
,
Chart.resetConfiguration()
,
Chart.setChartConfiguration(ChartConfiguration)
public void cleanUp()
Cleanable
finalize()
Method of the chart.
cleanUp
in interface Cleanable
public String getXAxisText()
Chart
getXAxisText
in interface Chart
Chart.setXAxisText(String)
public String getYAxisText()
Chart
getYAxisText
in interface Chart
Chart.setYAxisText(String)
public String getUnit()
Chart
getUnit
in interface Chart
Chart.setUnit(String)
public Legend getLegend()
Chart
getLegend
in interface Chart
Legend
public void setDisableUpdate(boolean disableUpdate)
Chart
setDisableUpdate
in interface Chart
disableUpdate
- true to disable updates, false to enable updatesChart.isDisableUpdate()
public boolean isDisableUpdate()
Chart
isDisableUpdate
in interface Chart
Chart.setDisableUpdate(boolean)
public void setUnit(String unit)
Chart
setUnit
in interface Chart
unit
- the new unit string to useChart.getUnit()
public void setXAxisText(String x)
Chart
setXAxisText
in interface Chart
x
- the new axis label for the x-axisChart.getXAxisText()
public void setYAxisText(String y)
Chart
setYAxisText
in interface Chart
y
- the new axis label for the y-axisChart.getYAxisText()
public boolean isEdgesVisible()
Chart
isEdgesVisible
in interface Chart
Chart.setEdgesVisible(boolean)
public void setEdgesVisible(boolean edgesVisible)
Chart
setEdgesVisible
in interface Chart
edgesVisible
- true to show edges, false to hide themChart.isEdgesVisible()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |