.. default-domain:: java .. highlight:: java .. package:: krpc.client.services.UI Input Control ============= .. type:: public class InputControl The base class of dropdowns, input fields, sliders and toggles, which hold a value the user can change. | Base class: :type:`Control` | Derived classes: :type:`Dropdown`, :type:`InputField`, :type:`Slider`, :type:`Toggle` .. container:: inherited-members .. rubric:: Inherited Members * From :type:`Control`: :meth:`getInteractable `, :meth:`setInteractable `, :meth:`getColor `, :meth:`setColor `, :meth:`getTooltip `, :meth:`setTooltip ` * From :type:`Object`: :meth:`getRectTransform `, :meth:`getLayoutElement `, :meth:`getVisible `, :meth:`setVisible `, :meth:`remove ` .. method:: boolean getChanged() .. method:: void setChanged(boolean value) Whether the user has changed the control's value. .. note:: This property is set to true when the user changes the value, and not when a client sets it. A client script should reset the property to false in order to detect subsequent changes.