public class SpenContentWeb extends SpenContentBase
SpenContentBase since 5.0.0.STATE_CANCELED, STATE_DONE, STATE_EXCEPTION, STATE_FAIL, STATE_INIT, STATE_NONE, STATE_READY, STATE_RUNNING, TASK_BULLET, TASK_DONE, TASK_NONE, TASK_NUMBER, TASK_TODO, TYPE_DRAWING, TYPE_HANDWRITING, TYPE_IMAGE, TYPE_NONE, TYPE_TEXT| Constructor and Description |
|---|
SpenContentWeb()
Creates an SpenContentWeb instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy(SpenContentBase source)
Copy data from the specified content.
|
String |
getBody()
Get the body text for the web.
|
int |
getImageTypeId()
Get the image type id for the web.
|
String |
getTitle()
Get the title for the web.
|
String |
getUri()
Get the uri for the web.
|
void |
setBody(String body)
Set the specified body text for the web.
|
void |
setImageTypeId(int typeId)
Set the imaga type for the web.
|
void |
setTitle(String title)
Set the specified title for the web.
|
void |
setUri(String uri)
Set the uri for the web.
|
appendSpan, clearChangedFlag, equals, findSpan, getItemHeight, getLength, getSpan, getState, getTaskId, getTaskNumber, getTaskStyle, getText, getThumbnailPath, getType, isChanged, removeSpan, setItemHeight, setSpan, setState, setTaskId, setTaskNumber, setTaskStyle, setText, setThumbnailPathpublic SpenContentWeb()
public void setTitle(String title)
title - The title string.getTitle()public String getTitle()
setTitle(String)public void setBody(String body)
body - The body string.getBody()public String getBody()
setBody(String)public void setUri(String uri)
uri - The uri string.getUri()public String getUri()
setUri(String)public void setImageTypeId(int typeId)
typeId - The type id.getImageTypeId()public int getImageTypeId()
setImageTypeId(int)public void copy(SpenContentBase source)
copy in class SpenContentBasesource - The source content.IllegalArgumentException - Thrown if class type is different.
Or if source is null.