@Override
	public void valueUpdated(Setting s, Value v) {
		String setting = s.getName();
		if (setting.equals(Text)) {
			if (!loopFlag_) {
				loopFlag_ = true;
				if (textField_ != null)
					textField_.setText(v.getString());
			} else
				loopFlag_ = false;
		} else if (setting.equals(Trigger)) {
			try {
				TextFieldTrigger mode = (TextFieldTrigger) v.getEnum();
				if (mode != triggerMode_) {
					triggerMode_ = mode;
					if (triggerMode_ == TextFieldTrigger.EXTERNAL) {
						trigger_ = addInput(Trigger, ValueType.VOID);
						trigger_.addListener(this);
					} else if (trigger_ != null) {
						removeInput(trigger_);
						trigger_ = null;
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		} else
			super.valueUpdated(s, v);
	}