Class FWFormOption
java.lang.Object
net.simplace.pipe.formcomponents.choice.FWFormOption
A selectable option of a
FWChoiceFormComponent and its subcomponents: id, value, displayed text,
optional image and optional jumper.- Author:
- ckunze
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FWFormOption
- Parameters:
aId- id-attribute of the optionaValue- value of the option (the component's value if selected)aImageIcon- icon to be displayed next to the option's text, ornullaText- text shown to the user in the list or combo
-
FWFormOption
- Parameters:
aId- id-attribute of the optionaJumper- jumper of the option (e.g. the function to go on with)aValue- value of the option (the component's value if selected)aImageIcon- icon to be displayed next to the option's text, ornullaText- text shown to the user in the list or combo
-
-
Method Details
-
getId
- Returns:
- the id of the option
-
setId
- Parameters:
aId- the id of the option
-
getValue
- Returns:
- the value of the option
-
getImage
- Returns:
- the icon, or
null
-
setImage
- Parameters:
aImage- icon to be displayed next to the text, ornull
-
getText
- Returns:
- the displayed text
-
getHTMLText
- Returns:
- the displayed text wrapped in
<html>tags
-
setText
- Parameters:
aText- the displayed text
-
toString
-
getJumper
- Returns:
- the jumper of the option, or
null
-
setJumper
- Parameters:
aJumper- the jumper of the option
-