| GNU Classpath (0.95) | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Nested Class Summary | |
protected class |
|
protected class | |
Nested classes/interfaces inherited from class javax.swing.JMenuItem | |
JMenuItem.AccessibleJMenuItem | |
Nested classes/interfaces inherited from class javax.swing.AbstractButton | |
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener | |
Nested classes/interfaces inherited from class javax.swing.JComponent | |
JComponent.AccessibleJComponent | |
Nested classes/interfaces inherited from class java.awt.Container | |
Container.AccessibleAWTContainer | |
Nested classes/interfaces inherited from class java.awt.Component | |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy | |
Field Summary | |
protected JMenu.WinListener | |
Fields inherited from class javax.swing.JComponent | |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, accessibleContext, listenerList, ui | |
Fields inherited from class java.awt.Component | |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | |
Fields inherited from interface java.awt.image.ImageObserver | |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | |
Fields inherited from interface javax.swing.SwingConstants | |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST | |
Constructor Summary | |
| |
Method Summary | |
Component | |
Component | |
JMenuItem | |
JMenuItem | |
JMenuItem | |
void |
|
void |
|
protected PropertyChangeListener |
|
protected JMenuItem |
|
protected JMenu.WinListener |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
AccessibleContext |
|
Component | |
int |
|
JMenuItem |
|
int |
|
Component |
|
int |
|
Component[] |
|
MenuListener[] |
|
JPopupMenu |
|
protected Point |
|
MenuElement[] |
|
String |
|
void | |
JMenuItem | |
JMenuItem | |
void |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
void |
|
protected String |
|
protected void |
|
void |
|
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public JMenu(String text)
Creates a newJMenuwith the specified label.
- Parameters:
text- label for this menu
public JMenu(String text, boolean tearoff)
Creates a newJMenuwith specified label and an option for this menu to be tear-off menu.
- Parameters:
text- label for this menutearoff- true if this menu should be tear-off and false otherwise