Package org.meteoinfo.legend
Class PointBreak
- java.lang.Object
-
- org.meteoinfo.legend.ColorBreak
-
- org.meteoinfo.legend.PointBreak
-
public class PointBreak extends ColorBreak
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.legend.ColorBreak
_breakType
-
-
Constructor Summary
Constructors Constructor Description PointBreak()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()ClonevoidexportToXML(org.w3c.dom.Document doc, org.w3c.dom.Element parent)Export to xml documentfloatgetAngle()Get point angleintgetCharIndex()Get character indexbooleangetDrawFill()Get if draw fillbooleangetDrawOutline()Get if draw outlinejava.lang.StringgetFontName()Get font namejava.lang.StringgetImagePath()Get image file pathMarkerTypegetMarkerType()Get marker typejava.awt.ColorgetOutlineColor()Get outline colorfloatgetOutlineSize()Get outline sizejava.lang.ObjectgetPropertyObject()Get property objectfloatgetSize()Get sizePointStylegetStyle()Get point stylevoidsetAngle(float angle)Set point anglevoidsetCharIndex(int idx)Set character indexvoidsetDrawFill(boolean isTrue)Set if draw fillvoidsetDrawOutline(boolean isTrue)Set if draw outlinevoidsetFontName(java.lang.String name)Set font namevoidsetImagePath(java.lang.String path)Set image file pathvoidsetMarkerType(MarkerType markerType)Set marker typevoidsetOutlineColor(java.awt.Color c)Set outline colorvoidsetOutlineSize(float value)Set outline sizevoidsetSize(float size)Set sizevoidsetStyle(PointStyle style)Set point style-
Methods inherited from class org.meteoinfo.legend.ColorBreak
getBreakType, getCaption, getColor, getEndValue, getStartValue, getTag, getValueString, isDrawShape, isNoData, setBreakType, setCaption, setColor, setDrawShape, setEndValue, setNoData, setStartValue, setTag
-
-
-
-
Method Detail
-
getMarkerType
public MarkerType getMarkerType()
Get marker type- Returns:
- Marker type
-
setMarkerType
public void setMarkerType(MarkerType markerType)
Set marker type- Parameters:
markerType- Marker type
-
getFontName
public java.lang.String getFontName()
Get font name- Returns:
- Font name string
-
setFontName
public void setFontName(java.lang.String name)
Set font name- Parameters:
name- Font name string
-
getCharIndex
public int getCharIndex()
Get character index- Returns:
- Character index
-
setCharIndex
public void setCharIndex(int idx)
Set character index- Parameters:
idx- Index
-
getImagePath
public java.lang.String getImagePath()
Get image file path- Returns:
- Image file path
-
setImagePath
public void setImagePath(java.lang.String path)
Set image file path- Parameters:
path- Image file path
-
getOutlineColor
public java.awt.Color getOutlineColor()
Get outline color- Returns:
- Outline color
-
setOutlineColor
public void setOutlineColor(java.awt.Color c)
Set outline color- Parameters:
c- Color
-
getOutlineSize
public float getOutlineSize()
Get outline size- Returns:
- Outline size
-
setOutlineSize
public void setOutlineSize(float value)
Set outline size- Parameters:
value- Outline size
-
getSize
public float getSize()
Get size- Returns:
- Size
-
setSize
public void setSize(float size)
Set size- Parameters:
size- Size
-
getStyle
public PointStyle getStyle()
Get point style- Returns:
- Point style
-
setStyle
public void setStyle(PointStyle style)
Set point style- Parameters:
style- Point style
-
getDrawOutline
public boolean getDrawOutline()
Get if draw outline- Returns:
- Boolean
-
setDrawOutline
public void setDrawOutline(boolean isTrue)
Set if draw outline- Parameters:
isTrue- Boolean
-
getDrawFill
public boolean getDrawFill()
Get if draw fill- Returns:
- Boolean
-
setDrawFill
public void setDrawFill(boolean isTrue)
Set if draw fill- Parameters:
isTrue- Boolean
-
getAngle
public float getAngle()
Get point angle- Returns:
- Angle
-
setAngle
public void setAngle(float angle)
Set point angle- Parameters:
angle- Angle
-
getPropertyObject
public java.lang.Object getPropertyObject()
Get property object- Overrides:
getPropertyObjectin classColorBreak- Returns:
- Property object
-
clone
public java.lang.Object clone()
Clone- Overrides:
clonein classColorBreak- Returns:
- PointBreak
-
exportToXML
public void exportToXML(org.w3c.dom.Document doc, org.w3c.dom.Element parent)Export to xml document- Overrides:
exportToXMLin classColorBreak- Parameters:
doc- xml documentparent- parent xml element
-
-