|
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.Map
public class Map
Component wrapper for a Map provided by Google Chart API.
The following code shows sample use of this component:
import echopoint.google.chart.Map;
import echopoint.google.chart.model.ChartData;
...
final ChartData<Integer> data = new ChartData<Integer>();
final Integer[] array = new Integer[] { 0, 5, 9 };
data.setXdata( Arrays.asList( array ) );
final Map chart = new Map();
final ArrayList<ChartData<Integer>> collection = new ArrayList<ChartData<Integer>>();
collection.add( data );
chart.setData( collection );
chart.setCodes( "MGKETN" );
| Nested Class Summary | |
|---|---|
static class |
Map.Regions
An enumeration used to represent the regions supported by the map. |
| Field Summary | |
|---|---|
static String |
PROPERTY_CODES
The property used to configure the countries or states in the map that are to be coloured. |
static String |
PROPERTY_COLORS
The property used to specify colour and colour gradients for countries or states displayed in the map. |
static String |
PROPERTY_GEOGRAPHICAL_AREA
The property used to configure the map area. |
| 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 | |
|---|---|
Map()
|
|
| Method Summary | |
|---|---|
String |
getCodes()
Return the PROPERTY_CODES property value. |
String |
getColors()
Return the PROPERTY_COLORS property value. |
Map.Regions |
getGeographicalArea()
Return the PROPERTY_GEOGRAPHICAL_AREA property value. |
void |
setCodes(String codes)
Set the value of the PROPERTY_CODES property. |
void |
setColors(String colors)
Set the value of the PROPERTY_COLORS property. |
void |
setGeographicalArea(Map.Regions region)
Set the value of the PROPERTY_GEOGRAPHICAL_AREA 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_GEOGRAPHICAL_AREA
public static final String PROPERTY_COLORS
public static final String PROPERTY_CODES
| Constructor Detail |
|---|
public Map()
| Method Detail |
|---|
public Map.Regions getGeographicalArea()
PROPERTY_GEOGRAPHICAL_AREA property value.
public void setGeographicalArea(Map.Regions region)
PROPERTY_GEOGRAPHICAL_AREA property.
region - The value to set.public String getColors()
PROPERTY_COLORS property value.
public void setColors(String colors)
PROPERTY_COLORS property.
colors - The value to set.public String getCodes()
PROPERTY_CODES property value.
public void setCodes(String codes)
PROPERTY_CODES property.
codes - 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 | |||||||||