Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MatrixDialog Class Reference
Inheritance diagram for MatrixDialog:
DeleteDialog ErrorDialog SearchDialog SelectionDialog

Public Member Functions

void dispose ()
 
Point getPrevLoc ()
 
void centerDialogOnTree (Point locationOnScreen, Dimension treeDimension, Point prevLoc)
 
JPanel getTopPanel (String dialogTitle)
 
void closeOnClick (final JLabel component, final String img_prefix)
 
void enableDrag (final JComponent component)
 
void setLocation (int x, int y, boolean force)
 

Static Public Member Functions

static MatrixDialog getDialog (Class cls)
 
static void putDialog (MatrixDialog dialog)
 
static boolean hasDialog (Class cls)
 

Data Fields

Cursor HAND_CURSOR = new Cursor(Cursor.HAND_CURSOR)
 
Cursor DEFAULT_CURSOR = new Cursor(Cursor.DEFAULT_CURSOR)
 

Detailed Description

Definition at line 30 of file MatrixDialog.java.

Member Function Documentation

void centerDialogOnTree ( Point  locationOnScreen,
Dimension  treeDimension,
Point  prevLoc 
)
inline

Set the location of the dialog to the center of the tree. Make sure you call this after calling pack()

Definition at line 93 of file MatrixDialog.java.

void dispose ( )
inline

Disposes the MatrixDialog and removes it from the store

Definition at line 72 of file MatrixDialog.java.

static MatrixDialog getDialog ( Class  cls)
inlinestatic

Returns the MatrixDialog for the given class or null if one does not yet exist in the store

Parameters
clsthe class of wanted MatrixDialog
Returns
the MatrixDialog with the given class

Definition at line 49 of file MatrixDialog.java.

static boolean hasDialog ( Class  cls)
inlinestatic

Returns TRUE if a MatrixDialog exists in the store with the given class

Returns
TRUE if the MatrixDialog exists with the given class

Definition at line 65 of file MatrixDialog.java.

static void putDialog ( MatrixDialog  dialog)
inlinestatic

Puts a MatrixDialog into the store into the dialog store

Parameters
dialogthe dialog to add to the store

Definition at line 57 of file MatrixDialog.java.


The documentation for this class was generated from the following file: