T
- the type of objects in the listpublic class ListPanelHelper<T,L extends List<T>> extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
canFilter |
boolean |
canOrder |
Map<Class<?>,Component> |
m_right |
static String |
SEL_EMPTY |
static String |
SEL_MULTIPLE |
static String |
SEL_SINGLE |
Constructor and Description |
---|
ListPanelHelper() |
Modifier and Type | Method and Description |
---|---|
int |
addInline(L list,
String s) |
boolean |
canAddInline() |
boolean |
canCreate() |
boolean |
canRemove() |
int |
create(L list,
Object arg) |
int |
doCreate(L list,
Object arg) |
boolean |
doRemove(L list,
int[] sel) |
String[] |
getActionLabels() |
ColumnDefinition[] |
getColumns() |
ListPanelCompanion |
getCompanion(ListEditionPanel<T,L> editPanel) |
Object[] |
getCreateTypes() |
ListEditionPanel<T,L> |
getEditPanel(L list,
StackDialog dialog) |
ListPanel<T,L> |
getListPanel(L list) |
Object |
getValue(L list,
T o,
int column) |
boolean |
hasNamedColumn() |
boolean |
moveData(L list,
int[] sel,
int diff) |
boolean |
remove(L list,
int[] sel) |
protected boolean |
removeItems(L list,
int[] sel) |
void |
runAction(L list,
int row,
int col) |
boolean |
setValue(L list,
int row,
int column,
Object value) |
public static final String SEL_EMPTY
public static final String SEL_SINGLE
public static final String SEL_MULTIPLE
public boolean canFilter
public boolean canOrder
public boolean remove(L list, int[] sel)
public ListEditionPanel<T,L> getEditPanel(L list, StackDialog dialog)
public final boolean canCreate()
public final boolean canAddInline()
public final boolean canRemove()
public final boolean hasNamedColumn()
public ColumnDefinition[] getColumns()
public String[] getActionLabels()
public Object[] getCreateTypes()
public ListPanelCompanion getCompanion(ListEditionPanel<T,L> editPanel)
public void runAction(L list, int row, int col)
public boolean doRemove(L list, int[] sel)
protected final boolean removeItems(L list, int[] sel)
public boolean moveData(L list, int[] sel, int diff)
Copyright © 2005–2020. All rights reserved.