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