| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.AbstractButton
                          |
                          +--javax.swing.JMenuItem
                                |
                                +--org.openide.explorer.view.MenuView.MenuItem
Menu item that can represent one node in the tree.
| Inner classes inherited from class javax.swing.JMenuItem | 
JMenuItem.AccessibleJMenuItem | 
| Inner classes inherited from class javax.swing.AbstractButton | 
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener | 
| Inner classes inherited from class javax.swing.JComponent | 
JComponent.AccessibleJComponent | 
| Inner classes inherited from class java.awt.Container | 
Container.AccessibleAWTContainer | 
| Inner classes inherited from class java.awt.Component | 
Component.AccessibleAWTComponent | 
| Field Summary | |
protected  NodeAcceptor | 
action
The action listener to attach to all menu items.  | 
protected  Node | 
node
The node represented.  | 
| Fields inherited from class javax.swing.JComponent | 
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface javax.swing.SwingConstants | 
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NORTH, NORTH_EAST, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST | 
| Fields inherited from interface java.awt.image.ImageObserver | 
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
MenuView.MenuItem(Node node)
Construct item for given node with the node's default action.  | 
|
MenuView.MenuItem(Node node,
                  MenuView.Acceptor action)
Deprecated. Use proper constructor with (@link NodeAcceptor).  | 
|
MenuView.MenuItem(Node node,
                  MenuView.Acceptor action,
                  boolean setName)
Deprecated. Use proper constructor with (@link NodeAcceptor).  | 
|
MenuView.MenuItem(Node node,
                  NodeAcceptor l)
Construct item for given node, specifying an action.  | 
|
MenuView.MenuItem(Node node,
                  NodeAcceptor l,
                  boolean setName)
Construct item for given node, specifying the action and whether to create the icon and name automatically.  | 
|
| Method Summary | |
 void | 
doClick(int time)
Inform the acceptor.  | 
| Methods inherited from class java.awt.Container | 
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected Node node
protected NodeAcceptor action
| Constructor Detail | 
public MenuView.MenuItem(Node node)
node - the node to represent
public MenuView.MenuItem(Node node,
                         NodeAcceptor l)
node - the node to representl - the acceptor to decide whether to accept this node or not
public MenuView.MenuItem(Node node,
                         MenuView.Acceptor action)
public MenuView.MenuItem(Node node,
                         MenuView.Acceptor action,
                         boolean setName)
public MenuView.MenuItem(Node node,
                         NodeAcceptor l,
                         boolean setName)
node - the node to representl - the acceptor to decide whether to accept this node or notsetName - false if the name and icon should not be set| Method Detail | 
public void doClick(int time)
doClick in class AbstractButtontime - see superclass
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||