Klasse ListFormatter
java.lang.Object
de.uplanet.lucy.server.auxiliaries.ListFormatter
Provides list-formatting functionality for generating client output.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetOptionList(de.uplanet.util.PairArray<String, String> p_list) Create an option list from a pair-array with the0th option selected.getOptionList(de.uplanet.util.PairArray<String, String> p_list, int p_iSelectedIndex) Create an option list from a pair-array with the0th option selected.getOptionListT(de.uplanet.util.PairArray<String, String> p_list, String p_strSelectedText) Create an option list from a pair-array with specified option selected.getOptionListV(de.uplanet.util.PairArray<String, String> p_list, String p_strSelectedValue) Create an option list from a pair-array with specified option selected.Get the currently selected output type.
-
Konstruktordetails
-
ListFormatter
public ListFormatter()Construct aListFormatter.
-
-
Methodendetails
-
getOutputType
Get the currently selected output type.- Gibt zurück:
- The output type.
-
getOptionList
Create an option list from a pair-array with the0th option selected.- Parameter:
p_list- An array containing the value-text-pairs.- Gibt zurück:
- The option list.
-
getOptionList
Create an option list from a pair-array with the0th option selected.- Parameter:
p_list- An array containing the value-text-pairs.p_iSelectedIndex- The index of the option that should be selected.- Gibt zurück:
- The option list.
-
getOptionListV
public String getOptionListV(de.uplanet.util.PairArray<String, String> p_list, String p_strSelectedValue) Create an option list from a pair-array with specified option selected.- Parameter:
p_list- An array containing the value-text-pairs.p_strSelectedValue- The value of the option that should be selected.- Gibt zurück:
- The option list.
-
getOptionListT
public String getOptionListT(de.uplanet.util.PairArray<String, String> p_list, String p_strSelectedText) Create an option list from a pair-array with specified option selected.- Parameter:
p_list- An array containing the value-text-pairs.p_strSelectedText- The text of the option that should be selected.- Gibt zurück:
- The option list.
-