|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.sparkimpl.plugin.alerts.SparkToaster
public class SparkToaster
Class to show tosters in multiplatform
Field Summary | |
---|---|
static java.awt.Cursor |
DEFAULT_CURSOR
The default Text Cursor. |
static java.awt.Cursor |
HAND_CURSOR
The default Hand cursor. |
Constructor Summary | |
---|---|
SparkToaster()
Constructor to initialized toaster component... |
Method Summary | |
---|---|
void |
close()
|
javax.swing.border.Border |
getBorder()
|
java.awt.Color |
getBorderColor()
|
int |
getDisplayTime()
|
int |
getMargin()
|
java.awt.Color |
getMessageColor()
|
int |
getStep()
|
int |
getStepTime()
|
java.lang.String |
getTitle()
|
java.awt.Color |
getToasterColor()
|
int |
getToasterHeight()
|
java.awt.Font |
getToasterMessageFont()
|
int |
getToasterWidth()
|
java.awt.Window |
getWindow()
|
void |
hideTitle()
|
static void |
main(java.lang.String[] args)
Simple Example... |
void |
setBorder(javax.swing.border.Border border)
|
void |
setBorderColor(java.awt.Color borderColor)
|
void |
setComponent(java.awt.Component comp)
|
void |
setCustomAction(javax.swing.Action action)
|
void |
setDisplayTime(int displayTime)
|
void |
setMargin(int margin)
|
void |
setMessageColor(java.awt.Color messageColor)
|
void |
setStep(int step)
|
void |
setStepTime(int stepTime)
|
void |
setTitle(java.lang.String title)
|
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)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Cursor HAND_CURSOR
public static final java.awt.Cursor DEFAULT_CURSOR
Constructor Detail |
---|
public SparkToaster()
Method Detail |
---|
public void showToaster(javax.swing.Icon icon, java.lang.String msg)
public void showToaster(javax.swing.Icon icon)
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.lang.String getTitle()
public void setTitle(java.lang.String title)
public javax.swing.border.Border getBorder()
public void setBorder(javax.swing.border.Border border)
public void setCustomAction(javax.swing.Action action)
public void setComponent(java.awt.Component comp)
public void close()
public java.awt.Window getWindow()
public void hideTitle()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |