public class VanChartLegend extends Legend
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
VanChartLegend() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
克隆
|
VanChartLegendGlyph |
createLegendGlyph(PlotGlyph plotGlyph)
生成画图例的Glyph
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
double |
getFloatPercentX()
返回悬浮位置 距离左上角横向位置
|
double |
getFloatPercentY()
返回悬浮位置 距离左上角纵向位置
|
double |
getMaxHeight()
返回区域最大占比
|
boolean |
isFloating()
返回是否自定义悬浮位置
|
boolean |
isHighlight() |
boolean |
isLimitSize()
返回是否限制区域大小
|
protected void |
readAttrXML(XMLableReader reader) |
void |
readXML(XMLableReader reader)
读取XML属性
|
protected void |
setCommonLegendAttrs(VanChartLegendGlyph legendGlyph) |
void |
setFloating(boolean floating)
设置是否自定义悬浮位置
|
void |
setFloatPercentX(double floatPercentX)
设置悬浮位置 距离左上角横向位置
|
void |
setFloatPercentY(double floatPercentY)
设置悬浮位置 距离左上角纵向位置
|
void |
setHighlight(boolean isHighlight) |
void |
setLimitSize(boolean limitSize)
设置是否限制区域大小
|
void |
setMaxHeight(double maxHeight)
设置区域最大占比
|
protected void |
writeAttrXML(XMLPrintWriter writer) |
void |
writeXML(XMLPrintWriter writer)
写XML
|
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, createLegendGlyph, dealFormula, dependence, getFRFont, getPosition, isLegendVisible, modFormulaString, setFRFont, setLegendVisible, setPosition
changedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXML
public static final java.lang.String XML_TAG
public void setFloating(boolean floating)
floating
- 设置是否自定义悬浮位置public boolean isFloating()
public void setFloatPercentX(double floatPercentX)
floatPercentX
- 横向位置public double getFloatPercentX()
public void setFloatPercentY(double floatPercentY)
floatPercentY
- 纵向位置public double getFloatPercentY()
public void setLimitSize(boolean limitSize)
limitSize
- 是否限制区域大小public boolean isLimitSize()
public void setMaxHeight(double maxHeight)
maxHeight
- 区域最大占比public double getMaxHeight()
public boolean isHighlight()
public void setHighlight(boolean isHighlight)
public VanChartLegendGlyph createLegendGlyph(PlotGlyph plotGlyph)
protected void setCommonLegendAttrs(VanChartLegendGlyph legendGlyph)
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 Legend
reader
- XML读取器XMLableReader
protected void readAttrXML(XMLableReader reader)
public void writeXML(XMLPrintWriter writer)
protected void writeAttrXML(XMLPrintWriter writer)
public boolean equals(java.lang.Object ob)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
GeneralInfo
clone
在接口中 FCloneable
clone
在类中 Legend
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常