public abstract class GroupOperationAdapter extends Object implements GroupOperation
| Modifier and Type | Field and Description |
|---|---|
protected String |
headerText |
protected JMenuItem |
item
Item should be JMenuItem, JMenu...
|
protected int |
operationId |
protected String |
operationText |
protected Table |
table |
| Constructor and Description |
|---|
GroupOperationAdapter(Table sourceTable,
int operationId,
String operationText,
String headerText) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderText() |
JMenuItem |
getItem() |
int |
getOperationId() |
String |
getOperationText() |
abstract Number |
getOperationValue(List columnValues,
List rowIndexes) |
protected Table table
protected int operationId
protected String operationText
protected String headerText
protected JMenuItem item
public abstract Number getOperationValue(List columnValues, List rowIndexes)
getOperationValue in interface GroupOperationpublic int getOperationId()
getOperationId in interface GroupOperationpublic String getOperationText()
getOperationText in interface GroupOperationpublic String getHeaderText()
getHeaderText in interface GroupOperationpublic JMenuItem getItem()
getItem in interface GroupOperationCopyright © 2016 Imatia Innovation S.L.. All rights reserved.