Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.menu.spi
Class MenuVisitor  view MenuVisitor download MenuVisitor.java

java.lang.Object
  extended byjavax.ide.extension.ElementVisitor
      extended byjavax.ide.menu.spi.PositionableVisitor
          extended byjavax.ide.menu.spi.MenuVisitor
Direct Known Subclasses:
SectionVisitor.MenuInSectionVisitor

class MenuVisitor
extends PositionableVisitor

Handler for menu in a menu bar.


Field Summary
private  javax.ide.extension.ElementVisitor _sectionVisitor
           
private static javax.ide.extension.ElementName ICONPATH
           
private static javax.ide.extension.ElementName LABEL
           
(package private) static javax.ide.extension.ElementName MENU
           
private static javax.ide.extension.ElementName MNEMONIC
           
private static javax.ide.extension.ElementName TOOLTIP
           
 
Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR
 
Constructor Summary
(package private) MenuVisitor()
           
 
Method Summary
protected  void positionable(javax.ide.extension.ElementStartContext context, java.lang.String id, java.lang.String before, java.lang.String after)
           
protected  void processMenu(javax.ide.extension.ElementStartContext context, Menu menu, java.lang.String before, java.lang.String after)
           
 void start(javax.ide.extension.ElementStartContext context)
          Visit the start tag of an xml element.
 
Methods inherited from class javax.ide.extension.ElementVisitor
end, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MENU

static final javax.ide.extension.ElementName MENU

LABEL

private static final javax.ide.extension.ElementName LABEL

MNEMONIC

private static final javax.ide.extension.ElementName MNEMONIC

TOOLTIP

private static final javax.ide.extension.ElementName TOOLTIP

ICONPATH

private static final javax.ide.extension.ElementName ICONPATH

_sectionVisitor

private javax.ide.extension.ElementVisitor _sectionVisitor
Constructor Detail

MenuVisitor

MenuVisitor()
Method Detail

positionable

protected void positionable(javax.ide.extension.ElementStartContext context,
                            java.lang.String id,
                            java.lang.String before,
                            java.lang.String after)
Specified by:
positionable in class PositionableVisitor

processMenu

protected final void processMenu(javax.ide.extension.ElementStartContext context,
                                 Menu menu,
                                 java.lang.String before,
                                 java.lang.String after)

start

public final void start(javax.ide.extension.ElementStartContext context)
Description copied from class: javax.ide.extension.ElementVisitor
Visit the start tag of an xml element.

This implementation does nothing.