Class CategorizedMonomer

java.lang.Object
org.helm.notation2.wsadapter.CategorizedMonomer

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.
Version:
$Id$
Author:
Marco Lanig
  • Constructor Details

    • CategorizedMonomer

      public CategorizedMonomer()
      Default constructor.
    • CategorizedMonomer

      public CategorizedMonomer​(String monomerID, String monomerName, String naturalAnalogon, String monomerType, String polymerType, String category, String shape, String fontColor, String backgroundColor)
      Constructor using all possible fields.
      Parameters:
      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.
  • Method Details

    • getMonomerID

      public String getMonomerID()
      Returns the monomer ID.
      Returns:
      the monomer id
    • setMonomerID

      public void setMonomerID​(String monomerID)
      Sets the monomer ID.
      Parameters:
      monomerID - given monomer id
    • getMonomerName

      public String getMonomerName()
      Returns the monomer name.
      Returns:
      the monomer name
    • setMonomerName

      public void setMonomerName​(String monomerName)
      Sets the monomer name.
      Parameters:
      monomerName - given monomer name
    • getNaturalAnalogon

      public String getNaturalAnalogon()
      Returns the natural analogon.
      Returns:
      the natural analogon
    • setNaturalAnalogon

      public void setNaturalAnalogon​(String naturalAnalogon)
      Sets the natural analogon.
      Parameters:
      naturalAnalogon - given natural analog
    • getMonomerType

      public String getMonomerType()
      Returns the monomer type.
      Returns:
      the monomer type.
    • setMonomerType

      public void setMonomerType​(String monomerType)
      Sets the monomer type.
      Parameters:
      monomerType - given monomertype
    • getPolymerType

      public String getPolymerType()
      Returns the polymer type.
      Returns:
      the polymer type.
    • setPolymerType

      public void setPolymerType​(String polymerType)
      Sets the polymerType.
      Parameters:
      polymerType - given polymer type
    • getCategory

      public String getCategory()
      Returns the category.
      Returns:
      the category.
    • setCategory

      public void setCategory​(String category)
      Sets the category.
      Parameters:
      category - given category
    • getShape

      public String getShape()
      Returns the shape.
      Returns:
      the shape.
    • setShape

      public void setShape​(String shape)
      Sets the shape.
      Parameters:
      shape - given shape
    • getFontColor

      public String getFontColor()
      Returns the font color.
      Returns:
      the font color.
    • setFontColor

      public void setFontColor​(String fontColor)
      Sets the font color.
      Parameters:
      fontColor - given font color
    • getBackgroundColor

      public String getBackgroundColor()
      Returns the background color.
      Returns:
      the background color.
    • setBackgroundColor

      public void setBackgroundColor​(String backgroundColor)
      Sets the background color.
      Parameters:
      backgroundColor - given background color