|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SectionChart
The super-interface of all charts that support multiple sections with different colors.
Method Summary | |
---|---|
Color |
getSectionColor(int index)
Gets the color of a section if section is
in range. |
int |
getSectionCount()
Returns the number of sections of this chart |
String |
getSectionName(int index)
Gets the name of the section specified by index. |
boolean |
isVisible(int section)
Gets the visibility of a section. |
void |
setSectionColor(int section,
Color c)
Sets the color of a section if section is in range. |
void |
setSectionName(int index,
String name)
Sets the entitys name at the specified index. |
void |
setVisible(int section,
boolean v)
Enables or disables the visibility for a section. |
Methods inherited from interface org.askalon.graph.chart.Chart |
---|
getChartConfiguration, getChartMenu, getChartName, getLegend, getUnit, getXAxisText, getYAxisText, isDisableUpdate, isEdgesVisible, refreshConfiguration, resetConfiguration, setChartConfiguration, setDisableUpdate, setEdgesVisible, setUnit, setXAxisText, setYAxisText |
Methods inherited from interface org.askalon.graph.chart.base.Cleanable |
---|
cleanUp |
Method Detail |
---|
Color getSectionColor(int index)
section
is
in range.
index
- the index of the section whose color should be changed
setSectionColor(int, Color)
,
Color
void setSectionColor(int section, Color c)
section
is in range.
section
- the index of the section whose color should be changedc
- the new color of the sectionColor
,
getSectionColor(int)
int getSectionCount()
String getSectionName(int index)
index
- the index of the section whose name should be returned
void setSectionName(int index, String name)
index
- the index of the datapointname
- the new name for this datapointvoid setVisible(int section, boolean v)
section
- the index of the section whose visibility should be changedv
- true do display the section, false to hide itboolean isVisible(int section)
section
- the index of the section whose visibility should be returned
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |