public class GaugeDetailStyle extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
GaugeDetailStyle(GaugeStyle gaugeStyle) |
限定符和类型 | 方法和说明 |
---|---|
void |
addDetailStyleJSON(JSONObject js,
GaugeStyle gaugeStyle) |
java.lang.Object |
clone() |
void |
dealFormula(Calculator calculator)
SE中处理公式
|
void |
dependence(CalculatorProvider ca,
java.util.List<java.lang.String> result) |
boolean |
equals(java.lang.Object ob) |
JSONArray |
getBandsArray() |
java.awt.Color |
getHingeBackgroundColor() |
java.awt.Color |
getHingeColor() |
MapHotAreaColor |
getHotAreaColor() |
java.awt.Color |
getInnerPaneBackgroundColor() |
java.awt.Color |
getNeedleColor() |
java.awt.Color |
getPaneBackgroundColor() |
java.awt.Color |
getSlotBackgroundColor() |
boolean |
isAntiClockWise()
是否是逆时针画
|
boolean |
isHorizontalLayout()
是否是横向画
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAntiClockWise(boolean antiClockWise) |
void |
setHingeBackgroundColor(java.awt.Color hingeBackgroundColor) |
void |
setHingeColor(java.awt.Color hingeColor) |
void |
setHorizontalLayout(boolean horizontalLayout) |
void |
setHotAreaColor(MapHotAreaColor hotAreaColor) |
void |
setInnerPaneBackgroundColor(java.awt.Color innerPaneBackgroundColor) |
void |
setNeedleColor(java.awt.Color needleColor) |
void |
setPaneBackgroundColor(java.awt.Color paneBackgroundColor) |
void |
setSlotBackgroundColor(java.awt.Color slotBackgroundColor) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public GaugeDetailStyle(GaugeStyle gaugeStyle)
public void setAntiClockWise(boolean antiClockWise)
public boolean isAntiClockWise()
public void setHingeBackgroundColor(java.awt.Color hingeBackgroundColor)
public java.awt.Color getHingeBackgroundColor()
public void setHingeColor(java.awt.Color hingeColor)
public java.awt.Color getHingeColor()
public void setHorizontalLayout(boolean horizontalLayout)
public boolean isHorizontalLayout()
public void setHotAreaColor(MapHotAreaColor hotAreaColor)
public MapHotAreaColor getHotAreaColor()
public void setInnerPaneBackgroundColor(java.awt.Color innerPaneBackgroundColor)
public java.awt.Color getInnerPaneBackgroundColor()
public void setNeedleColor(java.awt.Color needleColor)
public java.awt.Color getNeedleColor()
public void setPaneBackgroundColor(java.awt.Color paneBackgroundColor)
public java.awt.Color getPaneBackgroundColor()
public void setSlotBackgroundColor(java.awt.Color slotBackgroundColor)
public java.awt.Color getSlotBackgroundColor()
public void writeXML(XMLPrintWriter writer)
XMLWriter
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public void dependence(CalculatorProvider ca, java.util.List<java.lang.String> result)
public void dealFormula(Calculator calculator)
calculator
- 计算器public JSONArray getBandsArray() throws JSONException
JSONException
public void addDetailStyleJSON(JSONObject js, GaugeStyle gaugeStyle) throws JSONException
JSONException