use of edu.mit.simile.backstage.model.ui.Component in project backstage by zepheira.
the class BackChannel method getComponentStateArray.
public NativeArray getComponentStateArray() {
ScriptableArrayBuilder states = new ScriptableArrayBuilder();
for (Component c : _componentsChangingState) {
Scriptable state = c.getComponentState();
if (state != null) {
state.put("id", state, c.getID());
states.add(state);
}
}
return states.toArray();
}
Aggregations