import java.util.*;

public class Widgets {
	private Map<String, Widget> value = new HashMap<>();
	public Map<String, Widget> getValue() {
		return new HashMap<>(this.value);
	}
	public Widget getWidget(String wid) {
		return this.value.get(wid);
	}
	public Widget getWidget(String wid) {
		return this.value.get(wid);
	}
	public void addMovableButton(String text, int x, int y, int width, int height, String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
	public void addMovableTextInput(int x, int y, int width, int height, String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
	public void addMovableLabel(String text, int x, int y, int width, int height, String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
	public void addButton(String text, String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
	public void addTextInput(String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
	public void addLabel(String text, String wid) {
		this.value.put(wid,new Widget(0, curScreen));
	}
}