alma::acs::logging::table::LogEntryTable::ColumnMenu Class Reference

Inheritance diagram for alma::acs::logging::table::LogEntryTable::ColumnMenu:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::table::LogEntryTable::ColumnMenu:
Collaboration graph
[legend]

List of all members.

Classes

class  MenuClicked

Public Member Functions

 ColumnMenu ()
void setColumnIndex (int index)
int getColumnIndex ()

Protected Member Functions

int findItem (Object source)

Private Attributes

String[] menuNames
final int itemCount = menuNames.length
int columnIndex = 0
JMenuItem[] items = new JMenuItem[itemCount]

Detailed Description

Popup menu used to display the column options for the table. It is displayed when the user presses the right mouse button over the header of the table

Creation date: (1/25/02 11:16:28 AM)

Author:
: acaproni

Constructor & Destructor Documentation

alma::acs::logging::table::LogEntryTable::ColumnMenu::ColumnMenu (  )  [inline]

Constructs new column popup menu.

References itemCount, items, and menuNames.


Member Function Documentation

int alma::acs::logging::table::LogEntryTable::ColumnMenu::findItem ( Object  source  )  [inline, protected]

Finds the index of the menu item that was clicked. This value is used internally to perform appropriate actions. Creation date: (1/25/02 11:35:04 AM)

Returns:
int
Parameters:
source java.lang.Object

References itemCount, and items.

int alma::acs::logging::table::LogEntryTable::ColumnMenu::getColumnIndex (  )  [inline]
void alma::acs::logging::table::LogEntryTable::ColumnMenu::setColumnIndex ( int  index  )  [inline]

References columnIndex.


Member Data Documentation

Referenced by getColumnIndex(), and setColumnIndex().

Referenced by ColumnMenu(), and findItem().

Referenced by ColumnMenu(), and findItem().

Initial value:
                        {
                                "Sort ascending",
                                "Sort descending",
                                "-",
                                "Remove column",
                                "Column chooser",
                                "-",
                                "Group by column",
                                "Ungroup" }

Referenced by ColumnMenu().


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

Generated by  doxygen 1.6.2