Class Whiteboard
- java.lang.Object
-
- org.apache.openmeetings.db.dto.room.Whiteboard
-
- All Implemented Interfaces:
Serializable
public class Whiteboard extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWhiteboard.ZoomMode
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_FILE_IDstatic StringATTR_FILE_TYPEstatic StringATTR_HEIGHTstatic StringATTR_OMTYPEstatic StringATTR_SLIDEstatic StringATTR_TYPEstatic StringATTR_WIDTHstatic StringATTR_ZOOMstatic StringITEMS_KEY
-
Constructor Summary
Constructors Constructor Description Whiteboard()Whiteboard(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()com.github.openjson.JSONArrayclearSlide(int slide)booleancontains(String uid)com.github.openjson.JSONObjectget(String uid)com.github.openjson.JSONObjectgetAddJson()DategetCreated()intgetHeight()longgetId()StringgetName()intgetSlide()intgetWidth()doublegetZoom()Whiteboard.ZoomModegetZoomMode()booleanisEmpty()List<com.github.openjson.JSONObject>list()Whiteboardput(String uid, com.github.openjson.JSONObject obj)com.github.openjson.JSONObjectremove(Object oid)Stringsave(Path path)voidsetCreated(Date created)voidsetHeight(int height)voidsetId(long id)WhiteboardsetName(String name)voidsetSlide(int slide)voidsetWidth(int width)voidsetZoom(double zoom)voidsetZoomMode(Whiteboard.ZoomMode zoomMode)com.github.openjson.JSONObjecttoJson()
-
-
-
Field Detail
-
ATTR_TYPE
public static final String ATTR_TYPE
- See Also:
- Constant Field Values
-
ATTR_OMTYPE
public static final String ATTR_OMTYPE
- See Also:
- Constant Field Values
-
ATTR_FILE_ID
public static final String ATTR_FILE_ID
- See Also:
- Constant Field Values
-
ATTR_FILE_TYPE
public static final String ATTR_FILE_TYPE
- See Also:
- Constant Field Values
-
ATTR_SLIDE
public static final String ATTR_SLIDE
- See Also:
- Constant Field Values
-
ATTR_WIDTH
public static final String ATTR_WIDTH
- See Also:
- Constant Field Values
-
ATTR_HEIGHT
public static final String ATTR_HEIGHT
- See Also:
- Constant Field Values
-
ATTR_ZOOM
public static final String ATTR_ZOOM
- See Also:
- Constant Field Values
-
ITEMS_KEY
public static final String ITEMS_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Whiteboard
public Whiteboard()
-
Whiteboard
public Whiteboard(String name)
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getCreated
public Date getCreated()
-
setCreated
public void setCreated(Date created)
-
getZoom
public double getZoom()
-
setZoom
public void setZoom(double zoom)
-
getZoomMode
public Whiteboard.ZoomMode getZoomMode()
-
setZoomMode
public void setZoomMode(Whiteboard.ZoomMode zoomMode)
-
clear
public void clear()
-
put
public Whiteboard put(String uid, com.github.openjson.JSONObject obj)
-
get
public com.github.openjson.JSONObject get(String uid)
-
contains
public boolean contains(String uid)
-
clearSlide
public com.github.openjson.JSONArray clearSlide(int slide)
-
list
public List<com.github.openjson.JSONObject> list()
-
remove
public com.github.openjson.JSONObject remove(Object oid)
-
isEmpty
public boolean isEmpty()
-
getName
public String getName()
-
setName
public Whiteboard setName(String name)
-
getSlide
public int getSlide()
-
setSlide
public void setSlide(int slide)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getAddJson
public com.github.openjson.JSONObject getAddJson()
-
toJson
public com.github.openjson.JSONObject toJson()
-
-