public interface NotificationService extends AchievementListener
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.paint.Color |
getBackgroundColor() |
Position |
getPosition() |
javafx.scene.paint.Color |
getTextColor() |
default void |
onAchievementEvent(AchievementEvent event)
Fired on achievement event.
|
void |
pushNotification(String message)
Push a notification with given message.
|
void |
setBackgroundColor(javafx.scene.paint.Color backgroundColor)
Set background color of notifications.
|
void |
setPosition(Position position)
Set position of future notifications.
|
void |
setTextColor(javafx.scene.paint.Color textColor)
Set text color of notifications.
|
void pushNotification(String message)
message - the messagePosition getPosition()
void setPosition(Position position)
position - where to show notificationjavafx.scene.paint.Color getBackgroundColor()
void setBackgroundColor(javafx.scene.paint.Color backgroundColor)
backgroundColor - the colorjavafx.scene.paint.Color getTextColor()
void setTextColor(javafx.scene.paint.Color textColor)
textColor - the colordefault void onAchievementEvent(AchievementEvent event)
AchievementListeneronAchievementEvent in interface AchievementListenerevent - the eventCopyright © 2017. All rights reserved.