|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.sciss.jcollider.JCollider
public abstract class JCollider
This is a helper class containing utility static functions
| Field Summary | |
|---|---|
static boolean |
isMacOS
true if we're running on Mac OS X. |
static boolean |
isWindows
true if we're running on a Windows system |
| Constructor Summary | |
|---|---|
JCollider()
|
|
| Method Summary | |
|---|---|
static void |
displayError(java.awt.Component component,
java.lang.Exception exception,
java.lang.String title)
Displays an error message dialog by examining a given Exception. |
static java.lang.String |
getCopyrightString()
Returns a copyright information string about the library |
static java.lang.String |
getCreditsString()
Returns a license and website information string about the library |
static java.lang.String |
getResourceString(java.lang.String key)
|
static double |
getVersion()
Returns the library's version. |
static void |
main(java.lang.String[] args)
This method gets called when one tries to start the .jar file directly. |
static void |
setDeepFont(java.awt.Container c,
java.awt.Font fnt)
Set a font for a container and all children we can find in this container (calling this method recursively). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean isMacOS
true if we're running on Mac OS X.
This value can be used to check if certain UGens
are available, or to find the location of scsynth.
public static final boolean isWindows
true if we're running on a Windows system
| Constructor Detail |
|---|
public JCollider()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - shell arguments. there may be a single argument
"--test1" or "--test2" to
run the demos. "--bindefs" to create
a binary def file from the xml descriptionspublic static final double getVersion()
public static final java.lang.String getCopyrightString()
public static final java.lang.String getCreditsString()
public static final java.lang.String getResourceString(java.lang.String key)
public static void setDeepFont(java.awt.Container c,
java.awt.Font fnt)
setFont
on a JPanel does not
cause the Font of the
gadgets contained in the panel to
change their fonts.
c - the container to traverse
for children whose font is to be changedfnt - the new font to applyComponent.setFont( Font )
public static void displayError(java.awt.Component component,
java.lang.Exception exception,
java.lang.String title)
Exception. Returns
after the dialog was closed by the user.
component - the component in which to open the dialog.
null is allowed in which case
the dialog will appear centered on the screen.exception - the exception that was thrown. the message's
text is displayed using the getLocalizedMessage
method.title - name of the action in which the error occurredJOptionPane.showOptionDialog( Component, Object, String, int, int, Icon, Object[], Object ),
Throwable.getLocalizedMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||