|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.askalon.graph.chart.ChartConfiguration
public class ChartConfiguration
Objects of this class describe the whole configuration for a chart and provide a settings dialog, allowing the user to dynamically change settings in a graphical dialog.
Constructor Summary | |
---|---|
ChartConfiguration(GraphicsPanel gp)
Creates a new chart configuration for the specified graphics panel |
Method Summary | |
---|---|
Color |
getAreaColor()
Gets the color of the coordinate grids area. |
Color |
getAreagridColor()
Gets the color of the areas grid. |
Color |
getAxisFontColor()
Gets the color used for the axis text. |
Font |
getAxisLabelsFont()
Gets the font of the axis labels of the coordinate grid. |
Color |
getBackgroundColor()
Gets the color used for background of the chart. |
Font |
getDescriptionFont()
Gets the font used for the descriptions text. |
Color |
getDescriptionFontColor()
Gets the color used for the descriptions. |
Color |
getFloorColor()
Gets the color of the coordinate grids floor. |
Color |
getFloorgridColor()
Gets the color of the floors grid. |
Color |
getGridFontColor()
Gets the color used for grid text. |
Font |
getGridLabelsFont()
Gets the font used for the grid lables text. |
Color |
getLegendBackgroundColor()
Gets the color used for the legends background. |
Font |
getLegendFont()
Gets the font used for the legend text. |
Color |
getLegendFontColor()
Gets the color used for legend text. |
void |
reset()
Resets all configuration values to their default values. |
void |
setAreaColor(Color area)
Sets the color of the coordinate grids area. |
void |
setAreagridColor(Color areagrid)
Sets the color of the areas grid. |
void |
setAxisFontColor(Color axisFont)
Sets the color used for the axis text. |
void |
setAxisLabelsFont(Font axis)
Sets the font of the axis labels of the coordinate grid. |
void |
setBackgroundColor(Color background)
Sets the color used for background of the chart. |
void |
setDescriptionFont(Font description)
Sets the font used for the descriptions text. |
void |
setDescriptionFontColor(Color descriptionFont)
Sets the color used for the descriptions. |
void |
setFloorColor(Color floor)
Sets the color of the coordinate grids floor. |
void |
setFloorgridColor(Color floorgrid)
Sets the color of the floors grid. |
void |
setGridFontColor(Color gridFont)
Sets the color used for the grid text. |
void |
setGridLabelsFont(Font grid)
Sets the font used for the grid lables text. |
void |
setLegendBackgroundColor(Color legendBackground)
Sets the color used for the legends background. |
void |
setLegendFont(Font legend)
Sets the font used for the legend text. |
void |
setLegendFontColor(Color legendFont)
Sets the color used for the legend text. |
void |
showDialog()
Sets the settings dialog visible. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartConfiguration(GraphicsPanel gp)
gp
- the graphics panel for this chartconfigurationGraphicsPanel
Method Detail |
---|
public void reset()
Constants
public void showDialog()
public Color getAreaColor()
setAreaColor(Color)
,
Color
public void setAreaColor(Color area)
area
- the new color to set for the coordinate grids areagetAreaColor()
,
Color
public Font getAxisLabelsFont()
setAxisLabelsFont(Font)
,
Font
public void setAxisLabelsFont(Font axis)
axis
- the new font to setgetAxisLabelsFont()
,
Font
public Font getDescriptionFont()
setDescriptionFont(Font)
,
Font
public void setDescriptionFont(Font description)
description
- the new description font to setgetDescriptionFont()
,
Font
public Color getFloorColor()
setFloorColor(Color)
,
Color
public void setFloorColor(Color floor)
floor
- the floor color to setgetFloorColor()
,
Color
public Color getFloorgridColor()
setFloorgridColor(Color)
,
Color
public void setFloorgridColor(Color floorgrid)
floorgrid
- the new floorgrid color to setgetFloorgridColor()
,
Color
public Font getGridLabelsFont()
setGridLabelsFont(Font)
,
Font
public void setGridLabelsFont(Font grid)
grid
- the new grid lables font to setgetGridLabelsFont()
,
Font
public Color getAreagridColor()
setAreagridColor(Color)
,
Color
public void setAreagridColor(Color areagrid)
areagrid
- the new color to set for the areas gridgetAreaColor()
,
Color
public Color getAxisFontColor()
setAxisFontColor(Color)
,
Color
public void setAxisFontColor(Color axisFont)
axisFont
- the new axis color to setgetAxisFontColor()
,
Color
public Color getBackgroundColor()
setBackgroundColor(Color)
,
Color
public void setBackgroundColor(Color background)
background
- the new background color to setgetBackgroundColor()
,
Color
public Color getDescriptionFontColor()
setDescriptionFontColor(Color)
,
Color
public void setDescriptionFontColor(Color descriptionFont)
descriptionFont
- the new descriptions color to setgetDescriptionFontColor()
,
Color
public Color getGridFontColor()
setGridFontColor(Color)
,
Color
public void setGridFontColor(Color gridFont)
gridFont
- the new grid text color to setgetGridFontColor()
,
Color
public Font getLegendFont()
setLegendFont(Font)
,
Font
public void setLegendFont(Font legend)
legend
- the new legend font to setsetLegendFont(Font)
,
Font
public Color getLegendFontColor()
setLegendFontColor(Color)
,
Color
public void setLegendFontColor(Color legendFont)
legendFont
- the new legend color to setgetLegendFontColor()
,
Color
public Color getLegendBackgroundColor()
setLegendBackgroundColor(Color)
,
Color
public void setLegendBackgroundColor(Color legendBackground)
legendBackground
- the new background color to setgetLegendBackgroundColor()
,
Color
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |