import java.util.*;
public class Widget {
private CurScreen curScreen;
private int state;
private CurScreen curScreen;
public Map<String, Object> getValue() {
Map temp_nil9 = new HashMap<>();
temp_nil9.put("state",this.getState());
return temp_nil9;
}
public void updateStateFromState(String self, String self2, String wid, int state, String curScreen) {
this.state = state;
this.state = state;
this.curScreen.updateFromState(scId, wid, this.state);
this.curScreen.updateFromState(scId, wid, this.state);
}
public int getState() {
return this.state;
}
public void updateStateFromState(String self, String self2, String wid, int state, String curScreen) {
this.state = state;
this.state = state;
this.curScreen.updateFromState(scId, wid, this.state);
this.curScreen.updateFromState(scId, wid, this.state);
}
public Widget(int state, CurScreen curScreen) {
this.state = state;
this.curScreen = curScreen;
}
}