|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.nengo.config.ConfigUtil
public class ConfigUtil
Configuration-related utility methods.
Nested Class Summary | |
---|---|
static class |
ConfigUtil.ConfigurationPane
|
Constructor Summary | |
---|---|
ConfigUtil()
|
Method Summary | |
---|---|
static void |
configure(java.awt.Dialog owner,
java.lang.Object o)
Shows a tree in which object properties can be edited. |
static void |
configure(java.awt.Frame owner,
java.lang.Object o)
Shows a tree in which object properties can be edited. |
static ConfigUtil.ConfigurationPane |
createConfigurationPane(java.lang.Object o)
Shows a tree in which object properties can be edited. |
static ConfigurationImpl |
defaultConfiguration(java.lang.Object configurable)
|
static Configuration |
getConfiguration(java.lang.Object configurable)
|
static java.lang.Object |
getDefaultValue(java.lang.Class<?> type)
|
static java.lang.Class<?> |
getPrimitiveWrapperClass(java.lang.Class<?> c)
|
static void |
showHelp(java.lang.String text)
Displays given text in a help window. |
static java.lang.String |
stripSuffix(java.lang.String s,
java.lang.String suffix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigUtil()
Method Detail |
---|
public static void configure(java.awt.Dialog owner, java.lang.Object o)
owner
- Parent dialog in which to put GUI elementso
- Object to investigatepublic static void configure(java.awt.Frame owner, java.lang.Object o)
owner
- Parent frame in which to put GUI elementso
- Object to investigatepublic static ConfigUtil.ConfigurationPane createConfigurationPane(java.lang.Object o)
o
- The Object to configure
public static Configuration getConfiguration(java.lang.Object configurable)
configurable
- An object
public static ConfigurationImpl defaultConfiguration(java.lang.Object configurable)
configurable
- An Object
public static java.lang.String stripSuffix(java.lang.String s, java.lang.String suffix)
s
- A Stringsuffix
- Something that the string might end with
public static java.lang.Class<?> getPrimitiveWrapperClass(java.lang.Class<?> c)
c
- Any class
public static java.lang.Object getDefaultValue(java.lang.Class<?> type)
type
- A class
public static void showHelp(java.lang.String text)
text
- Help text (html body)
|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |