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