org.rubato.composer
Class Utilities

java.lang.Object
  extended by org.rubato.composer.Utilities

public final class Utilities
extends java.lang.Object


Field Summary
static java.awt.Color ERROR_BG_COLOR
           
static java.lang.String NULL_STRING
           
 
Method Summary
static javax.swing.JDialog getJDialog(javax.swing.JComponent c)
           
static java.awt.Window getWindow(javax.swing.JComponent c)
           
static void installEnterKey(javax.swing.JDialog comp, javax.swing.Action action)
           
static void installEscapeKey(javax.swing.JDialog comp)
           
static void installKey(javax.swing.JComponent comp, java.lang.String keyString, int key, javax.swing.Action action)
           
static javax.swing.border.Border makeTitledBorder(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_STRING

public static final java.lang.String NULL_STRING
See Also:
Constant Field Values

ERROR_BG_COLOR

public static final java.awt.Color ERROR_BG_COLOR
Method Detail

installEscapeKey

public static void installEscapeKey(javax.swing.JDialog comp)

installEnterKey

public static void installEnterKey(javax.swing.JDialog comp,
                                   javax.swing.Action action)

installKey

public static void installKey(javax.swing.JComponent comp,
                              java.lang.String keyString,
                              int key,
                              javax.swing.Action action)

getJDialog

public static javax.swing.JDialog getJDialog(javax.swing.JComponent c)

getWindow

public static java.awt.Window getWindow(javax.swing.JComponent c)

makeTitledBorder

public static javax.swing.border.Border makeTitledBorder(java.lang.String title)