Package org.scijava
Interface BasicDetails
-
- All Superinterfaces:
Named
- All Known Subinterfaces:
ModuleInfo,ModuleItem<T>,MutableModuleInfo,MutableModuleItem<T>,UIDetails
- All Known Implementing Classes:
AbstractBasicDetails,AbstractModuleInfo,AbstractModuleItem,AbstractUIDetails,CommandInfo,CommandModuleItem,DefaultMutableModuleInfo,DefaultMutableModuleItem,DynamicCommandInfo,PluginInfo,ScriptInfo
public interface BasicDetails extends Named
An interface defining basic characteristics including name, label, description, and a table of key/value pairs.- Author:
- Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringget(String key)Gets the value of the given key, or null if undefined.StringgetDescription()Gets a string describing the object.StringgetLabel()Gets the name to appear in a UI, if applicable.booleanis(String key)Returns true iff the given key is defined.voidset(String key, String value)Sets the value of the given key.voidsetDescription(String description)Sets a string describing the object.voidsetLabel(String label)Sets the name to appear in a UI, if applicable.
-
-
-
Method Detail
-
getLabel
String getLabel()
Gets the name to appear in a UI, if applicable.
-
getDescription
String getDescription()
Gets a string describing the object.
-
is
boolean is(String key)
Returns true iff the given key is defined.
-
setLabel
void setLabel(String label)
Sets the name to appear in a UI, if applicable.
-
setDescription
void setDescription(String description)
Sets a string describing the object.
-
-