Class SelectBoxGroupDisplay<K,T,G>
java.lang.Object
name.matthewgreet.strutscommons.view.SelectBoxGroupDisplay<K,T,G>
- Type Parameters:
K- Unique identifier for instance of T.T- Unformatted record.G- Unformatted group that instances of T can be a member, which can even be String.
Aids creation of OPTION tags in JSPs for SELECT elements by formatting group headers for display. It may optionally contain group header data.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectBoxGroupDisplay(String text) SelectBoxGroupDisplay(String text, G data) -
Method Summary
Modifier and TypeMethodDescriptiongetData()Returns raw model group header that is being formatted for display.getText()Returns text displayed in web page.voidsetChildren(List<SelectBoxItemDisplay2<K, T>> children) voidvoidvoidvoid
-
Constructor Details
-
SelectBoxGroupDisplay
public SelectBoxGroupDisplay() -
SelectBoxGroupDisplay
-
SelectBoxGroupDisplay
-
-
Method Details
-
setModel
-
setModel
-
getText
Returns text displayed in web page. -
setText
-
getData
Returns raw model group header that is being formatted for display. -
setData
-
getChildren
-
setChildren
-