etomica
Class EtomicaInfo
java.lang.Object
etomica.EtomicaInfo
- All Implemented Interfaces:
- Serializable
public class EtomicaInfo
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_SHORT_DESCRIPTION_LENGTH
protected static final int MAX_SHORT_DESCRIPTION_LENGTH
- See Also:
- Constant Field Values
EtomicaInfo
public EtomicaInfo()
EtomicaInfo
public EtomicaInfo(String desc)
EtomicaInfo
public EtomicaInfo(String desc,
String short_desc)
setDefaultFeatureSet
protected void setDefaultFeatureSet()
getFeatures
public FeatureSet getFeatures()
getInfo
public static EtomicaInfo getInfo(Class myclass)
getDescription
public String getDescription()
setDescription
public void setDescription(String str)
getShortDescription
public String getShortDescription()
- The need for a short text to put on pull down menus made it necessary to add this function. By default
it takes the description field (possibly long) and will return a substring of it, indicating continuation with
with ellipsis (...)
- Returns:
- Short description of this field
setShortDescription
public void setShortDescription(String str)
isEnabled
public boolean isEnabled()
- Accessor for flag indicating if component is enabled for use in Etomica. May be set
to false if other required classes are absent (for example, 3D graphics libraries
needed for display). Default is
true.
setEnabled
public void setEnabled(boolean b)
- Mutator for flag indicating if component is enabled for use in Etomica. May be set
to false if other required classes are absent (for example, 3D graphics libraries
needed for display). Default is
true.