Package org.compiere.minigrid
Interface IMiniTable
-
- All Known Implementing Classes:
WListbox
public interface IMiniTable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addColumn(String header)
void
autoSize()
int
convertColumnIndexToModel(int viewColumnIndex)
int
getColorCode(int row)
int
getColumnCount()
ColumnInfo[]
getLayoutInfo()
int
getRowCount()
int
getSelectedRow()
Integer
getSelectedRowKey()
Object
getValueAt(int row, int column)
boolean
isCellEditable(int row, int column)
boolean
isMultiSelection()
void
loadTable(ResultSet rs)
void
loadTable(PO[] pos)
String
prepareTable(ColumnInfo[] layout, String from, String where, boolean multiSelection, String tableName)
void
repaint()
void
setColorCompare(Object dataCompare)
void
setColumnClass(int index, Class<?> classType, boolean readOnly)
void
setColumnClass(int index, Class<?> classType, boolean readOnly, String header)
void
setColumnReadOnly(int index, boolean readOnly)
void
setMultiSelection(boolean multiSelection)
void
setRowCount(int rowCount)
void
setShowTotals(boolean show)
void
setValueAt(Object value, int row, int column)
-
-
-
Method Detail
-
isCellEditable
boolean isCellEditable(int row, int column)
-
getValueAt
Object getValueAt(int row, int column)
-
setValueAt
void setValueAt(Object value, int row, int column)
-
convertColumnIndexToModel
int convertColumnIndexToModel(int viewColumnIndex)
-
setColumnReadOnly
void setColumnReadOnly(int index, boolean readOnly)
-
prepareTable
String prepareTable(ColumnInfo[] layout, String from, String where, boolean multiSelection, String tableName)
-
addColumn
void addColumn(String header)
-
setColumnClass
void setColumnClass(int index, Class<?> classType, boolean readOnly)
-
loadTable
void loadTable(ResultSet rs)
-
loadTable
void loadTable(PO[] pos)
-
getSelectedRowKey
Integer getSelectedRowKey()
-
getSelectedRow
int getSelectedRow()
-
setRowCount
void setRowCount(int rowCount)
-
getLayoutInfo
ColumnInfo[] getLayoutInfo()
-
getColumnCount
int getColumnCount()
-
getRowCount
int getRowCount()
-
setMultiSelection
void setMultiSelection(boolean multiSelection)
-
isMultiSelection
boolean isMultiSelection()
-
getColorCode
int getColorCode(int row)
-
setColorCompare
void setColorCompare(Object dataCompare)
-
repaint
void repaint()
-
autoSize
void autoSize()
-
setShowTotals
void setShowTotals(boolean show)
-
-