public class DownMenuStyle extends MobileTemplateStyle
限定符和类型 | 字段和说明 |
---|---|
static java.awt.Color |
DEFAULT_INITIAL_COLOR |
static java.awt.Color |
DEFAULT_SELECT_COLOR |
static java.awt.Color |
DEFAULT_SELECT_FONT_COLOR |
static LineDescription |
DEFAULT_SPLIT_LINE |
static TabFontConfig |
DEFAULT_TAB_FONT |
static java.lang.String |
DISPLAY_NAME |
static java.lang.String |
STYLE_NAME |
DEFAULT_FONTNAME
构造器和说明 |
---|
DownMenuStyle() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
LineDescription |
getSplitLine() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setSplitLine(LineDescription splitLine) |
java.lang.String |
toString() |
protected void |
writeExtraXml(XMLPrintWriter writer) |
getFrFont, getInitialColor, getSelectColor, getStyle, getTabFontConfig, isCustom, setCustom, setFrFont, setInitialColor, setSelectColor, setStyle, setTabFontConfig, writeXML
public static final java.lang.String STYLE_NAME
public static final java.lang.String DISPLAY_NAME
public static final LineDescription DEFAULT_SPLIT_LINE
public static final java.awt.Color DEFAULT_INITIAL_COLOR
public static final java.awt.Color DEFAULT_SELECT_FONT_COLOR
public static final java.awt.Color DEFAULT_SELECT_COLOR
public static final TabFontConfig DEFAULT_TAB_FONT
public LineDescription getSplitLine()
public void setSplitLine(LineDescription splitLine)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 MobileTemplateStyle
reader
- XML读取对象XMLableReader
protected void writeExtraXml(XMLPrintWriter writer)
writeExtraXml
在类中 MobileTemplateStyle
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 MobileTemplateStyle
repo
- 参数repoc
- 指定解析器nodeVisitor
- 节点访问JSONException
- 异常public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 MobileTemplateStyle
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常