|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
planetj.property.PropertyGroup
planetj.property.DefaultPropertyGroup
planetj.chart.ChartSpecificationPG
This property group encapsulates properties used to create and generate a chart using JFreeChart.
Field Summary | |
static java.lang.String |
CATEGORY_AXIS_LABEL
Property name for the label to display on the category axis. |
static java.lang.String |
CATEGORY_COLUMNS
Property name for the List of column names containing category values. |
static java.lang.String |
CATEGORY_LABEL_COLUMNS
Property name for the List of column names containing the display labels for categories. |
static java.lang.String |
CATEGORY_LABEL_SEPARATOR
Property name for the separator to use between columns when multiple columns are specified for category label columns. |
static java.lang.String |
CATEGORY_LABELS
Property name for the List of display labels for categories. |
static java.lang.String |
CHART
Key used to denote this property group's name. |
static int |
DEFAULT_HEIGHT
Default height of a chart used if no height is specified. |
static java.lang.String |
DEFAULT_ID
Default id given to all charts without a specified chart id. |
static int |
DEFAULT_WIDTH
Default width of a chart used if no width is specified. |
static java.lang.String |
HEIGHT
Property name for the height of chart. |
static java.lang.String |
ID
Property name for the id to uniquely identify a chart specification property group. |
static java.lang.String |
LEGEND
Property name for whether or not to include the charts legend. |
static java.lang.String |
PLOT_BY
Property name for whether to plot series by row or columns values. |
static java.lang.String |
PLOT_BY_COLUMN
Value used to specify plotting series from column values. |
static java.lang.String |
PLOT_BY_ROW
Value used to specify plotting series from row values. |
static java.lang.String |
SERIES_COLUMNS
Property name for the List of column names to be used for series values. |
static java.lang.String |
SERIES_LABEL_COLUMNS
Property name for the List of column names containing the display labels for series. |
static java.lang.String |
SERIES_LABEL_SEPARATOR
Property name for the separator to use between columns when multiple columns are specified for series label columns. |
static java.lang.String |
SERIES_LABELS
Property name for the List of display labels for series. |
static java.lang.String |
TITLE
Property name for the title of the chart. |
static java.lang.String |
TYPE
Property name for the type of chart to generate. |
static java.lang.String |
VALUE_AXIS_LABEL
Property name for the label to display on the value axis. |
static java.lang.String |
WIDTH
Property name for the width of chart. |
Fields inherited from class planetj.property.PropertyGroup |
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY |
Fields inherited from interface planetj.chart.IChartTypes |
HORIZONTAL_BAR, HORIZONTAL_BAR_3D, HORIZONTAL_BAR_3D_KEY, HORIZONTAL_BAR_KEY, LINE, LINE_KEY, PIE, PIE_3D, PIE_3D_KEY, PIE_KEY, UNKNOWN, VERTICAL_BAR, VERTICAL_BAR_3D, VERTICAL_BAR_3D_KEY, VERTICAL_BAR_KEY |
Fields inherited from interface planetj.chart.IChartConstants |
HORIZONTAL_BAR_CHART_ICON, PIE_CHART_ICON, VERTICAL_BAR_CHART_ICON |
Constructor Summary | |
ChartSpecificationPG()
Constructor. |
|
ChartSpecificationPG(java.lang.String pName)
Constructor. |
Method Summary | |
java.util.List |
getAllPropertyNames()
Gets a List containing the names of all the supported properties. |
java.lang.String |
getCategoryAxisLabel()
Get the label for the category axis. |
java.util.List |
getCategoryColumns()
Get a list of columns containing values for each category. |
java.util.List |
getCategoryLabelColumns()
Get a list of columns to use for labels for the chart's categories. |
java.util.List |
getCategoryLabels()
Get a list of labels for the chart's categories. |
java.lang.String |
getCategoryLabelSeparator()
Get the separator for multiple labels for a category. |
static java.lang.String |
getDefaultLayoutPropertiesString()
Gets a default String for this property group. |
int |
getHeight()
Get the height of the chart. |
java.lang.String |
getId()
Get the id for this chart. |
java.lang.String |
getImageSource()
Get the source for the image used when generating a link to this chart. |
java.util.List |
getSeriesColumns()
Get a list of columns containing values for each series. |
java.util.List |
getSeriesLabelColumns()
Get a list of columns to use for labels for the chart's series. |
java.util.List |
getSeriesLabels()
Get a list of labels for the chart's series. |
java.lang.String |
getSeriesLabelSeparator()
Get the separator for multiple labels for a series. |
java.lang.String |
getTitle()
Get the title of the chart. |
int |
getType()
Get the type of chart to generate. |
java.lang.String |
getValueAxisLabel()
Get the label for the value axis. |
int |
getWidth()
Get the width of the chart. |
boolean |
isPieChart()
Whether or not this specification is for a pie chart. |
boolean |
isPlotByRow()
Whether or not to include the legend when generating a chart. |
boolean |
isShowLegend()
Whether or not to include the legend when generating a chart. |
boolean |
isShowTooltips()
Whether or not to include the tooltips when generating a chart. |
boolean |
isShowURLs()
Whether or not to include the urls when generating a chart. |
boolean |
isShowValues()
Whether or not to include values by plotted points. |
protected short |
propertyType(java.lang.String propertyName)
Gets the type of property for a specified property name. |
Methods inherited from class planetj.property.DefaultPropertyGroup |
getDefaultPropertiesString, getRequiredPropertyNames |
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String CHART
public static final java.lang.String ID
public static final java.lang.String DEFAULT_ID
public static final java.lang.String TYPE
IChartTypes
,
Constant Field Valuespublic static final java.lang.String TITLE
public static final java.lang.String WIDTH
public static final int DEFAULT_WIDTH
public static final java.lang.String HEIGHT
public static final int DEFAULT_HEIGHT
public static final java.lang.String LEGEND
public static final java.lang.String PLOT_BY
public static final java.lang.String PLOT_BY_ROW
public static final java.lang.String PLOT_BY_COLUMN
public static final java.lang.String VALUE_AXIS_LABEL
public static final java.lang.String CATEGORY_AXIS_LABEL
public static final java.lang.String CATEGORY_COLUMNS
public static final java.lang.String CATEGORY_LABELS
public static final java.lang.String CATEGORY_LABEL_COLUMNS
public static final java.lang.String CATEGORY_LABEL_SEPARATOR
public static final java.lang.String SERIES_COLUMNS
public static final java.lang.String SERIES_LABELS
public static final java.lang.String SERIES_LABEL_COLUMNS
public static final java.lang.String SERIES_LABEL_SEPARATOR
Constructor Detail |
public ChartSpecificationPG()
public ChartSpecificationPG(java.lang.String pName)
Method Detail |
public java.util.List getAllPropertyNames()
getAllPropertyNames
in class DefaultPropertyGroup
public java.lang.String getCategoryAxisLabel()
public java.util.List getCategoryColumns()
public java.util.List getCategoryLabelColumns()
public java.util.List getCategoryLabels()
public java.lang.String getCategoryLabelSeparator()
public static java.lang.String getDefaultLayoutPropertiesString()
public int getHeight()
public java.lang.String getId()
public java.lang.String getImageSource()
public java.util.List getSeriesColumns()
public java.util.List getSeriesLabelColumns()
public java.util.List getSeriesLabels()
public java.lang.String getSeriesLabelSeparator()
public java.lang.String getTitle()
public int getType()
public java.lang.String getValueAxisLabel()
public int getWidth()
public boolean isPieChart()
public boolean isPlotByRow()
public boolean isShowLegend()
public boolean isShowTooltips()
public boolean isShowURLs()
public boolean isShowValues()
protected short propertyType(java.lang.String propertyName)
propertyType
in class DefaultPropertyGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |