public class AttrChangeConfig extends java.lang.Object implements XMLable, ChangeConfigProvider
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
AttrChangeConfig() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.awt.Color |
getButtonColor() |
java.awt.Color |
getCarouselColor() |
AttrChangeType |
getChangeType() |
TextAttr |
getStyleAttr() |
int |
getTimeInterval() |
boolean |
isEnable() |
boolean |
isShowArrow() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setButtonColor(java.awt.Color buttonColor) |
void |
setCarouselColor(java.awt.Color carouselColor) |
void |
setChangeType(AttrChangeType changeType) |
void |
setEnable(boolean enable) |
void |
setShowArrow(boolean b) |
void |
setStyleAttr(TextAttr styleAttr) |
void |
setTimeInterval(int timeInterval) |
JSONObject |
toJSONObject(Repository repo) |
boolean |
useChangeModel() |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public AttrChangeType getChangeType()
public void setChangeType(AttrChangeType changeType)
public boolean isEnable()
public void setEnable(boolean enable)
public TextAttr getStyleAttr()
public void setStyleAttr(TextAttr styleAttr)
public java.awt.Color getButtonColor()
public void setButtonColor(java.awt.Color buttonColor)
public java.awt.Color getCarouselColor()
public void setCarouselColor(java.awt.Color carouselColor)
public int getTimeInterval()
public void setTimeInterval(int timeInterval)
public boolean isShowArrow()
public void setShowArrow(boolean b)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 ChangeConfigProvider
JSONException
public boolean useChangeModel()
useChangeModel
在接口中 ChangeConfigProvider