org.prorefactor.widgettypes
Class MenuItem

java.lang.Object
  extended by org.prorefactor.treeparser.Symbol
      extended by org.prorefactor.treeparser.Widget
          extended by org.prorefactor.widgettypes.MenuItem
All Implemented Interfaces:
Xferable, SymbolI, WidgetI

public class MenuItem
extends Widget


Field Summary
 
Fields inherited from interface org.prorefactor.treeparser.SymbolI
NAME_ORDER
 
Constructor Summary
MenuItem()
          Only to be used for persistence/serialization.
MenuItem(java.lang.String name, SymbolScope scope)
           
 
Method Summary
 Symbol copyBare(SymbolScope scope)
          Generate a bare-bones copy of this symbol.
 int getProgressType()
          Returns TokenTypes.MENUITEM.
 
Methods inherited from class org.prorefactor.treeparser.Widget
fullName
 
Methods inherited from class org.prorefactor.treeparser.Symbol
getAllRefsCount, getAsNode, getDefineNode, getIndirectDefineIdNode, getLikeNode, getName, getNumReads, getNumWrites, getScope, isExported, isImported, noteReference, setAsNode, setDefOrIdNode, setLikeNode, setName, toString, writeXferBytes, writeXferSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.prorefactor.treeparser.SymbolI
getAllRefsCount, getAsNode, getDefineNode, getIndirectDefineIdNode, getLikeNode, getName, getNumReads, getNumWrites, getScope, isExported, isImported, noteReference, setAsNode, setDefOrIdNode, setLikeNode, setName
 
Methods inherited from interface com.joanju.Xferable
writeXferBytes, writeXferSchema
 

Constructor Detail

MenuItem

public MenuItem()
Only to be used for persistence/serialization.


MenuItem

public MenuItem(java.lang.String name,
                SymbolScope scope)
Method Detail

copyBare

public Symbol copyBare(SymbolScope scope)
Description copied from class: Symbol
Generate a bare-bones copy of this symbol. Requires the scope to attach it to as the argument.

Specified by:
copyBare in class Symbol

getProgressType

public int getProgressType()
Returns TokenTypes.MENUITEM.

Specified by:
getProgressType in interface SymbolI
Specified by:
getProgressType in class Symbol


Copyright © 2008 Joanju Software. All Rights Reserved.