public class SelectionBean<T> extends AmbitBean
Modifier and Type | Field and Description |
---|---|
protected List<T> |
options |
protected int |
selected |
protected String |
title |
Constructor and Description |
---|
SelectionBean() |
SelectionBean(List<T> options) |
SelectionBean(T[] options) |
SelectionBean(T[] options,
String title) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
List<T> |
getOptions() |
T |
getSelected() |
String |
getTitle() |
void |
setOptions(List<T> options) |
void |
setSelected(int index) |
void |
setSelected(T selected) |
void |
setTitle(String title) |
String |
toString() |
protected int selected
protected String title
public SelectionBean()
public SelectionBean(T[] options)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.