public abstract class AlphaCellModel
extends java.lang.Object
implements java.lang.Comparable
构造器和说明 |
---|
AlphaCellModel(java.lang.String name,
java.lang.String content) |
AlphaCellModel(java.lang.String name,
java.lang.String content,
CellType type) |
限定符和类型 | 方法和说明 |
---|---|
void |
addSearchCount() |
int |
compareTo(java.lang.Object o) |
abstract void |
doAction()
双击时所需执行的操作
|
java.lang.String |
getContent() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
int |
getSearchCount() |
abstract java.lang.String |
getStoreInformation()
获取需要保存到云中心的信息
|
CellType |
getType() |
boolean |
hasAction() |
boolean |
isNeedToSendToServer() |
abstract JSONObject |
modelToJson()
model转json
|
void |
resetState()
恢复正常状态
|
void |
setContent(java.lang.String content) |
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setSearchCount(int searchCount) |
void |
setType(CellType type) |
public AlphaCellModel(java.lang.String name, java.lang.String content, CellType type)
public AlphaCellModel(java.lang.String name, java.lang.String content)
public CellType getType()
public void setType(CellType type)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getContent()
public void setContent(java.lang.String content)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public boolean hasAction()
public boolean isNeedToSendToServer()
public abstract JSONObject modelToJson() throws JSONException
JSONException
public abstract java.lang.String getStoreInformation()
public abstract void doAction()
public int getSearchCount()
public void setSearchCount(int searchCount)
public void addSearchCount()
public int compareTo(java.lang.Object o)
compareTo
在接口中 java.lang.Comparable
public void resetState()