Class DisplayMessage
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.AbstractMessage
-
- de.extio.spacecraft.shared.model.message.client_internal.InternalMessage
-
- de.extio.spacecraft.shared.model.message.client_internal.DisplayMessage
-
public final class DisplayMessage extends InternalMessage
Displays a message in a message box which is displayed in the center of the game client UI, usually warnings or errors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisplayMessage.DisplayDuration
static class
DisplayMessage.DisplayMessageHint
-
Constructor Summary
Constructors Constructor Description DisplayMessage()
DisplayMessage(String localizationId, List<String> placeholders, DisplayMessage.DisplayMessageHint hint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayMessage.DisplayDuration
getDisplayDuration()
DisplayMessage.DisplayMessageHint
getHint()
String
getLocalizationId()
List<String>
getPlaceholders()
void
setDisplayDuration(DisplayMessage.DisplayDuration displayDuration)
void
setHint(DisplayMessage.DisplayMessageHint hint)
void
setLocalizationId(String localizationId)
void
setPlaceholders(List<String> placeholders)
String
toString()
-
-
-
Constructor Detail
-
DisplayMessage
public DisplayMessage()
-
DisplayMessage
public DisplayMessage(String localizationId, List<String> placeholders, DisplayMessage.DisplayMessageHint hint)
-
-
Method Detail
-
getLocalizationId
public String getLocalizationId()
-
setLocalizationId
public void setLocalizationId(String localizationId)
-
getHint
public DisplayMessage.DisplayMessageHint getHint()
-
setHint
public void setHint(DisplayMessage.DisplayMessageHint hint)
-
getDisplayDuration
public DisplayMessage.DisplayDuration getDisplayDuration()
-
setDisplayDuration
public void setDisplayDuration(DisplayMessage.DisplayDuration displayDuration)
-
toString
public String toString()
- Overrides:
toString
in classAbstractMessage
-
-