uk.org.ogsadai.client.databrowser
Class DBAbstractMenu.DBMenuItem

java.lang.Object
  |
  +--uk.org.ogsadai.client.databrowser.DBAbstractMenu.DBMenuItem
Enclosing class:
DBAbstractMenu

protected class DBAbstractMenu.DBMenuItem
extends java.lang.Object

Class for defining different types of menu items eg checkbox, radio button etc. Used by initMenu to sort out the type of each menu item


Field Summary
protected static int CHECKBOX
           
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
protected  javax.swing.JMenuItem mMenuItem
           
protected  java.lang.String mName
           
protected  boolean mState
           
protected  int mType
           
protected static int RADIO
           
protected static int STANDARD
           
 
Constructor Summary
DBAbstractMenu.DBMenuItem(java.lang.String name)
           
DBAbstractMenu.DBMenuItem(java.lang.String name, int type)
           
DBAbstractMenu.DBMenuItem(java.lang.String name, int type, boolean state)
           
 
Method Summary
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mName

protected java.lang.String mName

mType

protected int mType

mMenuItem

protected javax.swing.JMenuItem mMenuItem

mState

protected boolean mState

STANDARD

protected static final int STANDARD
See Also:
Constant Field Values

RADIO

protected static final int RADIO
See Also:
Constant Field Values

CHECKBOX

protected static final int CHECKBOX
See Also:
Constant Field Values
Constructor Detail

DBAbstractMenu.DBMenuItem

public DBAbstractMenu.DBMenuItem(java.lang.String name)

DBAbstractMenu.DBMenuItem

public DBAbstractMenu.DBMenuItem(java.lang.String name,
                                 int type)

DBAbstractMenu.DBMenuItem

public DBAbstractMenu.DBMenuItem(java.lang.String name,
                                 int type,
                                 boolean state)
Method Detail

getName

public java.lang.String getName()