public class WhiteboardObjectLineJabberImpl extends WhiteboardObjectJabberImpl implements WhiteboardObjectLine
WhiteboardObjectLineJabberImpl are created through the WhiteboardSession session.
All WhiteboardObjectLineJabberImpl have whiteboard object id.
NAME
Constructor and Description |
---|
WhiteboardObjectLineJabberImpl()
Default WhiteboardObjectLineJabberImpl constructor.
|
WhiteboardObjectLineJabberImpl(java.lang.String xml)
WhiteboardObjectLineJabberImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
WhiteboardPoint |
getWhiteboardPointEnd()
Returns the coordinates of end point for the line
|
WhiteboardPoint |
getWhiteboardPointStart()
Returns the coordinates of start point for the line
|
void |
setWhiteboardPointEnd(WhiteboardPoint whiteboardPointEnd)
Sets the coordinates of end point for the line
|
void |
setWhiteboardPointStart(WhiteboardPoint whiteboardPointStart)
Sets the coordinates of start point for the line
|
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 WhiteboardObjectLineJabberImpl()
public WhiteboardObjectLineJabberImpl(java.lang.String xml)
xml
- the XML string object to parse.public WhiteboardPoint getWhiteboardPointStart()
getWhiteboardPointStart
in interface WhiteboardObjectLine
public WhiteboardPoint getWhiteboardPointEnd()
getWhiteboardPointEnd
in interface WhiteboardObjectLine
public void setWhiteboardPointStart(WhiteboardPoint whiteboardPointStart)
setWhiteboardPointStart
in interface WhiteboardObjectLine
whiteboardPointStart
- the new start coordinates for this line.public void setWhiteboardPointEnd(WhiteboardPoint whiteboardPointEnd)
setWhiteboardPointEnd
in interface WhiteboardObjectLine
whiteboardPointEnd
- the new end coordinates for this line.public java.lang.String toXML()
toXML
in class WhiteboardObjectJabberImpl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.