Class Control

    • Nested Class Summary

      Nested Classes

      Modifier and Type Class and Description
      static class  Control.Type
      An instance of the Type class represents the type of the control.
    • Constructor Summary

      Constructors

      Modifier Constructor and Description
      protected Control(Control.Type type)
      Constructs a Control with the specified type.
    • Constructor Detail

      • Control

        protected Control(Control.Type type)
        Constructs a Control with the specified type.
        Parameters:
        type - the kind of control desired
    • Method Detail

      • getType

        public Control.Type getType()
        Obtains the control's type.
        Returns:
        the control's type.
      • toString

        public String toString()
        Obtains a String describing the control type and its current state.
        Overrides:
        toString in class  Object
        Returns:
        a String representation of the Control.