Class NemoUtils
java.lang.Object
NemoUtils
- public class NemoUtils
- extends java.lang.Object
Class that contains integer constants representing the columns in the case
table and eventually other common information.
Constructor Summary |
NemoUtils()
Creates a new instance of NemoUtils |
Method Summary |
static void |
debug(java.lang.String message)
|
static int |
distance(int x1,
int y1,
int x2,
int y2)
|
static void |
setDebugging(boolean flag)
|
static void |
showErrorMessage(java.lang.String message,
java.awt.Component frame)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_COL
public static final int ID_COL
- See Also:
- Constant Field Values
OPSTATE_COL
public static final int OPSTATE_COL
- See Also:
- Constant Field Values
ADMSTATE_COL
public static final int ADMSTATE_COL
- See Also:
- Constant Field Values
PRI_COL
public static final int PRI_COL
- See Also:
- Constant Field Values
AGE_COL
public static final int AGE_COL
- See Also:
- Constant Field Values
DOWNTIME_COL
public static final int DOWNTIME_COL
- See Also:
- Constant Field Values
UPDATED_COL
public static final int UPDATED_COL
- See Also:
- Constant Field Values
ENTITY_COL
public static final int ENTITY_COL
- See Also:
- Constant Field Values
PORT_COL
public static final int PORT_COL
- See Also:
- Constant Field Values
DESCRIPTION_COL
public static final int DESCRIPTION_COL
- See Also:
- Constant Field Values
NUM_COLUMNS
public static final int NUM_COLUMNS
- See Also:
- Constant Field Values
DAY_AXIS
public static final int DAY_AXIS
- See Also:
- Constant Field Values
MONTH_AXIS
public static final int MONTH_AXIS
- See Also:
- Constant Field Values
YEAR_AXIS
public static final int YEAR_AXIS
- See Also:
- Constant Field Values
FIVEMIN_STEP
public static final int FIVEMIN_STEP
- See Also:
- Constant Field Values
HOUR_STEP
public static final int HOUR_STEP
- See Also:
- Constant Field Values
DAY_STEP
public static final int DAY_STEP
- See Also:
- Constant Field Values
debugging
private static boolean debugging
debugFrame
private static javax.swing.JFrame debugFrame
scrollPane
private static javax.swing.JScrollPane scrollPane
textArea
private static javax.swing.JTextArea textArea
NemoUtils
public NemoUtils()
- Creates a new instance of NemoUtils
showErrorMessage
public static void showErrorMessage(java.lang.String message,
java.awt.Component frame)
distance
public static int distance(int x1,
int y1,
int x2,
int y2)
debug
public static void debug(java.lang.String message)
setDebugging
public static void setDebugging(boolean flag)