Package com._1c.g5.aef2.scenes
Class State
- java.lang.Object
-
- com._1c.g5.aef2.scenes.State
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IStatecreate(IState oldState, String name, Object value)Creates a new state instance.static IStatecreate(String name, Object value)Creates a new state instance.static IStatecreate(Map<String,Object> stateMap)Creates a new state instance.ObjectgetValue(String name)Returns the value of the state by the specifiedname.StringtoString()
-
-
-
Method Detail
-
create
public static IState create(IState oldState, String name, Object value)
Creates a new state instance.- Parameters:
oldState- the old state, can benull.name- the name, cannot benull.value- the value, cannot benull.- Returns:
- the newly created state, never
null.
-
create
public static IState create(String name, Object value)
Creates a new state instance.- Parameters:
name- the name, cannot benull.value- the value, cannot benull.- Returns:
- the newly created state, never
null.
-
create
public static IState create(Map<String,Object> stateMap)
Creates a new state instance.- Parameters:
stateMap- the state map, cannot benull.- Returns:
- the newly created state, never
null.
-
getValue
public Object getValue(String name)
Description copied from interface:IStateReturns the value of the state by the specifiedname.
-
-