|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetEmoticon
public class SetEmoticon
Representation of the GameBots2004 command SETEMOT. Sets the emoticon for current bot.
Field Summary | |
---|---|
protected java.lang.Integer |
BubbleSize
Sets the bubble size behind the emoticons. |
protected java.lang.String |
BubbleType
Sets the bubble type behind the emoticons. |
protected java.lang.String |
Center
Sets the center emoticon. |
protected java.lang.Integer |
CenterSize
Sets the center emoticon size. |
protected java.lang.String |
Left
Sets the left emoticon. |
protected java.lang.Integer |
LeftSize
Sets the left emoticon size. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.String |
Right
Sets the right emoticon. |
protected java.lang.Integer |
RightSize
Sets the right emoticon size. |
protected java.lang.Double |
Time
Fade out of the emoticons in seconds. |
Constructor Summary | |
---|---|
SetEmoticon()
Creates new instance of command SetEmoticon. |
|
SetEmoticon(SetEmoticon original)
Cloning constructor. |
|
SetEmoticon(java.lang.String Center,
java.lang.Integer CenterSize,
java.lang.String Left,
java.lang.Integer LeftSize,
java.lang.String Right,
java.lang.Integer RightSize,
java.lang.String BubbleType,
java.lang.Integer BubbleSize,
java.lang.Double Time)
Creates new instance of command SetEmoticon. |
Method Summary | |
---|---|
java.lang.Integer |
getBubbleSize()
Sets the bubble size behind the emoticons. |
java.lang.String |
getBubbleType()
Sets the bubble type behind the emoticons. |
java.lang.String |
getCenter()
Sets the center emoticon. |
java.lang.Integer |
getCenterSize()
Sets the center emoticon size. |
java.lang.String |
getLeft()
Sets the left emoticon. |
java.lang.Integer |
getLeftSize()
Sets the left emoticon size. |
java.lang.String |
getRight()
Sets the right emoticon. |
java.lang.Integer |
getRightSize()
Sets the right emoticon size. |
java.lang.Double |
getTime()
Fade out of the emoticons in seconds. |
SetEmoticon |
setBubbleSize(java.lang.Integer BubbleSize)
Sets the bubble size behind the emoticons. |
SetEmoticon |
setBubbleType(java.lang.String BubbleType)
Sets the bubble type behind the emoticons. |
SetEmoticon |
setCenter(java.lang.String Center)
Sets the center emoticon. |
SetEmoticon |
setCenterSize(java.lang.Integer CenterSize)
Sets the center emoticon size. |
SetEmoticon |
setLeft(java.lang.String Left)
Sets the left emoticon. |
SetEmoticon |
setLeftSize(java.lang.Integer LeftSize)
Sets the left emoticon size. |
SetEmoticon |
setRight(java.lang.String Right)
Sets the right emoticon. |
SetEmoticon |
setRightSize(java.lang.Integer RightSize)
Sets the right emoticon size. |
SetEmoticon |
setTime(java.lang.Double Time)
Fade out of the emoticons in seconds. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.String Center
protected java.lang.Integer CenterSize
protected java.lang.String Left
protected java.lang.Integer LeftSize
protected java.lang.String Right
protected java.lang.Integer RightSize
protected java.lang.String BubbleType
protected java.lang.Integer BubbleSize
protected java.lang.Double Time
Constructor Detail |
---|
public SetEmoticon(java.lang.String Center, java.lang.Integer CenterSize, java.lang.String Left, java.lang.Integer LeftSize, java.lang.String Right, java.lang.Integer RightSize, java.lang.String BubbleType, java.lang.Integer BubbleSize, java.lang.Double Time)
Center
- Sets the center emoticon.CenterSize
- Sets the center emoticon size. 0 will disable the emoticon.Left
- Sets the left emoticon.LeftSize
- Sets the left emoticon size. 0 will disable the emoticon.Right
- Sets the right emoticon.RightSize
- Sets the right emoticon size. 0 will disable the emoticon.BubbleType
- Sets the bubble type behind the emoticons.BubbleSize
- Sets the bubble size behind the emoticons. 0 for no bubble.Time
- Fade out of the emoticons in seconds.public SetEmoticon()
public SetEmoticon(SetEmoticon original)
original
- Method Detail |
---|
public java.lang.String getCenter()
public SetEmoticon setCenter(java.lang.String Center)
public java.lang.Integer getCenterSize()
public SetEmoticon setCenterSize(java.lang.Integer CenterSize)
public java.lang.String getLeft()
public SetEmoticon setLeft(java.lang.String Left)
public java.lang.Integer getLeftSize()
public SetEmoticon setLeftSize(java.lang.Integer LeftSize)
public java.lang.String getRight()
public SetEmoticon setRight(java.lang.String Right)
public java.lang.Integer getRightSize()
public SetEmoticon setRightSize(java.lang.Integer RightSize)
public java.lang.String getBubbleType()
public SetEmoticon setBubbleType(java.lang.String BubbleType)
public java.lang.Integer getBubbleSize()
public SetEmoticon setBubbleSize(java.lang.Integer BubbleSize)
public java.lang.Double getTime()
public SetEmoticon setTime(java.lang.Double Time)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |