Package org.dreambot.api.utilities
Class StatusBar
- java.lang.Object
- 
- org.dreambot.api.utilities.StatusBar
 
- 
 public class StatusBar extends java.lang.ObjectGlobal manager for showing messages to users through the status bar
- 
- 
Constructor SummaryConstructors Constructor Description StatusBar()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinfo(java.lang.String message)Shows a white message in the status bar.static voidinfo(java.lang.String message, boolean animated)Shows a white message in the status bar.static voidsuccess(java.lang.String message)Shows a green message in the status bar.static voidsuccess(java.lang.String message, boolean animated)Shows a green message in the status bar.static voidwarn(java.lang.String message)Shows an orange message in the status bar.static voidwarn(java.lang.String message, boolean animated)Shows an orange message in the status bar.
 
- 
- 
- 
Method Detail- 
successpublic static void success(java.lang.String message) Shows a green message in the status bar. Should only be used for positive events that users would like to see.- Parameters:
- message- The message you'd like to show the user.
 
 - 
successpublic static void success(java.lang.String message, boolean animated)Shows a green message in the status bar. Should only be used for positive events that users would like to see.- Parameters:
- message- The message you'd like to show the user.
- animated- If true, the old message will fade out and fade in the new message, otherwise it will instantly update.
 
 - 
infopublic static void info(java.lang.String message) Shows a white message in the status bar. Best for general information, and other messages that aren't vital.- Parameters:
- message- The message you'd like to show the user.
 
 - 
infopublic static void info(java.lang.String message, boolean animated)Shows a white message in the status bar. Best for general information, and other messages that aren't vital.- Parameters:
- message- The message you'd like to show the user.
- animated- If true, the old message will fade out and fade in the new message, otherwise it will instantly update.
 
 - 
warnpublic static void warn(java.lang.String message) Shows an orange message in the status bar. Should only be used when the user needs to see it and should contain actionable advice.- Parameters:
- message- The message you'd like to show the user.
 
 - 
warnpublic static void warn(java.lang.String message, boolean animated)Shows an orange message in the status bar. Should only be used when the user needs to see it and should contain actionable advice.- Parameters:
- message- The message you'd like to show the user.
- animated- If true, the old message will fade out and fade in the new message, otherwise it will instantly update.
 
 
- 
 
-