|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.sourceforge.esw.widgets.WidgetUtil
This static objects is a Utility class for widgets.
| Constructor Summary | |
WidgetUtil()
|
|
| Method Summary | |
static javax.swing.JButton |
createButton(javax.swing.Icon aIcon,
java.lang.String aCaption,
char aMnem)
Creates and returns a new JButton |
static javax.swing.JButton |
createButton(javax.swing.Icon aIcon,
java.lang.String aCaption,
char aMnem,
java.lang.String aToolTipText)
Creates and returns a new JButton |
static javax.swing.JButton |
createButton(java.lang.String aCaption)
Creates and returns a new JButton |
static javax.swing.JButton |
createButton(java.lang.String aCaption,
char aMnem)
Creates a new Button |
static javax.swing.JButton |
createButton(java.lang.String aCaption,
java.lang.String aToolTipText)
Creates and returns a new JButton |
static javax.swing.JButton |
createButton(java.lang.String aCaption,
java.lang.String aToolTipText,
char aMnem)
Creates and returns a new JButton |
static java.awt.Point |
getCenterPoint(javax.swing.JInternalFrame aFrame)
Returns the Point for centering the specified JInternalFrame |
static java.awt.Point |
getCenterPoint(java.awt.Window aWindow)
Returns the Point for centering the specified Window |
static void |
revalidate(java.awt.Component aComponent)
Revalidates the specified component calling component.invalidate();
component.validate(); component.repaint(); . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WidgetUtil()
| Method Detail |
public static void revalidate(java.awt.Component aComponent)
component.invalidate();
component.validate(); component.repaint(); .aComponent - the component to revalidatepublic static java.awt.Point getCenterPoint(java.awt.Window aWindow)
aWindow - the Window to get the CenterPoint of the screen forpublic static java.awt.Point getCenterPoint(javax.swing.JInternalFrame aFrame)
aFrame - the JInternalFrame to get the CenterPoint of the screen for
public static javax.swing.JButton createButton(javax.swing.Icon aIcon,
java.lang.String aCaption,
char aMnem)
aIcon - the Icon to display in the ButtonaCaption - the Caption for the ButtonaMnem - the Mnemonic for the Button
public static javax.swing.JButton createButton(javax.swing.Icon aIcon,
java.lang.String aCaption,
char aMnem,
java.lang.String aToolTipText)
aIcon - the Icon to display in the ButtonaCaption - the Caption for the ButtonaMnem - the Mnemonic for the ButtonaToolTipText - the text to display when the mouse is on the button
public static javax.swing.JButton createButton(java.lang.String aCaption,
char aMnem)
aCaption - the Caption for the ButtonaMnem - the Mnemonic for the Button
public static javax.swing.JButton createButton(java.lang.String aCaption,
java.lang.String aToolTipText,
char aMnem)
aCaption - the Caption for the ButtonaMnem - the Mnemonic for the ButtonaToolTipText - the text to display when the mouse is on the button
public static javax.swing.JButton createButton(java.lang.String aCaption,
java.lang.String aToolTipText)
aCaption - the Caption for the ButtonaToolTipText - the text to display when the mouse is on the buttonpublic static javax.swing.JButton createButton(java.lang.String aCaption)
aCaption - the Caption for the Button
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||