|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jomic.common.JomicTools
public final class JomicTools
Jomic-specific tools.
Method Summary | |
---|---|
void |
beep()
Make a beep, which is mostly useful to give an audible cue that some action could not be performed. |
javax.swing.Icon |
getJomicLogo()
Get icon with the Jomic logo. |
java.util.Date |
getVersionDate()
Get the date the current version of Jomic was released. |
static JomicTools |
instance()
|
void |
setFullScreenCancelabel(FullScreenCancelabel newFullScreebCancelabel)
|
void |
setIconToJomicLogo(javax.swing.JFrame frame)
Set icon of frame to the Jomic logo. |
void |
showError(java.awt.event.ActionEvent event,
java.lang.Throwable error)
Show error message for being unable to process event (which may be null). |
void |
showError(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Object[] options,
java.lang.Throwable error)
Show error message relative to owner , with localized message built from key
and options , caused by error . |
void |
showError(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Object option,
java.lang.Throwable error)
Show error message relative to owner , with localized message built from key
and option , caused by error . |
void |
showError(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Throwable error)
Show error message relative to owner , with localized message built from key
, caused by error . |
void |
showError(java.beans.PropertyChangeEvent event,
java.lang.Throwable error)
Show error message for being unable to change property according to event . |
void |
showWarning(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Object[] options,
java.lang.Throwable error)
Show warning message relative to owner , with localized message built from
key and options , caused by error . |
void |
showWarning(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Object option,
java.lang.Throwable error)
Show warning message relative to owner , with localized message built from
key and option , caused by error . |
void |
showWarning(javax.swing.JFrame owner,
java.lang.String key,
java.lang.Throwable error)
Show warning message relative to owner , with localized message built from
key , caused by error . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void beep()
public void showError(java.awt.event.ActionEvent event, java.lang.Throwable error)
event
(which may be null).
public void setFullScreenCancelabel(FullScreenCancelabel newFullScreebCancelabel)
public void setIconToJomicLogo(javax.swing.JFrame frame)
frame
to the Jomic logo.
JFrame.setIconImage(Image)
public javax.swing.Icon getJomicLogo()
public java.util.Date getVersionDate()
Version.DATE
public static JomicTools instance()
public void showError(javax.swing.JFrame owner, java.lang.String key, java.lang.Throwable error)
owner
, with localized message built from key
, caused by error
.
public void showError(javax.swing.JFrame owner, java.lang.String key, java.lang.Object option, java.lang.Throwable error)
owner
, with localized message built from key
and option
, caused by error
.
public void showError(javax.swing.JFrame owner, java.lang.String key, java.lang.Object[] options, java.lang.Throwable error)
owner
, with localized message built from key
and options
, caused by error
.
public void showError(java.beans.PropertyChangeEvent event, java.lang.Throwable error)
event
.
public void showWarning(javax.swing.JFrame owner, java.lang.String key, java.lang.Object option, java.lang.Throwable error)
owner
, with localized message built from
key
and option
, caused by error
.
public void showWarning(javax.swing.JFrame owner, java.lang.String key, java.lang.Object[] options, java.lang.Throwable error)
owner
, with localized message built from
key
and options
, caused by error
.
public void showWarning(javax.swing.JFrame owner, java.lang.String key, java.lang.Throwable error)
owner
, with localized message built from
key
, caused by error
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |