1 /*
   2  * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
   3  * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
   4  */
   5 
   6 package com.sun.java.accessibility.extensions;
   7 
   8 import javax.accessibility.*;
   9 
  10 /**
  11  * <P>Class AccessibleState describes a component's particular state.  The actual
  12  * state of the component is defined as an AccessibleStateSet, which is a
  13  * composed set of AccessibleStates.
  14  * <p>The toDisplayString method allows you to obtain the localized string
  15  * for a locale independent key from a predefined ResourceBundle for the
  16  * keys defined in this class.
  17  * <p>The constants in this class present a strongly typed enumeration
  18  * of common object roles.  A public constructor for this class has been
  19  * purposely omitted and applications should use one of the constants
  20  * from this class.  If the constants in this class are not sufficient
  21  * to describe the role of an object, a subclass should be generated
  22  * from this class and it should provide constants in a similar manner.
  23  *
  24  */
  25 
  26 public abstract class AccessibleExtendedStateConstants extends AccessibleState {
  27 
  28     /**
  29      * Indicates a component is responsible for managing
  30      * its subcomponents.
  31      */
  32     public static final AccessibleExtendedState MANAGES_DESCENDENTS
  33             = new AccessibleExtendedState("managesDescendents");
  34 
  35     public AccessibleExtendedStateConstants(String s) {
  36         super(s);
  37     }
  38 }