com.steema.teechart.tools
Class Marker
java.lang.Object
com.steema.teechart.TeeBase
com.steema.teechart.tools.Tool
com.steema.teechart.tools.Annotation
com.steema.teechart.tools.Marker
public class Marker
- extends Annotation
- Author:
- Administrator
Constructor Summary |
Marker()
|
Marker(IBaseChart c)
|
Marker(IBaseChart c,
java.lang.String text,
int fontsize,
AnnotationPosition pos,
StringAlignment align,
Color color1,
Color color2)
|
Marker(java.lang.String text,
int fontsize,
AnnotationPosition pos,
StringAlignment align,
Color color1,
Color color2)
|
Marker(java.lang.String text,
int fontsize,
int left,
int top,
StringAlignment align,
Color color1,
Color color2)
|
Methods inherited from class com.steema.teechart.tools.Annotation |
addToolMouseListener, calcTempWidth, chartEvent, clicked, drawText, drawText, getCallout, getCursor, getCustomSize, getDescription, getHeight, getInnerText, getLeft, getPosition, getShape, getSummary, getText, getTextAlign, getTop, getWidth, mouseEvent, removeToolMouseListener, setChart, setCursor, setCustomSize, setHeight, setLeft, setPosition, setText, setTextAlign, setTop, setWidth |
Methods inherited from class com.steema.teechart.tools.Tool |
dispose, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, readResolve, setActive, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
iRectangle
public Rectangle iRectangle
Marker
public Marker(java.lang.String text,
int fontsize,
AnnotationPosition pos,
StringAlignment align,
Color color1,
Color color2)
Marker
public Marker()
Marker
public Marker(IBaseChart c)
Marker
public Marker(IBaseChart c,
java.lang.String text,
int fontsize,
AnnotationPosition pos,
StringAlignment align,
Color color1,
Color color2)
Marker
public Marker(java.lang.String text,
int fontsize,
int left,
int top,
StringAlignment align,
Color color1,
Color color2)
textWidth
public int textWidth()
setCentered
public void setCentered(boolean b)
calcTempPosition
protected void calcTempPosition(int[] xyPosition,
int tmpW,
int tmpH,
int horizMargin,
int vertMargin)
- Overrides:
calcTempPosition
in class Annotation
drawString
protected void drawString(Graphics3D g,
int x,
int y,
int t,
int tmpHeight,
java.lang.String[] s)
getCentered
public boolean getCentered()
setCenter
public void setCenter(boolean value)
getUsePalette
public boolean getUsePalette()
setUsePalette
public void setUsePalette(boolean value)
getVisible
public boolean getVisible()
setVisible
public void setVisible(boolean value)