com.threerings.editor
Annotation Type EditorTypes


@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,TYPE})
public @interface EditorTypes

Specifies the classes available for selection in the editor. Can be used both on superclasses and on editable properties.


Required Element Summary
 Class<?>[] value
          The subtypes from which to choose.
 
Optional Element Summary
 String key
          An optional configuration key whose value represents other available classes.
 String label
          The label to use for the type chooser.
 

Element Detail

value

public abstract Class<?>[] value
The subtypes from which to choose.

key

public abstract String key
An optional configuration key whose value represents other available classes.

Default:
""

label

public abstract String label
The label to use for the type chooser.

Default:
"type"


Copyright © 2011. All Rights Reserved.