|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTable com.jidesoft.grid.JideTable com.jidesoft.grid.ContextSensitiveTable com.jidesoft.grid.NavigableTable com.jidesoft.grid.CellStyleTable com.jidesoft.grid.AutoFilterUtils.AutoFilterRowTable
protected class AutoFilterUtils.AutoFilterRowTable
The table to contain the new-added filter row. It subclasses JideTable.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jidesoft.grid.JideTable |
---|
JideTable.NonContiguousTransferHandler |
Nested classes/interfaces inherited from class javax.swing.JTable |
---|
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintMode |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class com.jidesoft.grid.CellStyleTable |
---|
_cellStyleList, PROPERTY_FILLS_SELECTION, PROPERTY_FILLS_VIEWPORT_WITH_STRIPE |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
AutoFilterUtils.AutoFilterRowTable(TableModel dm)
|
Method Summary | |
---|---|
TableCellEditor |
getCellEditor(int row,
int column)
Returns an appropriate cell editor for the cell specified by this row and column. |
Component |
prepareEditor(TableCellEditor editor,
int row,
int column)
Override this method to get the style from CellStyle defined by StyleModel and set it to component return from super.prepareEditor(). |
Component |
prepareRenderer(TableCellRenderer renderer,
int row,
int column)
Override this method to get the style from CellStyle defined by StyleModel and set it to component return from super.prepareRenderer(). |
void |
removeEditor()
Override to regain focus on JTable when the AbstractComboBox's popup panel has focus. |
void |
setValueAt(Object aValue,
int row,
int column)
Sets the value for the cell in the table model at row and column . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jidesoft.grid.TableAdapter |
---|
getCellSelectionEnabled, getColumnClass, getColumnCount, getColumnName, getColumnSelectionAllowed, getRowCount, getRowSelectionAllowed, isCellEditable, setCellSelectionEnabled |
Constructor Detail |
---|
public AutoFilterUtils.AutoFilterRowTable(TableModel dm)
Method Detail |
---|
public void setValueAt(Object aValue, int row, int column)
TableAdapter
row
and column
.
Note: The column is specified in the table view's display order, and not in the TableModel
's
column order. This is an important distinction because as the user rearranges the columns in the table, the
column at a given index in the view will change. Meanwhile the user's actions never affect the model's column
ordering.
aValue
is the new value.
setValueAt
in interface TableAdapter
setValueAt
in class JTable
aValue
- the new valuerow
- the row of the cell to be changedcolumn
- the column of the cell to be changedTableAdapter.getValueAt(int, int)
public TableCellEditor getCellEditor(int row, int column)
ContextSensitiveTable
ContextSensitiveTable.isCellEditorManagerEnabled()
is true. If true, it will look for the cell editor that assigned to the specific
column. Only if the editor is still null, it will use the EditorContext information from
ContextSensitiveTableModel and get the correct CellEditorfrom the CellRendererManager. In any case, if we can't
determine a cell editor, we will call super.getCellEditor(row, column) just like regular JTable.
getCellEditor
in class ContextSensitiveTable
row
- the row of the cell to edit, where 0 is the first rowcolumn
- the column of the cell to edit, where 0 is the first column
TableCellEditor
that does the editingJTable.cellEditor
public Component prepareRenderer(TableCellRenderer renderer, int row, int column)
CellStyleTable
prepareRenderer
in class CellStyleTable
renderer
- the renderer at the specified cell.row
- the row index.column
- the column index.
public Component prepareEditor(TableCellEditor editor, int row, int column)
CellStyleTable
prepareEditor
in class CellStyleTable
editor
- the cell editor.row
- the row index.column
- the column index.
public void removeEditor()
JideTable
removeEditor
in class JideTable
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |