|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.ui.Utils
class Utils
| Field Summary | |
|---|---|
(package private) static java.applet.Applet |
applet
|
static boolean |
debug
Use this to set debug output |
(package private) static java.awt.Point |
screenCenter
|
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static void |
centerWindow(java.awt.Component win)
|
static void |
debug(java.lang.String s)
|
static void |
err(javax.swing.JFrame frame,
java.lang.String s)
|
static void |
err(java.lang.String s)
|
static void |
err(java.lang.String s,
java.lang.Throwable ex)
|
static void |
err(java.lang.Throwable ex)
|
(package private) static void |
fixSize(javax.swing.JComponent c,
int w,
int h)
Convenience method to fix the size of a component |
static void |
init(java.applet.Applet app)
|
static void |
logErrorMessage(java.lang.String error)
|
static void |
logInfoMessage(java.lang.String info)
|
(package private) static javax.swing.JComponent |
minSize(javax.swing.JComponent c,
int w,
int h)
Convenience method to set the min size of a component |
(package private) static void |
openHelp(java.lang.String doc,
java.applet.Applet applet)
Open help window |
static void |
out(java.lang.String s)
|
(package private) static javax.swing.JComponent |
prefSize(javax.swing.JComponent c,
int w,
int h)
Convenience method to set the Preferred size of a component |
static void |
setScreenSize(java.awt.Dimension screenSize)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static java.applet.Applet applet
public static boolean debug
static java.awt.Point screenCenter
| Constructor Detail |
|---|
Utils()
| Method Detail |
|---|
public static void init(java.applet.Applet app)
static void fixSize(javax.swing.JComponent c,
int w,
int h)
static javax.swing.JComponent minSize(javax.swing.JComponent c,
int w,
int h)
static javax.swing.JComponent prefSize(javax.swing.JComponent c,
int w,
int h)
public static void err(java.lang.String s)
public static void err(javax.swing.JFrame frame,
java.lang.String s)
public static void err(java.lang.Throwable ex)
public static void err(java.lang.String s,
java.lang.Throwable ex)
public static void out(java.lang.String s)
public static void debug(java.lang.String s)
public static void setScreenSize(java.awt.Dimension screenSize)
public static void centerWindow(java.awt.Component win)
static void openHelp(java.lang.String doc,
java.applet.Applet applet)
public static void logErrorMessage(java.lang.String error)
public static void logInfoMessage(java.lang.String info)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||