jdk/src/share/classes/javax/swing/JComboBox.java
changeset 21278 ef8a3a2a72f2
parent 20458 f2423fb3fd19
child 22260 c9185e010e03
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
  2141              * of a push button is AccessibleRole.PUSH_BUTTON.  The roles in
  2141              * of a push button is AccessibleRole.PUSH_BUTTON.  The roles in
  2142              * AccessibleRole are provided so component developers can pick from
  2142              * AccessibleRole are provided so component developers can pick from
  2143              * a set of predefined roles.  This enables assistive technologies to
  2143              * a set of predefined roles.  This enables assistive technologies to
  2144              * provide a consistent interface to various tweaked subclasses of
  2144              * provide a consistent interface to various tweaked subclasses of
  2145              * components (e.g., use AccessibleRole.PUSH_BUTTON for all components
  2145              * components (e.g., use AccessibleRole.PUSH_BUTTON for all components
  2146              * that act like a push button) as well as distinguish between sublasses
  2146              * that act like a push button) as well as distinguish between subclasses
  2147              * that behave differently (e.g., AccessibleRole.CHECK_BOX for check boxes
  2147              * that behave differently (e.g., AccessibleRole.CHECK_BOX for check boxes
  2148              * and AccessibleRole.RADIO_BUTTON for radio buttons).
  2148              * and AccessibleRole.RADIO_BUTTON for radio buttons).
  2149              * <p>Note that the AccessibleRole class is also extensible, so
  2149              * <p>Note that the AccessibleRole class is also extensible, so
  2150              * custom component developers can define their own AccessibleRole's
  2150              * custom component developers can define their own AccessibleRole's
  2151              * if the set of predefined roles is inadequate.
  2151              * if the set of predefined roles is inadequate.