|
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.WhiteboardObjectPacketExtension
public class WhiteboardObjectPacketExtension
WhiteboardObjectPacketExtension
| Field Summary | |
|---|---|
static String |
ACTION_DELETE
A type string constant indicating that the current object must be deleted. |
static String |
ACTION_DRAW
A type string constant indicating that the current object must be drawn. |
static String |
ACTION_MOVE
A type string constant indicating that the current object must be moved. |
static String |
ELEMENT_NAME
The name of the XML element used for transport of white-board parameters. |
static String |
NAMESPACE
The names XMPP space that the white-board elements belong to. |
| Constructor Summary | |
|---|---|
WhiteboardObjectPacketExtension()
Default WhiteboardObjectPacketExtension constructor. |
|
WhiteboardObjectPacketExtension(String xml)
WhiteboardObjectPacketExtension constructor with a XML-SVG String. |
|
WhiteboardObjectPacketExtension(String id,
String action)
WhiteboardObjectPacketExtension constructor. |
|
WhiteboardObjectPacketExtension(WhiteboardObjectJabberImpl whiteboardObject,
String action)
Constructs and initializes a WhiteboardObjectPacketExtension. |
|
| Method Summary | |
|---|---|
String |
getAction()
Returns the current action associated with the WhiteboardObject to send. |
String |
getElementName()
Returns the root element name. |
String |
getNamespace()
Returns the root element XML namespace. |
WhiteboardObjectJabberImpl |
getWhiteboardObject()
Returns the current WhiteboardObject to be sent. |
String |
getWhiteboardObjectID()
Returns the current WhiteboardObject's identifier to be sent. |
void |
setAction(String action)
Sets the action associated with the WhiteboardObject to send. |
void |
setWhiteboardObjectID(String objectID)
Sets the current WhiteboardObject's identifier to be sent. |
String |
toXML()
Returns the XML representation of the WhiteboardObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public static final String ACTION_DELETE
public static final String ACTION_DRAW
public static final String ACTION_MOVE
| Constructor Detail |
|---|
public WhiteboardObjectPacketExtension()
public WhiteboardObjectPacketExtension(String id,
String action)
id - Identifier of the WhiteboardObject to be treatedaction - The current action associated with the WhiteboardObject.
public WhiteboardObjectPacketExtension(WhiteboardObjectJabberImpl whiteboardObject,
String action)
whiteboardObject - The WhiteboardObject to be treatedaction - The current action associated with the WhiteboardObject.public WhiteboardObjectPacketExtension(String xml)
xml - XML-SVG String| Method Detail |
|---|
public String getElementName()
getElementName in interface org.jivesoftware.smack.packet.PacketExtensionpublic String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.PacketExtensionpublic String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensionpublic String getAction()
public void setAction(String action)
action - the action associated with the WhiteboardObject to send.public WhiteboardObjectJabberImpl getWhiteboardObject()
public String getWhiteboardObjectID()
public void setWhiteboardObjectID(String objectID)
objectID - WhiteboardObject's identifier
|
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 | |||||||||