程序包 org.xmeta

类 Bindings

所有已实现的接口:
Serializable, Cloneable, Map<String,Object>

public class Bindings extends HashMap<String,Object>
动作上下文中栈点保存的就是Bindings,Bindings是一个Map,用于保存变量和一些函数调用相关的数据。
作者:
zyx
另请参阅:
  • 字段详细资料

    • world

      public World world
    • disableGlobalContext

      public boolean disableGlobalContext
      是否关闭全局模型动作监听器,如果关闭子函数也都关闭
  • 构造器详细资料

    • Bindings

      public Bindings()
      构造一个空的StackMap。
  • 方法详细资料

    • isVarScopeFlag

      public boolean isVarScopeFlag()
    • setVarScopeFlag

      public void setVarScopeFlag()
       标记为本地变量栈层。
    • getCaller

      public Object getCaller()
    • setCaller

      public void setCaller(Object caller, String method)
    • getContexts

      public Map<Thing,ActionContext> getContexts()
    • getCallerMethod

      public String getCallerMethod()
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 Map<String,Object>
      覆盖:
      hashCode 在类中 AbstractMap<String,Object>
    • setActionListener

      public void setActionListener(Thing actionListener)
      设置动作监听器模型。子动作的执行都会触发监听器。。
      参数:
      actionListener - 动作监听器模型
    • setActionListenerProvider

      public void setActionListenerProvider(ActionListenerProvider actionListenerProvider)
      设置动作监听器提供者。如果要清除,设置为null。
      参数:
      actionListenerProvider - 动作监听器提供者
    • getActionListenerProvider

      public ActionListenerProvider getActionListenerProvider()
    • toString

      public String toString()
      覆盖:
      toString 在类中 AbstractMap<String,Object>
    • isParameterScope

      public boolean isParameterScope()
    • setParameterScope

      public void setParameterScope(boolean parameterScope)
    • getDataMap

      public Map<Object,Object> getDataMap()
    • setData

      public void setData(Object value, Object... keys)
    • getData

      public Object getData(Object... keys)
    • removeData

      public Object removeData(Object... keys)
    • clearData

      public void clearData(Object... keys)