Class NemoUtils

java.lang.Object
  extended byNemoUtils

public class NemoUtils
extends java.lang.Object

Class that contains integer constants representing the columns in the case table and eventually other common information.


Field Summary
static int ADMSTATE_COL
           
static int AGE_COL
           
static int DAY_AXIS
           
static int DAY_STEP
           
private static javax.swing.JFrame debugFrame
           
private static boolean debugging
           
static int DESCRIPTION_COL
           
static int DOWNTIME_COL
           
static int ENTITY_COL
           
static int FIVEMIN_STEP
           
static int HOUR_STEP
           
static int ID_COL
           
static int MONTH_AXIS
           
static int NUM_COLUMNS
           
static int OPSTATE_COL
           
static int PORT_COL
           
static int PRI_COL
           
private static javax.swing.JScrollPane scrollPane
           
private static javax.swing.JTextArea textArea
           
static int UPDATED_COL
           
static int YEAR_AXIS
           
 
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
 

Field Detail

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
Constructor Detail

NemoUtils

public NemoUtils()
Creates a new instance of NemoUtils

Method Detail

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)