类的使用
org.xmeta.Action
程序包 | 说明 |
---|---|
org.xmeta | |
org.xmeta.cache |
-
org.xmeta中Action的使用
返回Action的org.xmeta中的方法 修饰符和类型 方法 说明 Action
ActionContext. getAction()
Action
Thing. getAction()
Action
World. getAction(String actionPath)
通过动作模型的路径获得动作。Action
World. getAction(Thing actionThing)
通过模型获得一个动作。Action
Action. getOuterAction()
返回变量类型为Action的类型的org.xmeta中的方法 修饰符和类型 方法 说明 List<Action>
ActionContext. getActions()
返回动作调用列表,最开始的是堆栈的底部,最后的是堆栈的顶部。参数类型为Action的org.xmeta中的方法 修饰符和类型 方法 说明 void
ActionListener. actionExecuted(Action action, Object caller, ActionContext actionContext, Map<String,Object> parameters, long namoTime, boolean successed)
动作已被执行之后触发的事件。static void
Action. initContext(Action action, Thing context, ActionContext actionContext)
执行动作上下文的inherit或init方法。void
ActionContext. pushAction(Action action)
-
org.xmeta.cache中Action的使用
类型参数类型为Action的org.xmeta.cache中的字段 修饰符和类型 字段 说明 protected WeakReference<Action>
ActionEntry. thingReference
返回Action的org.xmeta.cache中的方法 修饰符和类型 方法 说明 Action
ActionEntry. getAction()
参数类型为Action的org.xmeta.cache中的构造器 构造器 说明 ActionEntry(String path, Action action)