public class EditorPreferences extends Object
Modifier and Type | Field and Description |
---|---|
static Object[][] |
default_values |
protected static String |
filename |
protected static PropertyChangeSupport |
propertyChangeSupport |
protected static Properties |
props |
Constructor and Description |
---|
EditorPreferences() |
Modifier and Type | Method and Description |
---|---|
protected static Properties |
getDefault() |
static IAmbitEditor |
getEditor(Class key) |
static IAmbitEditor |
getEditor(Object key) |
static IAmbitEditor |
getEditor(String key) |
static Properties |
getProperties() |
static String |
getProperty(String key) |
static PropertyChangeSupport |
getPropertyChangeSupport() |
protected static Properties |
loadProperties() |
static void |
saveProperties(String comments) |
static void |
setProperty(String key,
String value) |
static void |
setPropertyChangeSupport(PropertyChangeSupport propertyChangeSupport) |
protected static PropertyChangeSupport propertyChangeSupport
protected static final String filename
protected static Properties props
public static Object[][] default_values
protected static Properties getDefault()
protected static Properties loadProperties() throws IOException
IOException
public static Properties getProperties()
public static void saveProperties(String comments) throws IOException
IOException
public static PropertyChangeSupport getPropertyChangeSupport()
public static void setPropertyChangeSupport(PropertyChangeSupport propertyChangeSupport)
public static IAmbitEditor getEditor(Class key) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public static IAmbitEditor getEditor(Object key) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public static IAmbitEditor getEditor(String key) throws ClassNotFoundException, InstantiationException, IllegalAccessException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.