public class Preference extends Object
| Constructor and Description |
|---|
Preference(String applicationName,
String path,
String propertyName,
Class<?> valueClass,
Object defaultValue) |
Preference(String applicationName,
String path,
String propertyName,
Class<?> valueClass,
Object defaultValue,
Field field) |
Preference(String applicationName,
String path,
String propertyName,
Class<?> valueClass,
Object defaultValue,
JComponent field) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelChanges() |
boolean |
equals(Object object) |
String |
getApplicationName() |
Field |
getField() |
JComponent |
getFieldComponent() |
String |
getPath() |
String |
getPropertyName() |
Object |
getSavedValue() |
Object |
getValue() |
Class<?> |
getValueClass() |
int |
hashCode() |
boolean |
isValid() |
void |
saveChanges() |
public Preference(String applicationName, String path, String propertyName, Class<?> valueClass, Object defaultValue)
public Preference(String applicationName, String path, String propertyName, Class<?> valueClass, Object defaultValue, Field field)
public void cancelChanges()
public String getApplicationName()
public Field getField()
public JComponent getFieldComponent()
public String getPath()
public String getPropertyName()
public Object getSavedValue()
public Object getValue()
public Class<?> getValueClass()
public boolean isValid()
public void saveChanges()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.