|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.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 String |
CATEGORY_AXIS_LABEL
Property name for the label to display on the category axis. |
static String |
CATEGORY_COLUMNS
Property name for the List of column names containing category values. |
static String |
CATEGORY_LABEL_COLUMNS
Property name for the List of column names containing the display labels for categories. |
static String |
CATEGORY_LABEL_SEPARATOR
Property name for the separator to use between columns when multiple columns are specified for category label columns. |
static String |
CATEGORY_LABELS
Property name for the List of display labels for categories. |
static 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 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 String |
HEIGHT
Property name for the height of chart. |
static String |
ID
Property name for the id to uniquely identify a chart specification property group. |
static String |
LEGEND
Property name for whether or not to include the charts legend. |
static String |
PLOT_BY
Property name for whether to plot series by row or columns values. |
static String |
PLOT_BY_COLUMN
Value used to specify plotting series from column values. |
static String |
PLOT_BY_ROW
Value used to specify plotting series from row values. |
static String |
SERIES_COLUMNS
Property name for the List of column names to be used for series values. |
static String |
SERIES_LABEL_COLUMNS
Property name for the List of column names containing the display labels for series. |
static String |
SERIES_LABEL_SEPARATOR
Property name for the separator to use between columns when multiple columns are specified for series label columns. |
static String |
SERIES_LABELS
Property name for the List of display labels for series. |
static String |
TITLE
Property name for the title of the chart. |
static String |
TYPE
Property name for the type of chart to generate. |
static String |
VALUE_AXIS_LABEL
Property name for the label to display on the value axis. |
static String |
WIDTH
Property name for the width of chart. |
Fields inherited from class planetj.property.DefaultPropertyGroup |
NONE |
Fields inherited from class planetj.property.PropertyGroup |
ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, INTEGER_PROPERTY, LIST_PROPERTY, 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(String pName)
Constructor. |
Method Summary | |
List |
getAllPropertyNames()
Gets a List containing the names of all the supported properties. |
String |
getCategoryAxisLabel()
Get the label for the category axis. |
List |
getCategoryColumns()
Get a list of columns containing values for each category. |
List |
getCategoryLabelColumns()
Get a list of columns to use for labels for the chart's categories. |
List |
getCategoryLabels()
Get a list of labels for the chart's categories. |
String |
getCategoryLabelSeparator()
Get the separator for multiple labels for a category. |
static String |
getDefaultLayoutPropertiesString()
Gets a default String for this property group. |
int |
getHeight()
Get the height of the chart. |
String |
getId()
Get the id for this chart. |
String |
getImageSource()
Get the source for the image used when generating a link to this chart. |
List |
getSeriesColumns()
Get a list of columns containing values for each series. |
List |
getSeriesLabelColumns()
Get a list of columns to use for labels for the chart's series. |
List |
getSeriesLabels()
Get a list of labels for the chart's series. |
String |
getSeriesLabelSeparator()
Get the separator for multiple labels for a series. |
String |
getTitle()
Get the title of the chart. |
int |
getType()
Get the type of chart to generate. |
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. |
Methods inherited from class planetj.property.DefaultPropertyGroup |
getDefaultPropertiesString, getRequiredPropertyNames |
Methods inherited from class planetj.property.PropertyGroup |
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, createProperty, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateValue, getDoubleValue, getIntValue, getListValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, put, put, put, setName, toString, updateProperty |
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 |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final String CHART
public static final String ID
public static final String DEFAULT_ID
public static final String TYPE
IChartTypes
,
Constant Field Valuespublic static final String TITLE
public static final String WIDTH
public static final int DEFAULT_WIDTH
public static final String HEIGHT
public static final int DEFAULT_HEIGHT
public static final String LEGEND
public static final String PLOT_BY
public static final String PLOT_BY_ROW
public static final String PLOT_BY_COLUMN
public static final String VALUE_AXIS_LABEL
public static final String CATEGORY_AXIS_LABEL
public static final String CATEGORY_COLUMNS
public static final String CATEGORY_LABELS
public static final String CATEGORY_LABEL_COLUMNS
public static final String CATEGORY_LABEL_SEPARATOR
public static final String SERIES_COLUMNS
public static final String SERIES_LABELS
public static final String SERIES_LABEL_COLUMNS
public static final String SERIES_LABEL_SEPARATOR
Constructor Detail |
public ChartSpecificationPG()
public ChartSpecificationPG(String pName)
Method Detail |
public List getAllPropertyNames()
getAllPropertyNames
in class DefaultPropertyGroup
public String getCategoryAxisLabel()
public List getCategoryColumns()
public List getCategoryLabelColumns()
public List getCategoryLabels()
public String getCategoryLabelSeparator()
public static String getDefaultLayoutPropertiesString()
public int getHeight()
public String getId()
public String getImageSource()
public List getSeriesColumns()
public List getSeriesLabelColumns()
public List getSeriesLabels()
public String getSeriesLabelSeparator()
public String getTitle()
public int getType()
public String getValueAxisLabel()
public int getWidth()
public boolean isPieChart()
public boolean isPlotByRow()
public boolean isShowLegend()
public boolean isShowTooltips()
public boolean isShowURLs()
public boolean isShowValues()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |