类 LabelSet
- java.lang.Object
-
- org.meteoinfo.layer.LabelSet
-
public class LabelSet extends java.lang.ObjectTemplate- 作者:
- Yaqiang Wang
-
-
构造器概要
构造器 构造器 说明 LabelSet()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetDecimalDigits()Get decimal digitsjava.lang.StringgetFieldName()Get label field nameAlignTypegetLabelAlignType()Get label align typejava.awt.ColorgetLabelColor()Get label colorjava.awt.FontgetLabelFont()Get label fontjava.awt.ColorgetShadowColor()Get shadow colorintgetXOffset()Get x offsetintgetYOffset()Get y offsetbooleanisAutoDecimal()Get if automatic set decimal digitsbooleanisAvoidCollision()Get if avoid collisionbooleanisColorByLegend()Get if set color by legendbooleanisDrawLabels()Get if draw labelsbooleanisDrawShadow()Get if show shadowbooleanisDynamicContourLabel()Get if using dynamic contour labelvoidsetAutoDecimal(boolean istrue)Set if automatic set decimal digitsvoidsetAvoidCollision(boolean istrue)Set if avoid collisionvoidsetColorByLegend(boolean istrue)Set if set color by legendvoidsetDecimalDigits(int value)Set decimal digitsvoidsetDrawLabels(boolean istrue)Set if draw labelsvoidsetDrawShadow(boolean istrue)Set if show shadowvoidsetDynamicContourLabel(boolean istrue)Set if using dynamic contour labelvoidsetFieldName(java.lang.String name)Set label field namevoidsetLabelAlignType(AlignType type)Set label align typevoidsetLabelColor(java.awt.Color color)Set label colorvoidsetLabelFont(java.awt.Font font)Set label fontvoidsetShadowColor(java.awt.Color color)Set shadow colorvoidsetXOffset(int value)Set x offsetvoidsetYOffset(int value)Set y offset
-
-
-
方法详细资料
-
isDrawLabels
public boolean isDrawLabels()
Get if draw labels- 返回:
- If draw labels
-
setDrawLabels
public void setDrawLabels(boolean istrue)
Set if draw labels- 参数:
istrue- If draw labels
-
getFieldName
public java.lang.String getFieldName()
Get label field name- 返回:
- Label field name
-
setFieldName
public void setFieldName(java.lang.String name)
Set label field name- 参数:
name- Label field name
-
getLabelFont
public java.awt.Font getLabelFont()
Get label font- 返回:
- Font
-
setLabelFont
public void setLabelFont(java.awt.Font font)
Set label font- 参数:
font- Label font
-
getLabelColor
public java.awt.Color getLabelColor()
Get label color- 返回:
- Label color
-
setLabelColor
public void setLabelColor(java.awt.Color color)
Set label color- 参数:
color- Label color
-
isDrawShadow
public boolean isDrawShadow()
Get if show shadow- 返回:
- If show shadow
-
setDrawShadow
public void setDrawShadow(boolean istrue)
Set if show shadow- 参数:
istrue- If show shadow
-
getShadowColor
public java.awt.Color getShadowColor()
Get shadow color- 返回:
- Shadow color
-
setShadowColor
public void setShadowColor(java.awt.Color color)
Set shadow color- 参数:
color- Shadow color
-
getLabelAlignType
public AlignType getLabelAlignType()
Get label align type- 返回:
- Align type
-
setLabelAlignType
public void setLabelAlignType(AlignType type)
Set label align type- 参数:
type- Align type
-
getXOffset
public int getXOffset()
Get x offset- 返回:
- X offset
-
setXOffset
public void setXOffset(int value)
Set x offset- 参数:
value- X offset
-
getYOffset
public int getYOffset()
Get y offset- 返回:
- Y offset
-
setYOffset
public void setYOffset(int value)
Set y offset- 参数:
value- Y offset
-
isAvoidCollision
public boolean isAvoidCollision()
Get if avoid collision- 返回:
- If avoid collision
-
setAvoidCollision
public void setAvoidCollision(boolean istrue)
Set if avoid collision- 参数:
istrue- If avoid collision
-
isColorByLegend
public boolean isColorByLegend()
Get if set color by legend- 返回:
- Boolean
-
setColorByLegend
public void setColorByLegend(boolean istrue)
Set if set color by legend- 参数:
istrue- Boolean
-
isDynamicContourLabel
public boolean isDynamicContourLabel()
Get if using dynamic contour label- 返回:
- Boolean
-
setDynamicContourLabel
public void setDynamicContourLabel(boolean istrue)
Set if using dynamic contour label- 参数:
istrue- Boolean
-
isAutoDecimal
public boolean isAutoDecimal()
Get if automatic set decimal digits- 返回:
- Boolean
-
setAutoDecimal
public void setAutoDecimal(boolean istrue)
Set if automatic set decimal digits- 参数:
istrue- Boolean
-
getDecimalDigits
public int getDecimalDigits()
Get decimal digits- 返回:
- Decimal digits
-
setDecimalDigits
public void setDecimalDigits(int value)
Set decimal digits- 参数:
value- Decimal digits
-
-