|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
echopoint.internal.AbstractContainer
echopoint.google.chart.internal.AbstractChart<N>
public abstract class AbstractChart<N extends Number>
The abstract base class for the components that wrap the charts provided by Google Chart API.
| Field Summary | |
|---|---|
static String |
PROPERTY_ALT
The alternate text to display for the image and chart. |
static String |
PROPERTY_DATA
An array of ChartData model objects that
are to be plotted. |
static String |
PROPERTY_FILL
The colour fill property for the chart. |
static String |
PROPERTY_TITLE
The title to display for chart. |
| Fields inherited from class echopoint.internal.AbstractContainer |
|---|
ACTION_COMMAND_PROPERTY, ACTION_LISTENERS_CHANGED_PROPERTY, INPUT_ACTION, PROPERTY_ALIGNMENT, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BORDER, PROPERTY_HEIGHT, PROPERTY_INSETS, PROPERTY_WIDTH |
| Constructor Summary | |
|---|---|
AbstractChart()
|
|
| Method Summary | |
|---|---|
String |
getAlt()
Get the value of the PROPERTY_ALT property. |
Collection<ChartData<N>> |
getData()
Get the value of the PROPERTY_DATA property. |
String |
getFill()
Get the value of the PROPERTY_FILL property. |
Title |
getTitle()
Get the value of the PROPERTY_TITLE property. |
boolean |
isValidChild(Component child)
AbstractChart is NOT allowed to have any children. |
void |
setAlt(String alt)
Set the value of the PROPERTY_ALT property. |
void |
setData(ChartData<N> data)
Set the value of the PROPERTY_DATA property using the specified
single data model object instance. |
void |
setData(Collection<ChartData<N>> data)
Set the value of the PROPERTY_DATA property. |
void |
setFill(String fill)
Set the value of the PROPERTY_FILL property. |
void |
setTitle(Title title)
Set the value of the PROPERTY_TITLE property. |
| Methods inherited from class echopoint.internal.AbstractContainer |
|---|
addActionListener, fireActionPerformed, getAlignment, getBackgroundImage, getBorder, getHeight, getInsets, getWidth, hasActionListeners, removeActionListener, setAlignment, setBackgroundImage, setBorder, setHeight, setInsets, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_ALT
public static final String PROPERTY_FILL
public static final String PROPERTY_DATA
ChartData model objects that
are to be plotted. Note that all elements of the array should have the
same type of model. Either all model elements must be simple (only xdata),
or should have both xdata and ydata. This property cannot be styled.
public static final String PROPERTY_TITLE
Title. This property cannot be styled.
| Constructor Detail |
|---|
public AbstractChart()
| Method Detail |
|---|
public boolean isValidChild(Component child)
isValidChild in class ComponentComponent.isValidChild(nextapp.echo.app.Component)public String getAlt()
PROPERTY_ALT property.
PROPERTY_ALT property.public void setAlt(String alt)
PROPERTY_ALT property.
alt - The value to set for the property.public String getFill()
PROPERTY_FILL property.
PROPERTY_FILL property.public void setFill(String fill)
PROPERTY_FILL property.
fill - The value to set for the property.public Collection<ChartData<N>> getData()
PROPERTY_DATA property.
PROPERTY_DATA property.public void setData(Collection<ChartData<N>> data)
PROPERTY_DATA property.
data - The collection of model objects.public void setData(ChartData<N> data)
PROPERTY_DATA property using the specified
single data model object instance.
data - The value to set for the property.setData( Collection )public Title getTitle()
PROPERTY_TITLE property.
PROPERTY_TITLE property.public void setTitle(Title title)
PROPERTY_TITLE property.
title - The value to set for the property.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||