|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.whiteboard.WhiteboardObjectJabberImpl
net.java.sip.communicator.impl.protocol.jabber.extensions.whiteboard.WhiteboardObjectImageJabberImpl
public class WhiteboardObjectImageJabberImpl
WhiteboardObjectImageJabberImpl
WhiteboardObjectImageJabberImpl are created through the WhiteboardSession session.
All WhiteboardObjectImageJabberImpl have whiteboard object id.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.whiteboardobjects.WhiteboardObjectImage |
|---|
NAME |
| Constructor Summary | |
|---|---|
WhiteboardObjectImageJabberImpl()
Default WhiteboardObjectImageJabberImpl constructor. |
|
WhiteboardObjectImageJabberImpl(String xml)
WhiteboardObjectImageJabberImpl constructor. |
|
| Method Summary | |
|---|---|
byte[] |
getBackgroundImage()
Returns a binary array containing the image that should be displayed as the background of this WhiteboardObject. |
double |
getHeight()
Returns the height (in pixels) of the WhiteboardObject. |
WhiteboardPoint |
getWhiteboardPoint()
Returns the coordinates of this whiteboard object. |
double |
getWidth()
Returns the width (in pixels) of the WhiteboardObject. |
void |
setBackgroundImage(byte[] background)
Specifies an image that should be displayed as the background of this object. |
void |
setHeight(double height)
Sets the width (in pixels) of the WhiteboardObject. |
void |
setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object. |
void |
setWidth(double width)
Sets the width (in pixels) of the WhiteboardObject. |
String |
toXML()
Returns the XML reppresentation of the PacketExtension. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.whiteboard.WhiteboardObjectJabberImpl |
|---|
colorToHex, colorToHex, equals, generateID, getColor, getID, getThickness, setColor, setID, setThickness |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.whiteboardobjects.WhiteboardObject |
|---|
getColor, getID, getThickness, setColor, setThickness |
| Constructor Detail |
|---|
public WhiteboardObjectImageJabberImpl()
public WhiteboardObjectImageJabberImpl(String xml)
xml - the XML string object to parse.| Method Detail |
|---|
public double getHeight()
getHeight in interface WhiteboardObjectImagepublic double getWidth()
getWidth in interface WhiteboardObjectImagepublic WhiteboardPoint getWhiteboardPoint()
getWhiteboardPoint in interface WhiteboardObjectImagepublic void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
setWhiteboardPoint in interface WhiteboardObjectImagewhiteboardPoint - the coordinates of this object.public void setHeight(double height)
setHeight in interface WhiteboardObjectImageheight - The new height.public void setWidth(double width)
setWidth in interface WhiteboardObjectImagewidth - The new width.public void setBackgroundImage(byte[] background)
setBackgroundImage in interface WhiteboardObjectImagebackground - a binary array containing the image that should be
displayed as the object background.public byte[] getBackgroundImage()
getBackgroundImage in interface WhiteboardObjectImagepublic String toXML()
toXML in class WhiteboardObjectJabberImpl
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||