public class WhiteboardObjectTextJabberImpl extends WhiteboardObjectJabberImpl implements WhiteboardObjectText
WhiteboardObjectTextJabberImpl are created through the WhiteboardSession session.
All WhiteboardObjectTextJabberImpl have whiteboard object id.
NAME
Constructor and Description |
---|
WhiteboardObjectTextJabberImpl()
Default WhiteboardObjectTextJabberImpl constructor.
|
WhiteboardObjectTextJabberImpl(java.lang.String xml)
WhiteboardObjectTextJabberImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontName()
Returns the WhiteboardObjectTextJabberImpl's font name.
|
int |
getFontSize()
Returns the WhiteboardObjectTextJabberImpl's font size.
|
java.lang.String |
getText()
Returns the WhiteboardObjectTextJabberImpl's text.
|
WhiteboardPoint |
getWhiteboardPoint()
Returns the coordinates of this whiteboard object.
|
void |
setFontName(java.lang.String fontName)
Sets the WhiteboardObjectTextJabberImpl's font name.
|
void |
setFontSize(int fontSize)
Sets the WhiteboardObjectTextJabberImpl's font size.
|
void |
setText(java.lang.String text)
Sets the WhiteboardObjectTextJabberImpl's text.
|
void |
setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object.
|
java.lang.String |
toXML()
Returns the XML reppresentation of the PacketExtension.
|
colorToHex, colorToHex, equals, generateID, getColor, getID, getThickness, setColor, setID, setThickness
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColor, getID, getThickness, setColor, setThickness
public WhiteboardObjectTextJabberImpl()
public WhiteboardObjectTextJabberImpl(java.lang.String xml)
xml
- the XML string object to parse.public WhiteboardPoint getWhiteboardPoint()
getWhiteboardPoint
in interface WhiteboardObjectText
public void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
setWhiteboardPoint
in interface WhiteboardObjectText
whiteboardPoint
- the coordinates of this object.public java.lang.String getText()
getText
in interface WhiteboardObjectText
public void setText(java.lang.String text)
setText
in interface WhiteboardObjectText
text
- the new WhiteboardObjectTextJabberImpl's text.public int getFontSize()
getFontSize
in interface WhiteboardObjectText
public void setFontSize(int fontSize)
setFontSize
in interface WhiteboardObjectText
fontSize
- the new WhiteboardObjectTextJabberImpl's font size.public java.lang.String getFontName()
getFontName
in interface WhiteboardObjectText
public void setFontName(java.lang.String fontName)
setFontName
in interface WhiteboardObjectText
fontName
- the new WhiteboardObjectTextJabberImpl's font name.public java.lang.String toXML()
toXML
in class WhiteboardObjectJabberImpl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.