|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.vexpro.editor.util.WindowUtilities
public class WindowUtilities
A few utilities that simplify using windows in Swing. 1998-99 Marty Hall, http://www.apl.jhu.edu/~hall/java/ Modifikatsioon 2008-2010, Kristjan Kuusik, kristjn.k@gmail.com
Constructor Summary | |
---|---|
WindowUtilities()
|
Method Summary | |
---|---|
static javax.swing.border.Border |
getTextFieldBorder()
Tagastab borderi, mida kasutatakse teksti väljade korral. |
static javax.swing.JDialog |
openDialog(javax.swing.JFrame owner,
java.lang.String title,
java.awt.Container content)
Dialoogi avamine. |
static void |
setJavaLookAndFeel()
|
static void |
setMotifLookAndFeel()
|
static void |
setNativeLookAndFeel()
Tell system to use native look and feel, as in previous releases. |
static void |
startWaitCursor(javax.swing.JComponent component)
Sets cursor for specified component to Wait cursor |
static void |
stopWaitCursor(javax.swing.JComponent component)
Sets cursor for specified component to normal cursor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowUtilities()
Method Detail |
---|
public static void setNativeLookAndFeel()
public static void setJavaLookAndFeel()
public static void setMotifLookAndFeel()
public static javax.swing.JDialog openDialog(javax.swing.JFrame owner, java.lang.String title, java.awt.Container content)
owner
- JFrame, mis omab dialoogititle
- dialoogi tiitelcontent
- dialoogi sisu
public static void startWaitCursor(javax.swing.JComponent component)
public static void stopWaitCursor(javax.swing.JComponent component)
public static javax.swing.border.Border getTextFieldBorder()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |