|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.configbuilder.ConfigElement
chemaxon.alchemist.configbuilder.BasicConfigElement
public class BasicConfigElement
This is an implementation of ConfigElement.
This basic implementation can not be configured,
always valid, and represented by a simple xml tag:
<elementId id='elementId' />
where elementId is the id property of the object.
ConfigElement.getId(),
ConfigElement.setId(String id)| Field Summary | |
|---|---|
protected boolean |
licensed
checks if element is licensed |
| Fields inherited from class chemaxon.alchemist.configbuilder.ConfigElement |
|---|
flavor, PROPERTY_KEY_DEFAULTICON, PROPERTY_KEY_EDITABLE, PROPERTY_KEY_HELPTEXT, PROPERTY_KEY_ICON, PROPERTY_KEY_ID, PROPERTY_KEY_NAME, PROPERTY_KEY_TOOLTIP, PROPERTY_KEY_VALID, propertyChangeSupport |
| Constructor Summary | |
|---|---|
BasicConfigElement()
Constructs a basic config element |
|
BasicConfigElement(java.lang.String id)
Constructs a basic config element with the specified id |
|
BasicConfigElement(java.lang.String id,
java.lang.String name)
Constructs a basic config element with the specified name |
|
BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon)
Constructs a basic config element with the specified name and icon |
|
BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon,
java.lang.String tooltip)
Constructs a basic config element with the specified name, icon and tooltip |
|
BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon,
java.lang.String tooltip,
java.lang.String helpText)
Constructs a basic config element with the specified name, icon and tooltip |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
clone()
|
boolean |
isDefault()
Returns if config element is at default state |
protected void |
validate()
This method should be called after modifications occured in model. |
| Methods inherited from class chemaxon.alchemist.configbuilder.ConfigElement |
|---|
addGroup, addPropertyChangeListener, addPropertyChangeListener, cloneElement, copyAttributes, getDefaultIcon, getGroups, getHelpText, getIcon, getId, getLicenseName, getName, getTooltip, getTransferData, getTransferDataFlavors, hasGroup, hasGroups, isDataFlavorSupported, isEditable, isLicensed, isValid, removePropertyChangeListener, removePropertyChangeListener, setDefaultIcon, setEditable, setHelpText, setId, setLicensed, setLicenseName, setName, setTooltip, setValid, store, store |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean licensed
| Constructor Detail |
|---|
public BasicConfigElement()
public BasicConfigElement(java.lang.String id)
id - is the element id
public BasicConfigElement(java.lang.String id,
java.lang.String name)
id - is the element idname - is the name of the element
public BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon)
id - is the element idname - is the name of the elementicon - is the icon of the element
public BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon,
java.lang.String tooltip)
id - is the element idname - is the name of the elementicon - is the icon of the elementtooltip - is the tooltip of the element
public BasicConfigElement(java.lang.String id,
java.lang.String name,
javax.swing.ImageIcon icon,
java.lang.String tooltip,
java.lang.String helpText)
id - is the element idname - is the name of the elementicon - is the icon of the elementtooltip - is the tooltip of the elementhelpText - is the detailed help text of the element| Method Detail |
|---|
public boolean isDefault()
ConfigElement
isDefault in class ConfigElementprotected void validate()
ConfigElementsetValid(boolean)
- Specified by:
validate in class ConfigElement
protected java.lang.Object clone()
clone in class ConfigElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||