Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.whiteboardobjects
Interface WhiteboardObjectText

All Superinterfaces:
WhiteboardObject
All Known Implementing Classes:
WhiteboardObjectTextJabberImpl, WhiteboardShapeText

public interface WhiteboardObjectText
extends WhiteboardObject

Used to access the content of instant whiteboard objects that are sent or received via the WhiteboardOperationSet.

Author:
Julien Waechter

Field Summary
static String NAME
          A type string constant indicating that an object is of type text.
 
Method Summary
 String getFontName()
          Returns the WhiteboardObjectText's font name.
 int getFontSize()
          Returns the WhiteboardObjectText's font size.
 String getText()
          Returns the WhiteboardObjectText's text.
 WhiteboardPoint getWhiteboardPoint()
          Returns the coordinates of this whiteboard object.
 void setFontName(String fontName)
          Sets the WhiteboardObjectText's font name.
 void setFontSize(int fontSize)
          Sets the WhiteboardObjectText's font size.
 void setText(String text)
          Sets the WhiteboardObjectText's text.
 void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
          Sets the coordinates of this whiteboard object.
 
Methods inherited from interface net.java.sip.communicator.service.protocol.whiteboardobjects.WhiteboardObject
getColor, getID, getThickness, setColor, setThickness
 

Field Detail

NAME

static final String NAME
A type string constant indicating that an object is of type text.

See Also:
Constant Field Values
Method Detail

getWhiteboardPoint

WhiteboardPoint getWhiteboardPoint()
Returns the coordinates of this whiteboard object.

Returns:
the coordinates of this object.

setWhiteboardPoint

void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object.

Parameters:
whiteboardPoint - the coordinates of this object.

getText

String getText()
Returns the WhiteboardObjectText's text.

Returns:
the WhiteboardObjectText's text.

setText

void setText(String text)
Sets the WhiteboardObjectText's text.

Parameters:
text - the new WhiteboardObjectText's text.

getFontSize

int getFontSize()
Returns the WhiteboardObjectText's font size.

Returns:
the WhiteboardObjectText's font size.

setFontSize

void setFontSize(int fontSize)
Sets the WhiteboardObjectText's font size.

Parameters:
fontSize - the new WhiteboardObjectText's font size.

getFontName

String getFontName()
Returns the WhiteboardObjectText's font name. (By default Dialog)

Returns:
the new WhiteboardObjectText's font name.

setFontName

void setFontName(String fontName)
Sets the WhiteboardObjectText's font name.

Parameters:
fontName - the new WhiteboardObjectText's font name.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.