|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.NSOption
public class NSOption
An option, which contains a key to identify a group of related options and the value of that option.
Constructor Summary | |
---|---|
NSOption(Object key)
Create an option. |
Method Summary | |
---|---|
static Map<Object,Object> |
createOptionMap(NSOption... options)
Create a map from option key to option value. |
Object |
getOptionKey()
Get the key of this option. |
Object |
getOptionValue()
Get the value of this option. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NSOption(Object key)
key
- the key, or null for a default key to be created.Method Detail |
---|
public static Map<Object,Object> createOptionMap(NSOption... options)
options
- the options for which to construct the map.public Object getOptionKey()
public Object getOptionValue()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |