com.steema.teechart.styles
Class World

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.Custom3D
              extended by com.steema.teechart.styles.Custom3DPalette
                  extended by com.steema.teechart.styles.Map
                      extended by com.steema.teechart.styles.World
All Implemented Interfaces:
ISeries

public class World
extends Map


Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Map
Map.CompareOrder, Map.SwapPolygon
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Custom3DPalette
Custom3DPalette.ColorResolver
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series
Series.MarkTextResolver
 
Field Summary
 
Fields inherited from class com.steema.teechart.styles.Custom3DPalette
bUseColorRange, bUsePalette, iPaletteSteps, sameBrush
 
Fields inherited from class com.steema.teechart.styles.Custom3D
vzValues
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
World()
           
World(IBaseChart c)
           
World(IBaseChart c, java.lang.String loadMaps)
           
World(WorldMapType initArg)
           
 
Method Summary
protected  void addSampleValues(int numValues)
           
 void assign(Series source)
          Copies all properties from one Series component to another.
protected  void draw()
           
 void fillSampleValues(int numValues)
          Adds the specified NumValues random points.
 void galleryChanged3D(boolean Is3D)
           
 boolean getInGallery()
           
 WorldMapType getMap()
           
 Shape getShadow()
           
 void loadMapFromResource(Map Series, java.lang.String ShpName)
           
 void prepareForGallery(boolean IsEnabled)
           
 void setChart(IBaseChart c)
          Chart associated with this object.
 void setInGallery(boolean value)
           
 void setMap(WorldMapType value)
           
 void setShadow(Shape value)
           
 void setSubGallery(int index)
          Creates and prepares the index'th Series style to show at sub-gallery dialog.
 
Methods inherited from class com.steema.teechart.styles.Map
addShape, calcHorizMargins, calcVerticalMargins, clear, clicked, createSubGallery, delete, delete, dispose, drawMark, drawValue, getDescription, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getPolygon, getShapes, getTransparency, numSampleValues, setShapes, setTransparency, swapValueIndex
 
Methods inherited from class com.steema.teechart.styles.Custom3DPalette
addPalette, calcColorRange, clearPalette, countLegendItems, createDefaultPalette, doBeforeDrawChart, drawLegendShape, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getLegendString, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, readResolve, removeColorResolver, setBlueFactor, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRainbowPalette, setRedFactor, setSameBrush, setStartColor, setUseColorRange, setUsePalette, setUsePaletteMin
 
Methods inherited from class com.steema.teechart.styles.Custom3D
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, getMaxZValue, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder, valueListOfAxis
 
Methods inherited from class com.steema.teechart.styles.Series
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clearLists, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMiddleZ, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasDataSource, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, lastDisplayed, lastVisibleMark, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValue
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.steema.teechart.styles.ISeries
getChart, invalidate
 

Constructor Detail

World

public World(WorldMapType initArg)

World

public World()

World

public World(IBaseChart c)

World

public World(IBaseChart c,
             java.lang.String loadMaps)
Method Detail

assign

public void assign(Series source)
Description copied from class: Series
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied.
The following code copies all properties from Series2 into Series1:

Series1.Assign( Series2 ) ;

Some Series types restore method values after assigning them. For example, Points series restores the Pointer.Visible method to true after being assigned to a Line series, which has Pointers invisible by default.
Note: Series events are not assigned. Series DataSource and FunctionType properties are assigned. Assign is used by CloneChartSeries and ChangeSeriesType methods for example.

Overrides:
assign in class Series
Parameters:
source - Series

galleryChanged3D

public void galleryChanged3D(boolean Is3D)
Overrides:
galleryChanged3D in class Map

setSubGallery

public void setSubGallery(int index)
Description copied from class: Series
Creates and prepares the index'th Series style to show at sub-gallery dialog.

Specified by:
setSubGallery in interface ISeries
Overrides:
setSubGallery in class Map
Parameters:
index - int

prepareForGallery

public void prepareForGallery(boolean IsEnabled)
Overrides:
prepareForGallery in class Map

setChart

public void setChart(IBaseChart c)
Description copied from class: TeeBase
Chart associated with this object.

Specified by:
setChart in interface ISeries
Overrides:
setChart in class Custom3DPalette
Parameters:
c - IBaseChart

addSampleValues

protected void addSampleValues(int numValues)
Overrides:
addSampleValues in class Map

draw

protected void draw()
Overrides:
draw in class Map

fillSampleValues

public void fillSampleValues(int numValues)
Description copied from class: Series
Adds the specified NumValues random points.

Overrides:
fillSampleValues in class Series
Parameters:
numValues - int the number of sample values to add.

loadMapFromResource

public void loadMapFromResource(Map Series,
                                java.lang.String ShpName)
                         throws net.rim.device.api.io.FileNotFoundException,
                                java.io.IOException,
                                java.lang.ClassNotFoundException,
                                java.lang.Exception
Throws:
net.rim.device.api.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.Exception

getMap

public WorldMapType getMap()

setMap

public void setMap(WorldMapType value)
            throws net.rim.device.api.io.FileNotFoundException,
                   java.io.IOException,
                   java.lang.ClassNotFoundException,
                   java.lang.Exception
Throws:
net.rim.device.api.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.Exception

getShadow

public Shape getShadow()

setShadow

public void setShadow(Shape value)

getInGallery

public boolean getInGallery()

setInGallery

public void setInGallery(boolean value)