public static interface PropDefaults.ActiveValue
getXXX(key) methods. Here's an example of
an ActiveValue that constructs a DefaultListCellRenderer
Object cellRendererActiveValue = new PropDefaults.ActiveValue() {
public Object createValue(PropDefaults table) {
return new DefaultListCellRenderer();
}
};
propDefaultsTable.put("MyRenderer", cellRendererActiveValue);
PropDefaults.get(java.lang.Object)| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createValue(PropDefaults table) |
java.lang.Object createValue(PropDefaults table)