public class CategorizedMonomer extends Object
CategorizedMonomer used as wrapper class for monomer categorization in the HELMEditor. This means in which
category a monomer belongs to, or of which shape the menu entry is.| Constructor and Description |
|---|
CategorizedMonomer()
Default constructor.
|
CategorizedMonomer(String monomerID,
String monomerName,
String naturalAnalogon,
String monomerType,
String polymerType,
String category,
String shape,
String fontColor,
String backgroundColor)
Constructor using all possible fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroundColor()
Returns the background color.
|
String |
getCategory()
Returns the category.
|
String |
getFontColor()
Returns the font color.
|
String |
getMonomerID()
Returns the monomer ID.
|
String |
getMonomerName()
Returns the monomer name.
|
String |
getMonomerType()
Returns the monomer type.
|
String |
getNaturalAnalogon()
Returns the natural analogon.
|
String |
getPolymerType()
Returns the polymer type.
|
String |
getShape()
Returns the shape.
|
void |
setBackgroundColor(String backgroundColor)
Sets the background color.
|
void |
setCategory(String category)
Sets the category.
|
void |
setFontColor(String fontColor)
Sets the font color.
|
void |
setMonomerID(String monomerID)
Sets the monomer ID.
|
void |
setMonomerName(String monomerName)
Sets the monomer name.
|
void |
setMonomerType(String monomerType)
Sets the monomer type.
|
void |
setNaturalAnalogon(String naturalAnalogon)
Sets the natural analogon.
|
void |
setPolymerType(String polymerType)
Sets the polymerType.
|
void |
setShape(String shape)
Sets the shape.
|
public CategorizedMonomer()
public CategorizedMonomer(String monomerID, String monomerName, String naturalAnalogon, String monomerType, String polymerType, String category, String shape, String fontColor, String backgroundColor)
monomerID - the monomers ID.monomerName - the monomers name.naturalAnalogon - the natural analogon.monomerType - the monomer type.polymerType - the polymer type.category - the category.shape - the menu entries shape.fontColor - the font color on the menu entry.backgroundColor - the menu entries background color.public String getMonomerID()
public void setMonomerID(String monomerID)
monomerID - given monomer idpublic String getMonomerName()
public void setMonomerName(String monomerName)
monomerName - given monomer namepublic String getNaturalAnalogon()
public void setNaturalAnalogon(String naturalAnalogon)
naturalAnalogon - given natural analogpublic String getMonomerType()
public void setMonomerType(String monomerType)
monomerType - given monomertypepublic String getPolymerType()
public void setPolymerType(String polymerType)
polymerType - given polymer typepublic String getCategory()
public void setCategory(String category)
category - given categorypublic String getShape()
public void setShape(String shape)
shape - given shapepublic String getFontColor()
public void setFontColor(String fontColor)
fontColor - given font colorpublic String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
backgroundColor - given background colorCopyright © 2017. All rights reserved.