|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Chart
This interface is implemented by every chart and provides some basic common functionality.
Cleanable
Method Summary | |
---|---|
ChartConfiguration |
getChartConfiguration()
|
JMenu |
getChartMenu()
Gets the menu item for this chart. |
String |
getChartName()
Gets the name of this chart. |
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 |
resetConfiguration()
Resets the whole configuration (fonts, colors, ...) for the chart to the default values. |
void |
setChartConfiguration(ChartConfiguration cc)
Sets a new configuration for this chart. |
void |
setDisableUpdate(boolean disableUpdate)
Disables updates for the chart. |
void |
setEdgesVisible(boolean b)
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 interface org.askalon.graph.chart.base.Cleanable |
---|
cleanUp |
Method Detail |
---|
String getChartName()
void resetConfiguration()
ChartConfiguration
,
refreshConfiguration()
,
setChartConfiguration(ChartConfiguration)
void refreshConfiguration()
ChartConfiguration
,
resetConfiguration()
,
setChartConfiguration(ChartConfiguration)
void setChartConfiguration(ChartConfiguration cc)
cc
- the new chart configurationChartConfiguration
,
resetConfiguration()
,
refreshConfiguration()
ChartConfiguration getChartConfiguration()
ChartConfiguration
,
resetConfiguration()
,
refreshConfiguration()
boolean isDisableUpdate()
setDisableUpdate(boolean)
void setDisableUpdate(boolean disableUpdate)
disableUpdate
- true to disable updates, false to enable updatesisDisableUpdate()
String getXAxisText()
setXAxisText(String)
void setXAxisText(String x)
x
- the new axis label for the x-axisgetXAxisText()
String getYAxisText()
setYAxisText(String)
void setYAxisText(String y)
y
- the new axis label for the y-axisgetYAxisText()
String getUnit()
setUnit(String)
void setUnit(String unit)
unit
- the new unit string to usegetUnit()
JMenu getChartMenu()
JMenu
Legend getLegend()
Legend
void setEdgesVisible(boolean b)
b
- true to show edges, false to hide themisEdgesVisible()
boolean isEdgesVisible()
setEdgesVisible(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |