|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.Custom3D
com.steema.teechart.styles.Custom3DPalette
com.steema.teechart.styles.Map
public class Map
Title: Map class
Description: Map series.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary | |
---|---|
protected class |
Map.CompareOrder
|
protected class |
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 | |
---|---|
Map()
|
|
Map(IBaseChart c)
|
Method Summary | |
---|---|
protected void |
addSampleValues(int numValues)
|
void |
addShape(int[] x,
int[] y,
java.lang.String text)
Adds a new shape to the Map Series. |
void |
calcHorizMargins(Margins margins)
Returns the number of pixels for horizontal margins |
void |
calcVerticalMargins(Margins margins)
Returns the number of pixels for vertical margins |
void |
clear()
Removes all points, texts and Colors from the Series. |
int |
clicked(int x,
int y)
The ValueIndex of the "clicked" point in the Map Series. |
void |
createSubGallery(Gallery addSubChart)
|
void |
delete(int index)
Removes the index th point. |
void |
delete(int index,
int count,
boolean removeGap)
Removes count number of points starting at index. |
void |
dispose()
|
protected void |
draw()
|
protected void |
drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition)
|
void |
drawValue(int index)
Called internally. |
void |
galleryChanged3D(boolean is3D)
|
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getMaxXValue()
The Maximum Value of the Series X Values List. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinXValue()
The Minimum Value of the Series X Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
Polygon |
getPolygon(int index)
Default array property in Map series to make it easier to obtain a Map polygon object: |
PolygonList |
getShapes()
A list of Polygon objects. |
int |
getTransparency()
|
protected int |
numSampleValues()
|
void |
prepareForGallery(boolean isEnabled)
|
void |
setShapes(PolygonList value)
|
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setTransparency(int value)
|
protected void |
swapValueIndex(int a,
int b)
Exchanges one point with another. |
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.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 |
---|
public Map(IBaseChart c)
public Map()
Method Detail |
---|
public void clear()
Series
clear
in interface ISeries
clear
in class Series
public int getTransparency()
public void setTransparency(int value)
public double getMaxXValue()
getMaxXValue
in class Series
public double getMaxYValue()
getMaxYValue
in class Series
public double getMinXValue()
getMinXValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public void delete(int index)
Series
delete
in class Series
index
- intpublic void delete(int index, int count, boolean removeGap)
Series
delete
in class Series
index
- intcount
- intremoveGap
- booleanpublic int clicked(int x, int y)
clicked
in interface ISeries
clicked
in class Series
x
- inty
- int
public void setShapes(PolygonList value)
protected void swapValueIndex(int a, int b)
Series
swapValueIndex
in class Series
a
- int index of first point to exchange.b
- int index of second point to exchange.public Polygon getPolygon(int index)
index
- int
public PolygonList getShapes()
public void addShape(int[] x, int[] y, java.lang.String text)
x
- int[]y
- int[]text
- Stringprotected int numSampleValues()
numSampleValues
in class Series
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Series
margins
- Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins
in class Series
margins
- Marginspublic void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
public void galleryChanged3D(boolean is3D)
galleryChanged3D
in class Custom3DPalette
protected void draw()
draw
in class Series
public void drawValue(int index)
Series
drawValue
in interface ISeries
drawValue
in class Series
index
- intpublic void dispose()
dispose
in interface ISeries
dispose
in class Series
protected void drawMark(int valueIndex, java.lang.String st, SeriesMarksPosition aPosition)
drawMark
in class Custom3D
public java.lang.String getDescription()
getDescription
in class Series
protected void addSampleValues(int numValues)
addSampleValues
in class Series
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |