|
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<Integer>
echopoint.google.chart.Meter
public class Meter
Component wrapper for a Google-o-meter provided by Google Chart API.
The following code shows sample use of this component:
import echopoint.google.chart.Meter;
import echopoint.google.chart.model.ChartData;
...
final ChartData<Integer> data = new ChartData<Integer>();
final Integer[] array = new Integer[] { 70 };
data.setXdata( Arrays.asList( array ) );
data.setXmax( 100 );
final Meter chart = new Meter();
final ArrayList<ChartData<Integer>> collection = new ArrayList<ChartData<Integer>>();
collection.add( data );
chart.setData( collection );
chart.setLabel( "70 %" );
| Field Summary | |
|---|---|
static String |
PROPERTY_LABEL
The property used to specify colour and colour gradients for countries or states displayed in the map. |
| Fields inherited from class echopoint.google.chart.internal.AbstractChart |
|---|
PROPERTY_ALT, PROPERTY_DATA, PROPERTY_FILL, PROPERTY_TITLE |
| 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 | |
|---|---|
Meter()
|
|
| Method Summary | |
|---|---|
String |
getLabel()
Return the PROPERTY_LABEL property value. |
void |
setLabel(String label)
Set the value of the PROPERTY_LABEL property. |
| Methods inherited from class echopoint.google.chart.internal.AbstractChart |
|---|
getAlt, getData, getFill, getTitle, isValidChild, setAlt, setData, setData, setFill, setTitle |
| 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_LABEL
| Constructor Detail |
|---|
public Meter()
| Method Detail |
|---|
public String getLabel()
PROPERTY_LABEL property value.
public void setLabel(String label)
PROPERTY_LABEL property.
label - The value to set.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||