org.graffiti.plugins.scripting.delegates
Class MenuDelegate

java.lang.Object
  extended by org.graffiti.plugins.scripting.delegate.ScriptingDelegate
      extended by org.graffiti.plugins.scripting.delegate.ReflectiveDelegate
          extended by org.graffiti.plugins.scripting.delegate.ObjectDelegate
              extended by org.graffiti.plugins.scripting.delegates.MenuDelegate
All Implemented Interfaces:
org.graffiti.plugins.scripting.delegate.Unwrappable<PopupMenuItem>

public final class MenuDelegate
extends org.graffiti.plugins.scripting.delegate.ObjectDelegate
implements org.graffiti.plugins.scripting.delegate.Unwrappable<PopupMenuItem>

Author:
Andreas Gleißner

Field Summary
 
Fields inherited from class org.graffiti.plugins.scripting.delegate.ScriptingDelegate
UNDEFINED
 
Constructor Summary
MenuDelegate(org.graffiti.plugins.scripting.Scope scope)
           
 
Method Summary
 Object get(int index)
           
 Set<Integer> getIndices()
           
 boolean has(int index)
           
 String toString()
           
 PopupMenuItem unwrap()
           
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ObjectDelegate
createConstructor, createWrapper, get, getMemberInfo, getScope, has, put
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate
addDynamicMemberInfo, delete, delete, getClassName, help, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MenuDelegate

public MenuDelegate(org.graffiti.plugins.scripting.Scope scope)
Method Detail

get

public Object get(int index)
Overrides:
get in class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate

getIndices

public Set<Integer> getIndices()
Overrides:
getIndices in class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate

has

public boolean has(int index)
Overrides:
has in class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate

toString

public String toString()
Overrides:
toString in class Object

unwrap

public PopupMenuItem unwrap()
Specified by:
unwrap in interface org.graffiti.plugins.scripting.delegate.Unwrappable<PopupMenuItem>


Generated at 2012-05-30 11:01:25 PM CEST