public class Toaster
extends java.lang.Object
| Constructor and Description |
|---|
Toaster()
Constructor to initialized toaster component...
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Image |
getBackgroundImage() |
java.awt.Color |
getBorderColor() |
int |
getDisplayTime() |
int |
getMargin() |
java.awt.Color |
getMessageColor() |
int |
getStep() |
int |
getStepTime() |
java.awt.Color |
getToasterColor() |
int |
getToasterHeight() |
java.awt.Font |
getToasterMessageFont() |
int |
getToasterWidth() |
void |
setBackgroundImage(java.awt.Image backgroundImage) |
void |
setBorderColor(java.awt.Color borderColor) |
void |
setDisplayTime(int displayTime) |
void |
setMargin(int margin) |
void |
setMessageColor(java.awt.Color messageColor) |
void |
setStep(int step) |
void |
setStepTime(int stepTime) |
void |
setToasterColor(java.awt.Color toasterColor) |
void |
setToasterHeight(int toasterHeight) |
void |
setToasterMessageFont(java.awt.Font f)
Set the font for the message
|
void |
setToasterWidth(int toasterWidth) |
void |
showToaster(javax.swing.Icon icon,
java.lang.String msg)
Show a toaster with the specified message and the associated icon.
|
void |
showToaster(java.lang.String msg)
Show a toaster with the specified message.
|
public void showToaster(javax.swing.Icon icon,
java.lang.String msg)
public void showToaster(java.lang.String msg)
public java.awt.Font getToasterMessageFont()
public void setToasterMessageFont(java.awt.Font f)
public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color borderColor)
borderColor - The borderColor to set.public int getDisplayTime()
public void setDisplayTime(int displayTime)
displayTime - The displayTime to set.public int getMargin()
public void setMargin(int margin)
margin - The margin to set.public java.awt.Color getMessageColor()
public void setMessageColor(java.awt.Color messageColor)
messageColor - The messageColor to set.public int getStep()
public void setStep(int step)
step - The step to set.public int getStepTime()
public void setStepTime(int stepTime)
stepTime - The stepTime to set.public java.awt.Color getToasterColor()
public void setToasterColor(java.awt.Color toasterColor)
toasterColor - The toasterColor to set.public int getToasterHeight()
public void setToasterHeight(int toasterHeight)
toasterHeight - The toasterHeight to set.public int getToasterWidth()
public void setToasterWidth(int toasterWidth)
toasterWidth - The toasterWidth to set.public java.awt.Image getBackgroundImage()
public void setBackgroundImage(java.awt.Image backgroundImage)