@Component @Lazy @DependentInitialisation(value=ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class) public class DisplayMessages extends Object
| Type | Property and Description |
|---|---|
javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.DisplayMessage> |
messages |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientEventBus |
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
static int |
MESSAGE_STORE_SIZE |
private javafx.beans.property.SimpleListProperty<ch.sahits.game.openpatrician.model.DisplayMessage> |
messages |
| Constructor and Description |
|---|
DisplayMessages() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
add(ch.sahits.game.openpatrician.model.DisplayMessage element) |
void |
handleMessage(ch.sahits.game.openpatrician.model.DisplayMessage message) |
private void |
init() |
javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.DisplayMessage> |
messagesProperty() |
private void |
unregister() |
public javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.DisplayMessage> messagesProperty
public static final int MESSAGE_STORE_SIZE
@Autowired @Qualifier(value="clientEventBus") private com.google.common.eventbus.AsyncEventBus clientEventBus
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
private javafx.beans.property.SimpleListProperty<ch.sahits.game.openpatrician.model.DisplayMessage> messages
@PostConstruct private void init()
@PreDestroy private void unregister()
private boolean add(ch.sahits.game.openpatrician.model.DisplayMessage element)
public void handleMessage(ch.sahits.game.openpatrician.model.DisplayMessage message)
public javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.DisplayMessage> messagesProperty()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.