public class UpMenuStyle extends MobileTemplateStyle
限定符和类型 | 字段和说明 |
---|---|
static LineDescription |
DEFAULT_BOTTOM_BORDER |
static java.awt.Color |
DEFAULT_INITIAL_COLOR |
static java.awt.Color |
DEFAULT_SELECT_COLOR |
static java.awt.Color |
DEFAULT_SELECT_FONT_COLOR |
static TabFontConfig |
DEFAULT_TAB_FONT |
static LineDescription |
DEFAULT_UNDER_LINE |
static java.lang.String |
DISPLAY_NAME |
static java.lang.String |
STYLE_NAME |
DEFAULT_FONTNAME
构造器和说明 |
---|
UpMenuStyle() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
LineDescription |
getBottomBorder() |
LineDescription |
getUnderline() |
boolean |
isGapFix() |
boolean |
isTitleWidthFix() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setBottomBorder(LineDescription bottomBorder) |
void |
setGapFix(boolean gapFix) |
void |
setTitleWidthFix(boolean titleWidthFix) |
void |
setUnderline(LineDescription underline) |
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_BOTTOM_BORDER
public static final LineDescription DEFAULT_UNDER_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 boolean isGapFix()
public void setGapFix(boolean gapFix)
public LineDescription getBottomBorder()
public void setBottomBorder(LineDescription bottomBorder)
public LineDescription getUnderline()
public void setUnderline(LineDescription underline)
public boolean isTitleWidthFix()
public void setTitleWidthFix(boolean titleWidthFix)
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
- 如果克隆失败则抛出此异常