public static interface UIDefaults.ActiveValue 
      getXXX(key)方法查找之后构建的默认表中存储一个条目。 
       这是一个ActiveValue的例子,它构建了一个DefaultListCellRenderer : 
         Object cellRendererActiveValue = new UIDefaults.ActiveValue() {
      public Object createValue(UIDefaults table) {
          return new DefaultListCellRenderer();
      }
  };
  uiDefaultsTable.put("MyRenderer", cellRendererActiveValue);  
      | Modifier and Type | Method and Description | 
|---|---|
| Object | createValue(UIDefaults table)
              创建从 
              UIDefaults表检索的值。 | 
Object createValue(UIDefaults table)
UIDefaults表检索的值。 
           该对象在每次访问时创建。 
          table - a 
            UIDefaults表 
           Object 
            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.