charite.christo.metannogen
Class MSpecies
java.lang.Object
charite.christo.metannogen.MObject
charite.christo.metannogen.MSpecies
- All Implemented Interfaces:
- DialogStringMatch.Interface, ChCustomDictionaryProvider, HasChildren, HasID, HasName, HasRendererText, HasInfoText, Species, TabItemTipIcon.Interface, Cloneable, Comparable
public class MSpecies
- extends MObject
- implements Species, TabItemTipIcon.Interface, HasRendererText, HasChildren, HasInfoText, Comparable, DialogStringMatch.Interface, ChCustomDictionaryProvider
Methods inherited from class charite.christo.metannogen.MObject |
clone, getAttribute, getAttributeF, getAttributeI, getAttributes, getClientProperty, getClientPropertyMapAsString, getEntireText, getID, getIDMapped, getIDMappedSimilar, getParent, getTopAncestor, getTopAncestorID, main, putClientProperty, setAttributes, setCollection, setID, setName, setParent, setTextBlock, toString |
NONE
public static final MSpecies[] NONE
MSpecies
public MSpecies()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
equals
public final boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public final int hashCode(Object o)
setRemark
public void setRemark(CharSequence s)
setComment
public void setComment(CharSequence s)
setFormula
public void setFormula(CharSequence s)
setReactionIDs
public void setReactionIDs(CharSequence s)
setNames
public void setNames(CharSequence s)
isGeneral
public boolean isGeneral()
- Description copied from interface:
Species
- General metabolites are for example "Sugar" or "Amino acid".
- Specified by:
isGeneral
in interface Species
getFormula
public CharSequence getFormula()
getAllNamesLC
public final String[] getAllNamesLC()
getAllNames
public final String[] getAllNames()
getName
public final String getName()
- Description copied from interface:
Species
- The human readable name of the metabolite.
- Specified by:
getName
in interface HasName
- Specified by:
getName
in interface Species
- Overrides:
getName
in class MObject
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren
in interface HasChildren
getChildren
public Object[] getChildren()
- Specified by:
getChildren
in interface HasChildren
getReactions
public MReaction[] getReactions()
- Description copied from interface:
Species
- Get a list of Reactions with this metabolite.
- Specified by:
getReactions
in interface Species
getReactionIDs
public String[] getReactionIDs()
setCollection
public void setCollection(MReactionCollection c)
getCollection
public MReactionCollection getCollection()
- Description copied from interface:
Species
- Returns the reference of the containing network object.
- Specified by:
getCollection
in interface Species
- Overrides:
getCollection
in class MObject
getInfoText
public String getInfoText()
- Specified by:
getInfoText
in interface HasInfoText
getTabItemTipIcon
public TabItemTipIcon getTabItemTipIcon(MouseEvent ev)
- Specified by:
getTabItemTipIcon
in interface TabItemTipIcon.Interface
getRendererText
public CharSequence getRendererText(int options)
- Specified by:
getRendererText
in interface HasRendererText
gif
public ImageIcon gif()
getCustomDictionaryWords
public String[] getCustomDictionaryWords()
- Description copied from interface:
ChCustomDictionaryProvider
- For JOrtho
- Specified by:
getCustomDictionaryWords
in interface ChCustomDictionaryProvider
getHaystacksForStringSearch
public Object getHaystacksForStringSearch(int mode)
- Specified by:
getHaystacksForStringSearch
in interface DialogStringMatch.Interface
- Overrides:
getHaystacksForStringSearch
in class MObject
'The most important classes are StrapAlign, StrapProtein and StrapEvent.'