public static enum SwingWorker.StateValue extends Enum<SwingWorker.StateValue>
state绑定属性。 
      | Enum Constant and Description | 
|---|
| DONESwingWorker是DONE后doInBackground方法完成。 | 
| PENDING
              初始 
              SwingWorker状态。 | 
| STARTEDSwingWorker是STARTED调用之前doInBackground。 | 
| Modifier and Type | Method and Description | 
|---|---|
| static SwingWorker.StateValue | valueOf(String name)
              以指定的名称返回此类型的枚举常量。 
             | 
| static SwingWorker.StateValue[] | values()
              按照它们声明的顺序返回一个包含此枚举类型常量的数组。 
             | 
public static final SwingWorker.StateValue PENDING
SwingWorker状态。 
          public static final SwingWorker.StateValue STARTED
SwingWorker是 
           STARTED调用之前 
           doInBackground 。 
          public static final SwingWorker.StateValue DONE
SwingWorker是 
           DONE后 
           doInBackground方法完成。 
          public static SwingWorker.StateValue[] values()
  for (SwingWorker.StateValue c : SwingWorker.StateValue.values())
    System.out.println(c);  
          public static SwingWorker.StateValue valueOf(String name)
name - 要返回的枚举常数的名称。 
           IllegalArgumentException - 如果此枚举类型没有指定名称的常量 
           NullPointerException - if the argument is null 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.