Class FWFormOption

java.lang.Object
net.simplace.pipe.formcomponents.choice.FWFormOption
Direct Known Subclasses:
FWFormTableOption

public class FWFormOption extends Object
Used by FWListChoiceSubComponent and FWComboChoiseSubComponent to store selectable options and their attributes in a ListModel.
Author:
ckunze
  • Constructor Details

    • FWFormOption

      public FWFormOption(String aId, String aValue, ImageIcon aImageIcon, String aText)
      Parameters:
      aId - id-attribute of the option
      aValue -
      aImageIcon - icon to be displayed next to the option's text
      aText - this is shown to the user in the list or combo
    • FWFormOption

      public FWFormOption(String aId, String aJumper, String aValue, ImageIcon aImageIcon, String aText)
      Parameters:
      aId - id-attribute of the option
      aJumper -
      aValue -
      aImageIcon - icon to be displayed next to the option's text
      aText - this is shown to the user in the list or combo
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String aId)
    • getValue

      public String getValue()
    • getImage

      public ImageIcon getImage()
    • setImage

      public void setImage(ImageIcon aImage)
    • getText

      public String getText()
    • getHTMLText

      public String getHTMLText()
    • setText

      public void setText(String aText)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getJumper

      public String getJumper()
      Returns:
      the jumper
    • setJumper

      public void setJumper(String aJumper)
      Parameters:
      aJumper - the jumper to set