org.graffiti.plugins.scripting.delegates
Class GridDelegate

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.GridDelegate
All Implemented Interfaces:
org.graffiti.plugins.scripting.delegate.Unwrappable<Grid>

public class GridDelegate
extends org.graffiti.plugins.scripting.delegate.ObjectDelegate
implements org.graffiti.plugins.scripting.delegate.Unwrappable<Grid>

Delegate, which represents a grid.

Author:
Andreas Gleißner

Nested Class Summary
static class GridDelegate.Factory
           
 
Field Summary
 
Fields inherited from class org.graffiti.plugins.scripting.delegate.ScriptingDelegate
UNDEFINED
 
Constructor Summary
GridDelegate(org.graffiti.plugins.scripting.Scope scope, Grid grid)
           
GridDelegate(org.graffiti.plugins.scripting.Scope scope, String className)
           
 
Method Summary
 void addDynamicMemberInfo(SortedMap<String,org.graffiti.plugins.scripting.reflect.MemberDesc> map)
           
 Object get(String name)
           
 void put(String name, Object value)
           
 String toString()
           
 Grid unwrap()
           
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ObjectDelegate
createConstructor, createWrapper, getMemberInfo, getScope, has
 
Methods inherited from class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate
delete, delete, get, getClassName, getIndices, has, help, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridDelegate

public GridDelegate(org.graffiti.plugins.scripting.Scope scope,
                    Grid grid)

GridDelegate

public GridDelegate(org.graffiti.plugins.scripting.Scope scope,
                    String className)
             throws org.graffiti.plugins.scripting.exceptions.ScriptingException
Throws:
org.graffiti.plugins.scripting.exceptions.ScriptingException
Method Detail

addDynamicMemberInfo

public void addDynamicMemberInfo(SortedMap<String,org.graffiti.plugins.scripting.reflect.MemberDesc> map)
Overrides:
addDynamicMemberInfo in class org.graffiti.plugins.scripting.delegate.ReflectiveDelegate

get

public Object get(String name)
           throws org.graffiti.plugins.scripting.exceptions.ScriptingException
Overrides:
get in class org.graffiti.plugins.scripting.delegate.ObjectDelegate
Throws:
org.graffiti.plugins.scripting.exceptions.ScriptingException

put

public void put(String name,
                Object value)
         throws org.graffiti.plugins.scripting.exceptions.ScriptingException
Overrides:
put in class org.graffiti.plugins.scripting.delegate.ObjectDelegate
Throws:
org.graffiti.plugins.scripting.exceptions.ScriptingException

toString

public String toString()
Overrides:
toString in class Object

unwrap

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


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