|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.elegantj.jfc.table.JFCTablePanel
This class provides the scrollpane to the JFCTable. All the methods of the JFCTable are implemented by this, so user can use them.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
static int |
AUTO_RESIZE_ALL_COLUMNS
During all resize operations, proportionately resize all columns. |
static int |
AUTO_RESIZE_LAST_COLUMN
During all resize operations, apply adjustments to the last column only. |
static int |
AUTO_RESIZE_NEXT_COLUMN
When a column is adjusted in the UI, adjust the next column the opposite way. |
static int |
AUTO_RESIZE_OFF
Do not adjust column widths automatically; use a scrollbar. |
static int |
AUTO_RESIZE_SUBSEQUENT_COLUMNS
During UI adjustment, change subsequent columns to preserve the total width; this is the default behavior. |
static int |
COMPARE_CONTAINS
Specifies the compare mode as compare the cell which contains with specified string |
static int |
COMPARE_ENDS_WITH
Specifies the compare mode as compare the cell which ends with specified string |
static int |
COMPARE_EQUALS
Specifies the compare mode as compare the cell which equals to string |
static int |
COMPARE_STARTS_WITH
Specifies the compare mode as compare the cell which starts with specified string |
protected JFCTable |
m_jfcTable
Specifies a JFCTable object |
static int |
MULTIPLE_INTERVAL_SELECTION
Specifies a value for the selectionMode property: select one or more contiguous ranges of indices at a time. |
static int |
SEARCH_FROM_FIRST_CELL
Specifies the search mode as search downwards |
static int |
SEARCH_FROM_LAST_CELL
Specifies the search mode as search upwards |
static int |
SEARCH_FROM_SELECTED_CELL_TO_DOWN
Specifies the search mode as search downwards from last selected cell |
static int |
SEARCH_FROM_SELECTED_CELL_TO_UP
Specifies the search mode as search upwards from last selected cell |
static int |
SINGLE_INTERVAL_SELECTION
Specifies a value for the selectionMode property: select one contiguous range of indices at a time. |
static int |
SINGLE_SELECTION
Specifies a value for the selectionMode property: select one list index at a time. |
| 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 | |
JFCTablePanel()
Creates a JFCTablePanel with JFCTable as a view. |
|
JFCTablePanel(int rows,
int columns)
|
|
JFCTablePanel(java.lang.Object[][] rowData,
java.lang.Object[] columnNames)
|
|
JFCTablePanel(javax.swing.table.TableModel dm)
|
|
JFCTablePanel(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm)
|
|
JFCTablePanel(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm)
|
|
JFCTablePanel(java.util.Vector rowData,
java.util.Vector columnNames)
|
|
| Method Summary | |
void |
addColumn()
|
void |
addColumn(java.lang.Object[] columnData)
|
void |
addColumn(java.lang.String columnName)
|
void |
addColumn(java.lang.String columnName,
java.lang.Object[] columnData)
Adds a column to the model. |
void |
addColumn(java.lang.String columnName,
java.util.Vector columnData)
Adds a column to the model. |
void |
addColumn(javax.swing.table.TableColumn column)
Appends aColumn to the end of the array of columns held by this JTable's column model. |
void |
addColumn(java.util.Vector columnData)
|
void |
addColumnAboveSelection()
Adds a column to the model above the selected column, The new column will have the default identifier |
void |
addColumnModelListener(javax.swing.event.TableColumnModelListener l)
Adds a listener for table column model events. |
void |
addColumnSelectionInterval(int index0,
int index1)
Adds the columns from index0 to index1, inclusive, to the current selection |
void |
addColumnSelectionListener(javax.swing.event.ListSelectionListener l)
Adds a listener to the list that's notified each time a change to the column selection occurs. |
void |
addFocusListener(java.awt.event.FocusListener l)
Adds the specified focus listener to receive focus events from this component when this component gains input focus. |
void |
addKeyListener(java.awt.event.KeyListener l)
Adds the specified key listener to receive key events from this component. |
void |
addMouseListener(java.awt.event.MouseListener l)
Adds the specified mouse listener to receive mouse events from this component. |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
Adds the specified mouse motion listener to receive mouse motion events from this component. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
void |
addRow()
|
void |
addRow(java.lang.Object[] rowData)
Adds a row to the end of the model. |
void |
addRow(java.util.Vector rowData)
Adds a row to the end of the model. |
void |
addRowAboveSelection()
Adds a row to the model above the selected row, |
void |
addRowSelectionInterval(int index0,
int index1)
Adds the rows from index0 to index1, inclusive, to the current selection |
void |
addRowSelectionListener(javax.swing.event.ListSelectionListener l)
Adds a listener to the list that's notified each time a change to the row selection occurs. |
void |
addTableModelListener(javax.swing.event.TableModelListener l)
Adds a listener to the list that's notified each time a change to the data model occurs |
TableCell |
cellAtPoint(java.awt.Point point)
Returns the table cell that point lies in, or null if the result is not in the table range. |
void |
changeSelection(int rowIndex,
int columnIndex,
boolean toggle,
boolean extend)
Updates the selection models of the table, depending on the state of the two flags: toggle and extend |
void |
clearSelection()
Deselects all selected columns and rows |
void |
clearTableColumnsAttributes()
Clears the cell attributes at each column. |
void |
clearTableRowsAttributes()
Clears the cell attributes at each row. |
void |
columnAdded(javax.swing.event.TableColumnModelEvent e)
Invoked when a column is added to the table column model |
int |
columnAtPoint(java.awt.Point point)
Returns the index of the column that point lies in, or -1 if the result is not in the range [0, getColumnCount()-1]. |
void |
columnMarginChanged(javax.swing.event.ChangeEvent e)
Invoked when a column is moved due to a margin change |
void |
columnMoved(javax.swing.event.TableColumnModelEvent e)
Invoked when a column is repositioned |
void |
columnRemoved(javax.swing.event.TableColumnModelEvent e)
Invoked when a column is removed from the table column model |
void |
columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
Invoked when the selection model of the TableColumnModel is changed |
static java.util.Hashtable |
convertAttributesArrayToTable(java.lang.Object[][] attributesArray)
Converts the Object array contains the cell attributes into Hashtable. |
static java.lang.Object[][] |
convertAttributesTableToArray(java.util.Hashtable attributesTable)
Converts the Hashtable contains the cell attributes into Object array. |
int |
convertColumnIndexToModel(int viewColumnIndex)
Maps the index of the column in the view at viewColumnIndex to the index of the column in the table model. |
int |
convertColumnIndexToView(int modelColumnIndex)
Maps the index of the column in the table model at modelColumnIndex to the index of the column in the view |
static java.lang.Object[] |
convertToArray(java.util.Vector theVector)
Returns an array that contains the same objects as the vector. |
static java.util.Vector |
convertToVector(java.lang.Object[] anArray)
Returns a vector of vectors that contains the same objects as the array. |
void |
createDefaultColumnsFromModel()
Returns the default column model object, which is a DefaultTableColumnModel |
protected JFCTable |
createJFCTable()
Creates the instance of JFCTable |
protected JFCTable |
createJFCTable(int rows,
int columns)
|
protected JFCTable |
createJFCTable(java.lang.Object[][] rowData,
java.lang.Object[] columnNames)
|
protected JFCTable |
createJFCTable(javax.swing.table.TableModel dm)
|
protected JFCTable |
createJFCTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm)
|
protected JFCTable |
createJFCTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm)
|
protected JFCTable |
createJFCTable(java.util.Vector rowData,
java.util.Vector columnNames)
|
boolean |
editCellAt(int row,
int column)
Programmatically starts editing the cell at row and column, if the cell is editable |
boolean |
editCellAt(int row,
int column,
java.util.EventObject e)
Programmatically starts editing the cell at row and column, if the cell is editable |
void |
editingCanceled(javax.swing.event.ChangeEvent e)
Invoked when editing is canceled |
void |
editingStopped(javax.swing.event.ChangeEvent e)
Invoked when editing is finished |
boolean |
editTableCell(TableCell tableCell)
|
boolean |
editTableCell(TableCell tableCell,
java.util.EventObject e)
Programmatically starts editing the table cell, if the cell is editable. |
boolean |
getAutoCreateColumnsFromModel()
Determines whether the table will create default columns from the model. |
int |
getAutoResizeMode()
Returns the auto resize mode of the table. |
boolean |
getAutoscrolls()
Gets the autoscrolls property. |
java.awt.Color |
getCellBackgroundNonSelectionColor(int row,
int column)
Returns the cell background non selection color at given row and column |
java.awt.Color |
getCellBackgroundSelectionColor(int row,
int column)
Returns the cell background selection color at given row and column |
java.awt.Color |
getCellBorderSelectionColor(int row,
int column)
Returns the cell border selection color at given row and column |
javax.swing.table.TableCellEditor |
getCellEditor()
Returns the cell editor |
javax.swing.table.TableCellEditor |
getCellEditor(int row,
int column)
Returns an appropriate editor for the cell specified by row and column. |
java.awt.Font |
getCellFont(int row,
int column)
Returns the cell font at given row and column |
javax.swing.Icon |
getCellIcon(int row,
int column)
Returns the cell icon at given row and column |
java.lang.String |
getCellIconPath(int row,
int column)
Returns the cell icon path at given row and column |
java.awt.Rectangle |
getCellRect(int row,
int column,
boolean includeSpacing)
Returns a rectangle for the cell that lies at the intersection of row and column. |
javax.swing.table.TableCellRenderer |
getCellRenderer(int row,
int column)
Returns an appropriate renderer for the cell specified by this row and column |
boolean |
getCellSelectionEnabled()
Returns true if both row and column selection models are enabled |
java.awt.Color |
getCellTextNonSelectionColor(int row,
int column)
Returns the cell text non selection color at given row and column |
java.awt.Color |
getCellTextSelectionColor(int row,
int column)
Returns the cell text selection color at given row and column |
javax.swing.table.TableColumn |
getColumn(int column)
Returns the TableColumn object for the column at column index |
javax.swing.table.TableColumn |
getColumn(java.lang.Object identifier)
Returns the TableColumn object for the column in the table whose identifier is equal to identifier, when compared using equals |
java.awt.Color |
getColumnBackgroundNonSelectionColor(int column)
Gets the deselected background color at column |
java.awt.Color |
getColumnBackgroundSelectionColor(int column)
Gets the selected background color at column |
java.awt.Color |
getColumnBorderSelectionColor(int column)
Gets the selected border color at column |
javax.swing.table.TableCellEditor |
getColumnCellEditor(int column)
Gets the cell editor at column |
javax.swing.table.TableCellRenderer |
getColumnCellRenderer(int column)
Gets the cell renderer at column |
java.lang.Class |
getColumnClass(int column)
Returns the type of the column appearing in the view at column position column |
int |
getColumnCount()
Returns the number of columns in the column model |
java.lang.Object[] |
getColumnData(int index)
Returns an array containing the column data at specified index |
java.lang.Boolean |
getColumnEditable(int column)
Gets the cell editable at column |
java.awt.Color |
getColumnFocusCellBackground(int column)
Gets the focus cell background at column |
java.awt.Color |
getColumnFocusCellForeground(int column)
Gets the focus cell foreground at column |
java.awt.Font |
getColumnFont(int column)
Gets the cell font at column |
java.awt.Color |
getColumnHeaderBackground()
Gets the background color of the column header |
java.awt.Font |
getColumnHeaderFont()
Gets the font of the column header |
java.awt.Color |
getColumnHeaderForeground()
Gets the foreground color of the column header |
int |
getColumnHeaderHeight()
Gets the column header height |
javax.swing.Icon |
getColumnIcon(int column)
Gets the icon at column |
java.lang.String |
getColumnIconPath(int column)
Gets the icon path at column |
int |
getColumnIndex(java.lang.Object identifier)
Returns the index of the first column in the tableColumns array whose identifier is equal to identifier, when compared using equals. |
int |
getColumnMargin()
Returns the width margin for TableColumn. |
javax.swing.table.TableColumnModel |
getColumnModel()
Returns the TableColumnModel that contains all column information of this table |
java.lang.String |
getColumnName(int column)
Returns the name of the column appearing in the view at column position column |
java.util.Vector |
getColumnNames()
Gets the column names in the data model |
java.util.Enumeration |
getColumns()
Returns an Enumeration of all the columns in the model. |
boolean |
getColumnSelectionAllowed()
Returns true if columns can be selected |
java.awt.Color |
getColumnTextNonSelectionColor(int column)
Gets the deselected text color at column |
java.awt.Color |
getColumnTextSelectionColor(int column)
Gets the selected text color at column |
java.util.Vector |
getData()
Gets the Vector of Vectors that contains the table's data values. |
java.awt.Color |
getDefaultBackgroundNonSelectionColor()
Gets the default deselected background color |
java.awt.Color |
getDefaultBackgroundSelectionColor()
Gets the default selected background color |
java.awt.Color |
getDefaultBorderSelectionColor()
Gets the default selected border color |
javax.swing.table.TableCellEditor |
getDefaultCellEditor()
Gets the default cell editor |
javax.swing.table.TableCellRenderer |
getDefaultCellRenderer()
Gets the default cell renderer |
java.lang.Boolean |
getDefaultEditable()
Gets the default cell editable |
javax.swing.table.TableCellEditor |
getDefaultEditor(java.lang.Class className)
Returns the editor to be used when no editor has been set in a TableColumn |
java.awt.Color |
getDefaultFocusCellBackground()
Gets the default focus cell background |
java.awt.Color |
getDefaultFocusCellForeground()
Gets the default focus cell foreground |
java.awt.Font |
getDefaultFont()
Gets the default cell font |
javax.swing.Icon |
getDefaultIcon()
Gets the default icon |
java.lang.String |
getDefaultIconPath()
Gets the default icon path |
javax.swing.table.TableCellRenderer |
getDefaultRenderer(java.lang.Class className)
Returns the cell renderer to be used when no renderer has been set in a TableColumn |
TableCellAttributes |
getDefaultTableAttributes()
Gets the default table cell attributes for each cell in the table, |
java.awt.Color |
getDefaultTextNonSelectionColor()
Gets the default deselected text color |
java.awt.Color |
getDefaultTextSelectionColor()
Gets the default selected text color |
int |
getEditingColumn()
Returns the index of the column that contains the cell currently being edited. |
int |
getEditingRow()
Returns the index of the row that contains the cell currently being edited. |
java.awt.Component |
getEditorComponent()
Returns the component that is handling the editing session |
java.awt.Color |
getFocusCellBackground(int row,
int column)
Returns the cell focus background color at given row and column |
java.awt.Color |
getFocusCellForeground(int row,
int column)
Returns the cell focus foreground color at given row and column |
java.awt.Color |
getGridColor()
Returns the color used to draw grid lines |
java.awt.Dimension |
getIntercellSpacing()
Returns the horizontal and vertical space between cells |
java.lang.String |
getLicenseKey()
Gets the license key |
java.util.Locale |
getLocale()
Returns the value of locale. |
javax.swing.table.TableModel |
getModel()
Returns the TableModel that provides the data displayed by this JTable |
TablePopupMenu |
getPopupMenu()
Returns the TablePopupMenu used by JFCTable. |
java.awt.Dimension |
getPreferredScrollableViewportSize()
Returns the preferred size of the viewport for this table |
java.awt.Dimension |
getPreferredSize()
Gets the preferred size of this component. |
java.awt.Color |
getRowBackgroundNonSelectionColor(int row)
Gets the deselected background color at row |
java.awt.Color |
getRowBackgroundSelectionColor(int row)
Gets the selected background color at row |
java.awt.Color |
getRowBorderSelectionColor(int row)
Gets the selected border color at row |
javax.swing.table.TableCellEditor |
getRowCellEditor(int row)
Gets the cell editor at row |
javax.swing.table.TableCellRenderer |
getRowCellRenderer(int row)
Gets the cell renderer at row |
int |
getRowCount()
Returns the number of rows in this table's model. |
java.lang.Object[] |
getRowData(int index)
Returns an array containing the row data at specified index |
java.lang.Boolean |
getRowEditable(int row)
Gets the cell editable at row |
java.awt.Color |
getRowFocusCellBackground(int row)
Gets the focus cell background at row |
java.awt.Color |
getRowFocusCellForeground(int row)
Gets the focus cell foreground at row |
java.awt.Font |
getRowFont(int row)
Gets the cell font at row |
java.awt.Color |
getRowHeaderBackground()
Gets the background color of the row header |
java.awt.Font |
getRowHeaderFont()
Gets the font of the row header |
java.awt.Color |
getRowHeaderForeground()
Gets the foreground color of the row header |
int |
getRowHeaderWidth()
Gets the row header height |
int |
getRowHeight()
Returns the height of a table row, in pixels |
int |
getRowHeight(int row)
Returns the height, in pixels, of the cells in row |
javax.swing.Icon |
getRowIcon(int row)
Gets the icon at row |
java.lang.String |
getRowIconPath(int row)
Gets the icon path at row |
int |
getRowMargin()
Gets the amount of empty space, in pixels, between cells |
boolean |
getRowSelectionAllowed()
Returns true if rows can be selected |
java.awt.Color |
getRowTextNonSelectionColor(int row)
Gets the deselected text color at row |
java.awt.Color |
getRowTextSelectionColor(int row)
Gets the selected text color at row |
int |
getScrollableBlockIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
Returns visibleRect.height or visibleRect.width, depending on this table's orientation |
boolean |
getScrollableTracksViewportHeight()
Returns false to indicate that the height of the viewport does not determine the height of the table |
boolean |
getScrollableTracksViewportWidth()
Returns false to indicate that the width of the viewport does not determine the width of the table |
int |
getScrollableUnitIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
Returns the scroll increment (in pixels) that completely exposes one new row or column (depending on the orientation) |
int |
getSearchMode()
Gets the table's search mode |
TableSearchPanel |
getSearchPanel()
Returns the search panel which is TableSearchPanel object |
java.awt.Color |
getSearchPanelBackground()
Gets the search panel background color. |
java.awt.Font |
getSearchPanelFont()
Sets the search panel font. |
java.awt.Color |
getSearchPanelForeground()
Gets the search panel foreground color. |
int |
getSearchPanelPlacement()
Gets the search panel placement |
java.lang.Object |
getSelectedCellObject()
Returns the object of the selected table cell |
int |
getSelectedColumn()
Returns the index of the first selected column, -1 if no column is selected |
int |
getSelectedColumnCount()
Returns the number of selected columns. |
int[] |
getSelectedColumns()
Returns the indices of all selected columns |
int |
getSelectedRow()
Returns the index of the first selected row, -1 if no row is selected. |
int |
getSelectedRowCount()
Returns the number of selected rows. |
int[] |
getSelectedRows()
Returns the indices of all selected rows |
TableCell |
getSelectedTableCell()
Gets the selected table cell |
java.awt.Color |
getSelectionBackground()
Returns the background color for selected cells |
java.awt.Color |
getSelectionForeground()
Returns the foreground color for selected cells |
int |
getSelectionMode()
Gets the current table selection mode |
javax.swing.ListSelectionModel |
getSelectionModel()
Returns the ListSelectionModel that is used to maintain row selection state |
boolean |
getShowHorizontalLines()
Returns true if the table draws horizontal lines between cells, false if it doesn't |
boolean |
getShowVerticalLines()
Returns true if the table draws vertical lines between cells, false if it doesn't. |
JFCTable |
getTable()
Returns the table which is JFCTable object |
TableCellAttributes |
getTableColumnAttributes(int column)
Gets the cell attributes at specified column of the table |
java.util.Hashtable |
getTableColumnsAttributes()
Gets the cell attributes at each column of the table |
javax.swing.table.JTableHeader |
getTableHeader()
Returns the tableHeader used by this JTable |
TableCellAttributes |
getTableRowAttributes(int row)
Gets the cell attributes at specified row of the table |
JTableRowHeader |
getTableRowHeader()
Returns the TableRowHeader used by JFCTable. |
java.util.Hashtable |
getTableRowsAttributes()
Gets the cell attributes at each row of the table |
java.lang.Object |
getValueAt(int row,
int column)
Returns the cell value at row and column |
int |
getVisibleFirstColumn()
Returns the first visible column index |
int |
getVisibleFirstRow()
Returns the first visible row index |
int |
getVisibleLastColumn()
Returns the last visible column index |
int |
getVisibleLastRow()
Returns the last visible row index |
void |
insertColumn(int column)
|
void |
insertColumn(int column,
java.lang.Object[] columnData)
|
void |
insertColumn(int column,
java.lang.String columnName)
|
void |
insertColumn(int column,
java.lang.String columnName,
java.lang.Object[] columnData)
Inserts a column to the model. |
void |
insertColumn(int column,
java.lang.String columnName,
java.util.Vector columnData)
Inserts a column to the model. |
void |
insertColumn(int column,
java.util.Vector columnData)
|
void |
insertColumn(javax.swing.table.TableColumn aColumn,
int column)
Inserts aColumn to the column index of the array of columns held by this JFCTable's column model. |
void |
insertRow(int row)
|
void |
insertRow(int row,
java.lang.Object[] rowData)
Inserts a row at specified index in the model. |
void |
insertRow(int row,
java.util.Vector rowData)
Inserts a row at specified index in the model. |
boolean |
isAddRowOnEnterKey()
Gets the enter key stroke's enability |
boolean |
isAdjustColumnOnClick()
Gets whether the column can be adjustable by clicking on it. |
boolean |
isAdjustRowOnClick()
Gets whether the row can be adjustable by clicking on it. |
boolean |
isCellEditable(int row,
int column)
Returns true if the cell at row and column is editable |
boolean |
isCellSelected(int row,
int column)
Returns true if the cell at the specified position is selected |
boolean |
isCellSelected(TableCell tableCell)
Returns true if the specified table cell is selected |
boolean |
isColumnCellsSelected(int column)
Returns true if the all column cells at the specified index is selected |
boolean |
isColumnHeaderVisible()
Gets the column header visibility |
boolean |
isColumnReorderingAllowed()
Gets whether the user is allowed to rearrange columns by dragging their column headers |
boolean |
isColumnResizingAllowed()
Gets whether the user is allowed to resize columns by dragging between their column headers |
boolean |
isColumnSelected(int column)
Returns true if the column at the specified index is selected |
boolean |
isEditing()
Returns true if a cell is being edited |
boolean |
isFocusTraversable()
We override this method, whose implementation in JComponent returns false, to return true |
boolean |
isInsertRowOnInsertKey()
Gets the insert key stroke's enability |
boolean |
isLightweight()
Returns whether this component has a lightweight peer, native peer or no peer. |
boolean |
isManagingFocus()
Gets tab traversal on/off once focus gained. |
boolean |
isPopupVisible()
Gets the popup menu visibility |
boolean |
isRemoveRowOnDeleteKey()
Gets the delete key stroke's enability |
boolean |
isRowCellsSelected(int row)
Returns true if the all row cells at the specified index is selected |
boolean |
isRowHeaderVisible()
Gets the row header visibility |
boolean |
isRowResizingAllowed()
Gets whether the user is allowed to resize rows by dragging between their row headers |
boolean |
isRowSelected(int row)
Returns true if the row at the specified index is selected |
boolean |
isSearchPanelVisible()
Gets the visibility of the search panel |
boolean |
isSortColumnOnClick()
Gets the enability to sort the column data by clicking the column header |
void |
moveColumn(int column,
int targetColumn)
Moves the column column to the position currently occupied by the column targetColumn in the view |
void |
moveRow(int startIndex,
int endIndex,
int toIndex)
Moves one or more rows starting at startIndex to endIndex in the model to the toIndex |
protected java.lang.String |
paramString()
Returns a string representation of this table. |
java.awt.Component |
prepareEditor(javax.swing.table.TableCellEditor editor,
int row,
int column)
Prepares the editor by querying the data model for the value and selection state of the cell at row, column |
java.awt.Component |
prepareRenderer(javax.swing.table.TableCellRenderer renderer,
int row,
int column)
Prepares the renderer by querying the data model for the value and selection state of the cell at row, column |
void |
readExternal(java.io.ObjectInput in)
Externalizable interface implementation to save and retrieve the state of this bean |
void |
removeColumn(int column)
Removes the column at column index from the model |
void |
removeColumn(java.lang.String columnName)
Removes the column columnName from the model |
void |
removeColumn(javax.swing.table.TableColumn aColumn)
Removes aColumn from this JTable's array of columns |
void |
removeColumnModelListener(javax.swing.event.TableColumnModelListener l)
Removes a listener for table column model events. |
void |
removeColumns(int[] colIndices)
Removes the columns at specified column indexes from the model |
void |
removeColumns(java.lang.String[] columnNames)
Removes the columns with specified column names from the model |
void |
removeColumnSelectionInterval(int index0,
int index1)
Deselects the columns from index0 to index1, inclusive |
void |
removeColumnSelectionListener(javax.swing.event.ListSelectionListener l)
Removes a listener from the list that's notified each time a change to the column selection occurs. |
void |
removeEditor()
Discards the editor object and frees the real estate it used for cell rendering |
void |
removeFocusListener(java.awt.event.FocusListener l)
Removes the specified focus listener so that it no longer receives focus events from this component. |
void |
removeKeyListener(java.awt.event.KeyListener l)
Removes the specified key listener so that it no longer receives key events from this component. |
void |
removeMouseListener(java.awt.event.MouseListener l)
Removes the specified mouse listener so that it no longer receives mouse events from this component. |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
Removes the specified mouse motion listener so that it no longer receives mouse motion events from this component. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list. |
void |
removeRow(int row)
Removes the row at specified index from the model |
void |
removeRows(int[] indices)
Removes the rows at specified indexes from the model |
void |
removeRowSelectionInterval(int index0,
int index1)
Deselects the rows from index0 to index1, inclusive |
void |
removeRowSelectionListener(javax.swing.event.ListSelectionListener l)
Removes a listener from the list that's notified each time a change to the row selection occurs. |
void |
removeSelectedColumns()
Removes the selected columns from the model |
void |
removeSelectedRows()
Removes the selected rows from the model. |
void |
removeTableModelListener(javax.swing.event.TableModelListener l)
Removes a listener from the list that's notified each time a change to the data model occurs |
int |
rowAtPoint(java.awt.Point point)
Returns the index of the row that point lies in, or -1 if the result is not in the range [0, getRowCount()-1]. |
void |
scrollCellToVisible(int row,
int column)
Scrolls the table to visible the cell at specified row and column. |
void |
scrollCellToVisible(TableCell tableCell)
Scrolls the table to visible the specified table cell. |
void |
scrollColumnToVisible(int column)
Scrolls the table to visible the column at specified column index. |
void |
scrollRowToVisible(int row)
Scrolls the table to visible the row at specified row index. |
TableCell |
searchTableCell(java.lang.Object value)
|
TableCell |
searchTableCell(java.lang.Object value,
int nColumn)
Searches the table cell by given object at specified column index returns null, if not found |
TableCell |
searchTableCell(java.lang.Object value,
int[] nColumns)
Searches the table cell by given object at one of the specified column indexes returns null, if not found |
TableCell |
searchTableCell(java.lang.String sCell,
int[] nSearchColumns,
int nCompareMode,
boolean bCaseSensitive)
|
TableCell |
searchTableCell(java.lang.String sCell,
int[] nSearchColumns,
int nSearchMode,
int nCompareMode,
boolean bCaseSensitive)
Seraches the table cell by specifying cell string, and search options. |
TableCell |
searchTableCell(java.lang.String sCell,
int nSearchColumn,
int nCompareMode,
boolean bCaseSensitive)
|
TableCell |
searchTableCell(java.lang.String sCell,
int nSearchColumn,
int nSearchMode,
int nCompareMode,
boolean bCaseSensitive)
Seraches the table cell by specifying cell string, and search options. |
void |
selectAll()
Selects all rows, columns, and cells in the table |
void |
selectColumnCells(int column)
Selects the all column cells at specified column index |
void |
selectRowCells(int row)
Selects the all row cells at specified row index |
void |
setAddRowOnEnterKey(boolean b)
Sets the enter key stroke's enability to add the row at last index in the data model |
void |
setAdjustColumnOnClick(boolean b)
Sets whether the column can be adjustable by clicking on it. |
void |
setAdjustRowOnClick(boolean b)
Sets whether the row can be adjustable by clicking on it. |
void |
setAutoCreateColumnsFromModel(boolean b)
Sets this table's autoCreateColumnsFromModel flag |
void |
setAutoResizeMode(int nMode)
Sets the table's auto resize mode when the table is resized |
void |
setAutoscrolls(boolean b)
Sets whether this component will automatically scroll its contents when dragged, if contained in a component that supports scrolling |
void |
setBackground(java.awt.Color c)
Sets the Background color. |
void |
setBorder(javax.swing.border.Border b)
Sets the border of this component. |
void |
setBounds(int x,
int y,
int width,
int height)
Moves and resizes this bean. |
void |
setCellEditor(javax.swing.table.TableCellEditor anEditor)
Sets the cellEditor variable |
void |
setCellSelectionEnabled(boolean b)
Sets whether this table allows both a column selection and a row selection to exist simultaneously |
void |
setColumnBackgroundNonSelectionColor(java.awt.Color color,
int column)
Sets the deselected background color at column |
void |
setColumnBackgroundSelectionColor(java.awt.Color color,
int column)
Sets the selected background color at column |
void |
setColumnBorderSelectionColor(java.awt.Color color,
int column)
Sets the selected border color at column |
void |
setColumnCellEditor(javax.swing.table.TableCellEditor editor,
int column)
Sets the cell editor at column |
void |
setColumnCellRenderer(javax.swing.table.TableCellRenderer renderer,
int column)
Sets the cell renderer at column |
void |
setColumnCount(int n)
Sets the number of columns in the model. |
void |
setColumnEditable(java.lang.Boolean editable,
int column)
Sets the cell editable at column |
void |
setColumnFocusCellBackground(java.awt.Color color,
int column)
Sets the focus cell background at column |
void |
setColumnFocusCellForeground(java.awt.Color color,
int column)
Sets the focus cell foreground at column |
void |
setColumnFont(java.awt.Font font,
int column)
Sets the cell font at column |
void |
setColumnHeaderBackground(java.awt.Color color)
Sets the background color of the column header |
void |
setColumnHeaderFont(java.awt.Font font)
Sets the font of the column header |
void |
setColumnHeaderForeground(java.awt.Color color)
Sets the foreground color of the column header |
void |
setColumnHeaderHeight(int n)
Sets the column header height |
void |
setColumnHeaderVisible(boolean b)
Sets the column header visibility |
void |
setColumnIcon(javax.swing.Icon icon,
int column)
Sets the icon at column |
void |
setColumnIconPath(java.lang.String path,
int column)
Sets the icon path at column |
void |
setColumnMargin(int n)
Sets the column margin for TableColumn. |
void |
setColumnModel(javax.swing.table.TableColumnModel columnModel)
Sets the column model for this table to newModel and registers for listener notifications from the new column model |
void |
setColumnName(java.lang.String name,
int column)
Sets the name of the column appearing in the view at column position column. |
void |
setColumnNames(java.util.Vector columnNames)
Sets the column names in the data model. |
void |
setColumnReorderingAllowed(boolean b)
Sets whether the user can drag column headers to reorder columns |
void |
setColumnResizingAllowed(boolean b)
Sets whether the user can resize columns by dragging between column headers. |
void |
setColumnSelectionAllowed(boolean b)
Sets whether the columns in this model can be selected |
void |
setColumnSelectionInterval(int index0,
int index1)
Selects the columns from index0 to index1, inclusive |
void |
setColumnTextNonSelectionColor(java.awt.Color color,
int column)
Sets the deselected text color at column |
void |
setColumnTextSelectionColor(java.awt.Color color,
int column)
Sets the selected text color at column |
void |
setColumnWidth(int width)
|
void |
setColumnWidth(int column,
int width)
|
void |
setCursor(java.awt.Cursor c)
Sets value of the cursor. |
void |
setData(java.util.Vector dataVector)
Sets the current dataVector instance variable with the new Vector of rows, newData. |
void |
setDefaultBackgroundNonSelectionColor(java.awt.Color color)
Sets the default deselected background color |
void |
setDefaultBackgroundSelectionColor(java.awt.Color color)
Sets the default selected background color |
void |
setDefaultBorderSelectionColor(java.awt.Color color)
Sets the default selected border color |
void |
setDefaultCellEditor(javax.swing.table.TableCellEditor editor)
Sets the default cell editor |
void |
setDefaultCellRenderer(javax.swing.table.TableCellRenderer renderer)
Sets the default cell renderer |
void |
setDefaultEditable(java.lang.Boolean editable)
Sets the default cell editable |
void |
setDefaultEditor(java.lang.Class columnClass,
javax.swing.table.TableCellEditor editor)
Sets a default cell editor to be used if no editor has been set in a TableColumn |
void |
setDefaultFocusCellBackground(java.awt.Color color)
Sets the default focus cell background |
void |
setDefaultFocusCellForeground(java.awt.Color color)
Sets the default focus cell foreground |
void |
setDefaultFont(java.awt.Font font)
Sets the default cell font |
void |
setDefaultIcon(javax.swing.Icon icon)
Sets default the icon |
void |
setDefaultIconPath(java.lang.String path)
Sets the default icon path |
void |
setDefaultRenderer(java.lang.Class columnClass,
javax.swing.table.TableCellRenderer renderer)
Sets a default cell renderer to be used if no renderer has been set in a TableColumn |
void |
setDefaultTableAttributes(TableCellAttributes tableAttributes)
Sets the default table cell attributes for each cell in the table, it can be applicable if the row cell attributes and column cell attributes are not set. |
void |
setDefaultTextNonSelectionColor(java.awt.Color color)
Sets the default deselected text color |
void |
setDefaultTextSelectionColor(java.awt.Color color)
Sets the deafult selected text color |
void |
setDoubleBuffered(boolean b)
Sets whether the receiving component should use a buffer to paint. |
void |
setEditingColumn(int nIndex)
Sets the editingColumn variable |
void |
setEditingRow(int nIndex)
Sets the editingRow variable |
void |
setEnabled(boolean b)
sets Enablity. |
void |
setFont(java.awt.Font f)
Sets the font. |
void |
setForeground(java.awt.Color c)
Sets the Foreground color. |
void |
setGridColor(java.awt.Color color)
Sets the color used to draw grid lines to gridColor and redisplays |
void |
setInsertRowOnInsertKey(boolean b)
Sets the insert key stroke's enability to insert the row in the data model |
void |
setIntercellSpacing(java.awt.Dimension d)
Sets the rowMargin and the columnMargin -- the height and width of the space between cells -- to intercellSpacing |
void |
setLayout(java.awt.LayoutManager mgr)
Sets the layout manager for this component. |
void |
setLicenseKey(java.lang.String key)
Sets the license key |
void |
setLightweight(boolean b)
Sets whether this component has a lightweight peer, native peer or no peer. |
void |
setLocale(java.util.Locale l)
Sets value of the locale. |
void |
setManagingFocus(boolean b)
Sets tab traversal on/off once focus gained. |
void |
setModel(javax.swing.table.TableModel dataModel)
Sets the data model for this table to newModel and registers with it for listener notifications from the new data model |
void |
setOpaque(boolean b)
Sets whether this component paints every pixel within its bounds. |
void |
setPopupMenu(TablePopupMenu popupMenu)
Sets the TablePopupMenu working with JFCTable to newHeader. |
void |
setPopupVisible(boolean b)
Sets the popup menu visibility |
void |
setPreferredScrollableViewportSize(java.awt.Dimension size)
|
void |
setRemoveRowOnDeleteKey(boolean b)
Sets the delete key stroke's enability to remove the row from the data model |
void |
setRequestFocusEnabled(boolean b)
Sets whether the receiving component can obtain the focus by calling requestFocus. |
void |
setRowBackgroundNonSelectionColor(java.awt.Color color,
int row)
Sets the deselected background color at row |
void |
setRowBackgroundSelectionColor(java.awt.Color color,
int row)
Sets the selected background color at row |
void |
setRowBorderSelectionColor(java.awt.Color color,
int row)
Sets the selected border color at row |
void |
setRowCellEditor(javax.swing.table.TableCellEditor editor,
int row)
Sets the cell editor at row |
void |
setRowCellRenderer(javax.swing.table.TableCellRenderer renderer,
int row)
Sets the cell renderer at row |
void |
setRowCount(int n)
|
void |
setRowEditable(java.lang.Boolean editable,
int row)
Sets the cell editable at row |
void |
setRowFocusCellBackground(java.awt.Color color,
int row)
Sets the focus cell background at row |
void |
setRowFocusCellForeground(java.awt.Color color,
int row)
Sets the focus cell foreground at row |
void |
setRowFont(java.awt.Font font,
int row)
Sets the cell font at row |
void |
setRowHeaderBackground(java.awt.Color color)
Sets the background color of the row header |
void |
setRowHeaderFont(java.awt.Font font)
Sets the font of the row header |
void |
setRowHeaderForeground(java.awt.Color color)
Sets the foreground color of the row header |
void |
setRowHeaderVisible(boolean b)
Sets the row header visibility |
void |
setRowHeaderWidth(int n)
Sets the row header height |
void |
setRowHeight(int nHeight)
Sets the height, in pixels, of all cells to rowHeight, revalidates, and repaints |
void |
setRowHeight(int row,
int rowHeight)
Sets the height for row to rowHeight, revalidates, and repaints |
void |
setRowIcon(javax.swing.Icon icon,
int row)
Sets the icon at row |
void |
setRowIconPath(java.lang.String path,
int row)
Sets the icon path at row |
void |
setRowMargin(int nMargin)
Sets the amount of empty space between cells in adjacent rows |
void |
setRowResizingAllowed(boolean b)
Sets whether the user can resize rows by dragging between row headers. |
void |
setRowSelectionAllowed(boolean bAllow)
Sets whether the rows in this model can be selected |
void |
setRowSelectionInterval(int index0,
int index1)
Selects the rows from index0 to index1, inclusive |
void |
setRowTextNonSelectionColor(java.awt.Color color,
int row)
Sets the deselected text color at row |
void |
setRowTextSelectionColor(java.awt.Color color,
int row)
Sets the selected text color at row |
void |
setSearchMode(int n)
Sets the table's search mode to allow search from first cell, from last cell, from selected cell to down or from selected cell to up. |
void |
setSearchPanelBackground(java.awt.Color c)
Sets the search panel background color. |
void |
setSearchPanelFont(java.awt.Font f)
Sets the search panel font. |
void |
setSearchPanelForeground(java.awt.Color c)
Sets the search panel foreground color. |
void |
setSearchPanelPlacement(int n)
Sets the search panel placement |
void |
setSearchPanelVisible(boolean b)
Sets the visibility of the search panel |
void |
setSelectedCellObject(java.lang.Object value)
|
void |
setSelectedCellObject(java.lang.Object value,
int nColumn)
Sets the table cell to be selected with given object at specified column index |
void |
setSelectedCellObject(java.lang.Object value,
int[] nColumns)
Sets the table cell to be selected with given object at one of the specified column indexes |
void |
setSelectedColumn(int n)
Sets the column to be selected at given column index |
void |
setSelectedColumns(int[] nArray)
Sets the columns to be selected at given indexes |
void |
setSelectedRow(int n)
Sets the row to be selected at given row index |
void |
setSelectedRows(int[] nArray)
Sets the rows to be selected at given row indexes |
void |
setSelectedTableCell(TableCell tableCell)
Sets the table cell to be selected |
void |
setSelectionBackground(java.awt.Color c)
Sets the background color for selected cells |
void |
setSelectionForeground(java.awt.Color c)
Sets the foreground color for selected cells |
void |
setSelectionMode(int selectionMode)
Sets the table's selection mode to allow only single selections, a single contiguous interval, or multiple intervals |
void |
setSelectionModel(javax.swing.ListSelectionModel newModel)
Sets the row selection model for this table to newModel and registers for listener notifications from the new selection model |
void |
setShowGrid(boolean showGrid)
Sets whether the table draws grid lines around cells |
void |
setShowHorizontalLines(boolean bShow)
Sets whether the table draws horizontal lines between cells |
void |
setShowVerticalLines(boolean bShow)
Sets whether the table draws vertical lines between cells |
void |
setSortColumnOnClick(boolean b)
Sets the enability to sort the column data by clicking the column header |
void |
setTableColumnAttributes(TableCellAttributes columnAttributes,
int column)
Sets the cell attributes at specified column of the table |
void |
setTableColumnsAttributes(java.util.Hashtable attributesTable)
Sets the cell attributes at each column of the table, It can be applicable if the row attributes are not set. |
void |
setTableHeader(javax.swing.table.JTableHeader tableHeader)
Sets the tableHeader working with this JTable to newHeader |
void |
setTableRowAttributes(TableCellAttributes rowAttributes,
int row)
Sets the cell attributes at specified row of the table |
void |
setTableRowHeader(JTableRowHeader tableRowHeader)
Sets the TableRowHeader working with JFCTable to newHeader. |
void |
setTableRowsAttributes(java.util.Hashtable attributesTable)
Sets the cell attributes at each row of the table, It has the maximum priority. |
void |
setToolTipText(java.lang.String s)
Sets the text to display in a tool tip. |
void |
setValueAt(java.lang.Object aValue,
int row,
int column)
Sets the value for the cell in the table model at row and column |
void |
setVisible(boolean b)
sets Visiblity. |
void |
sizeColumnsToFit(boolean lastColumnOnly)
Resizes the table columns to fit the available space |
void |
sizeColumnsToFit(int resizingColumn)
Resizes one or more of the columns in the table so that the total width of all of this JTable's columns is equal to the width of the table |
void |
sortColumn(int index)
Sorts the column data at specified index Sorting criteria (ascending or descending) is determined by x-or logic (ascending-descending-ascending-descending....) |
void |
sortColumn(int index,
boolean flag)
Sorts the column data at specified index |
void |
sortColumns(int[] indices)
Sorts the columns data at specified indices Sorting criteria (ascending or descending) is determined by x-or logic (ascending-descending-ascending-descending....) |
void |
sortColumns(int[] indices,
boolean[] flags)
Sorts the columns data at specified indices |
void |
tableChanged(javax.swing.event.TableModelEvent e)
Invoked when this table's TableModel generates a TableModelEvent |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Invoked when the row selection changes -- repaints to show the new selection |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setDebugGraphicsOptions, setDefaultLocale, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setPreferredSize, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SINGLE_SELECTION
public static final int SINGLE_INTERVAL_SELECTION
public static final int MULTIPLE_INTERVAL_SELECTION
public static final int AUTO_RESIZE_ALL_COLUMNS
public static final int AUTO_RESIZE_LAST_COLUMN
public static final int AUTO_RESIZE_NEXT_COLUMN
public static final int AUTO_RESIZE_SUBSEQUENT_COLUMNS
public static final int AUTO_RESIZE_OFF
public static final int SEARCH_FROM_FIRST_CELL
public static final int SEARCH_FROM_LAST_CELL
public static final int SEARCH_FROM_SELECTED_CELL_TO_DOWN
public static final int SEARCH_FROM_SELECTED_CELL_TO_UP
public static final int COMPARE_STARTS_WITH
public static final int COMPARE_ENDS_WITH
public static final int COMPARE_CONTAINS
public static final int COMPARE_EQUALS
protected transient JFCTable m_jfcTable
| Constructor Detail |
public JFCTablePanel()
public JFCTablePanel(javax.swing.table.TableModel dm)
public JFCTablePanel(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm)
public JFCTablePanel(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm)
public JFCTablePanel(int rows,
int columns)
public JFCTablePanel(java.lang.Object[][] rowData,
java.lang.Object[] columnNames)
public JFCTablePanel(java.util.Vector rowData,
java.util.Vector columnNames)
| Method Detail |
protected JFCTable createJFCTable()
protected JFCTable createJFCTable(int rows,
int columns)
protected JFCTable createJFCTable(java.lang.Object[][] rowData,
java.lang.Object[] columnNames)
protected JFCTable createJFCTable(java.util.Vector rowData,
java.util.Vector columnNames)
protected JFCTable createJFCTable(javax.swing.table.TableModel dm)
protected JFCTable createJFCTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm)
protected JFCTable createJFCTable(javax.swing.table.TableModel dm,
javax.swing.table.TableColumnModel cm,
javax.swing.ListSelectionModel sm)
public JFCTable getTable()
public TableSearchPanel getSearchPanel()
public void setSearchPanelPlacement(int n)
n - one of the constants : SwingConstants.TOP, SwingConstants.LEFT,
SwingConstants.BOTTOM, SwingConstants.RIGHTpublic int getSearchPanelPlacement()
public void setSearchPanelVisible(boolean b)
b - the visibility of the search panelpublic boolean isSearchPanelVisible()
public void setSearchPanelForeground(java.awt.Color c)
c - the search panel foreground color.public java.awt.Color getSearchPanelForeground()
public void setSearchPanelBackground(java.awt.Color c)
c - the search panel background color.public java.awt.Color getSearchPanelBackground()
public void setSearchPanelFont(java.awt.Font f)
public java.awt.Font getSearchPanelFont()
public void setLicenseKey(java.lang.String key)
public java.lang.String getLicenseKey()
public void setTableRowHeader(JTableRowHeader tableRowHeader)
public JTableRowHeader getTableRowHeader()
public void setPopupMenu(TablePopupMenu popupMenu)
public TablePopupMenu getPopupMenu()
public void setPopupVisible(boolean b)
public boolean isPopupVisible()
public void setDefaultTableAttributes(TableCellAttributes tableAttributes)
public TableCellAttributes getDefaultTableAttributes()
public void setDefaultTextSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultTextSelectionColor()
public void setDefaultTextNonSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultTextNonSelectionColor()
public void setDefaultBackgroundSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBackgroundSelectionColor()
public void setDefaultBackgroundNonSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBackgroundNonSelectionColor()
public void setDefaultBorderSelectionColor(java.awt.Color color)
public java.awt.Color getDefaultBorderSelectionColor()
public void setDefaultFocusCellBackground(java.awt.Color color)
public java.awt.Color getDefaultFocusCellBackground()
public void setDefaultFocusCellForeground(java.awt.Color color)
public java.awt.Color getDefaultFocusCellForeground()
public void setDefaultFont(java.awt.Font font)
public java.awt.Font getDefaultFont()
public void setDefaultIcon(javax.swing.Icon icon)
public javax.swing.Icon getDefaultIcon()
public void setDefaultIconPath(java.lang.String path)
public java.lang.String getDefaultIconPath()
public void setDefaultCellRenderer(javax.swing.table.TableCellRenderer renderer)
public javax.swing.table.TableCellRenderer getDefaultCellRenderer()
public void setDefaultCellEditor(javax.swing.table.TableCellEditor editor)
public javax.swing.table.TableCellEditor getDefaultCellEditor()
public void setDefaultEditable(java.lang.Boolean editable)
public java.lang.Boolean getDefaultEditable()
public void setTableColumnsAttributes(java.util.Hashtable attributesTable)
public java.util.Hashtable getTableColumnsAttributes()
public void clearTableColumnsAttributes()
public void setTableColumnAttributes(TableCellAttributes columnAttributes,
int column)
public TableCellAttributes getTableColumnAttributes(int column)
public void setColumnTextSelectionColor(java.awt.Color color,
int column)
public java.awt.Color getColumnTextSelectionColor(int column)
public void setColumnTextNonSelectionColor(java.awt.Color color,
int column)
public java.awt.Color getColumnTextNonSelectionColor(int column)
public void setColumnBackgroundSelectionColor(java.awt.Color color,
int column)
public java.awt.Color getColumnBackgroundSelectionColor(int column)
public void setColumnBackgroundNonSelectionColor(java.awt.Color color,
int column)
public java.awt.Color getColumnBackgroundNonSelectionColor(int column)
public void setColumnBorderSelectionColor(java.awt.Color color,
int column)
public java.awt.Color getColumnBorderSelectionColor(int column)
public void setColumnFocusCellBackground(java.awt.Color color,
int column)
public java.awt.Color getColumnFocusCellBackground(int column)
public void setColumnFocusCellForeground(java.awt.Color color,
int column)
public java.awt.Color getColumnFocusCellForeground(int column)
public void setColumnFont(java.awt.Font font,
int column)
public java.awt.Font getColumnFont(int column)
public void setColumnIcon(javax.swing.Icon icon,
int column)
public javax.swing.Icon getColumnIcon(int column)
public void setColumnIconPath(java.lang.String path,
int column)
public java.lang.String getColumnIconPath(int column)
public void setColumnCellRenderer(javax.swing.table.TableCellRenderer renderer,
int column)
public javax.swing.table.TableCellRenderer getColumnCellRenderer(int column)
public void setColumnCellEditor(javax.swing.table.TableCellEditor editor,
int column)
public javax.swing.table.TableCellEditor getColumnCellEditor(int column)
public void setColumnEditable(java.lang.Boolean editable,
int column)
public java.lang.Boolean getColumnEditable(int column)
public void setTableRowsAttributes(java.util.Hashtable attributesTable)
public java.util.Hashtable getTableRowsAttributes()
public void setTableRowAttributes(TableCellAttributes rowAttributes,
int row)
public TableCellAttributes getTableRowAttributes(int row)
public void clearTableRowsAttributes()
public void setRowTextSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowTextSelectionColor(int row)
public void setRowTextNonSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowTextNonSelectionColor(int row)
public void setRowBackgroundSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBackgroundSelectionColor(int row)
public void setRowBackgroundNonSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBackgroundNonSelectionColor(int row)
public void setRowBorderSelectionColor(java.awt.Color color,
int row)
public java.awt.Color getRowBorderSelectionColor(int row)
public void setRowFocusCellBackground(java.awt.Color color,
int row)
public java.awt.Color getRowFocusCellBackground(int row)
public void setRowFocusCellForeground(java.awt.Color color,
int row)
public java.awt.Color getRowFocusCellForeground(int row)
public void setRowFont(java.awt.Font font,
int row)
public java.awt.Font getRowFont(int row)
public void setRowIcon(javax.swing.Icon icon,
int row)
public javax.swing.Icon getRowIcon(int row)
public void setRowIconPath(java.lang.String path,
int row)
public java.lang.String getRowIconPath(int row)
public void setRowCellRenderer(javax.swing.table.TableCellRenderer renderer,
int row)
public javax.swing.table.TableCellRenderer getRowCellRenderer(int row)
public void setRowCellEditor(javax.swing.table.TableCellEditor editor,
int row)
public javax.swing.table.TableCellEditor getRowCellEditor(int row)
public void setRowEditable(java.lang.Boolean editable,
int row)
public java.lang.Boolean getRowEditable(int row)
public java.awt.Color getCellBackgroundSelectionColor(int row,
int column)
public java.awt.Color getCellBackgroundNonSelectionColor(int row,
int column)
public java.awt.Color getCellTextSelectionColor(int row,
int column)
public java.awt.Color getCellTextNonSelectionColor(int row,
int column)
public java.awt.Color getCellBorderSelectionColor(int row,
int column)
public java.awt.Color getFocusCellBackground(int row,
int column)
public java.awt.Color getFocusCellForeground(int row,
int column)
public java.awt.Font getCellFont(int row,
int column)
public javax.swing.Icon getCellIcon(int row,
int column)
public java.lang.String getCellIconPath(int row,
int column)
public void addRowSelectionListener(javax.swing.event.ListSelectionListener l)
public void removeRowSelectionListener(javax.swing.event.ListSelectionListener l)
public void setSelectedColumn(int n)
public void setSelectedColumns(int[] nArray)
public void setSelectedRow(int n)
public void setSelectedRows(int[] nArray)
public int getSelectionMode()
public void setColumnName(java.lang.String name,
int column)
public void setColumnNames(java.util.Vector columnNames)
public java.util.Vector getColumnNames()
public void setData(java.util.Vector dataVector)
public java.util.Vector getData()
public void setAddRowOnEnterKey(boolean b)
public boolean isAddRowOnEnterKey()
public void setRemoveRowOnDeleteKey(boolean b)
public boolean isRemoveRowOnDeleteKey()
public void setInsertRowOnInsertKey(boolean b)
public boolean isInsertRowOnInsertKey()
public void setSortColumnOnClick(boolean b)
public boolean isSortColumnOnClick()
public void setSearchMode(int n)
public int getSearchMode()
public void setManagingFocus(boolean b)
public java.lang.Object[] getColumnData(int index)
public java.lang.Object[] getRowData(int index)
public void sortColumn(int index)
public void sortColumn(int index,
boolean flag)
public void sortColumns(int[] indices)
public void sortColumns(int[] indices,
boolean[] flags)
public TableCell searchTableCell(java.lang.String sCell,
int nSearchColumn,
int nCompareMode,
boolean bCaseSensitive)
public TableCell searchTableCell(java.lang.String sCell,
int nSearchColumn,
int nSearchMode,
int nCompareMode,
boolean bCaseSensitive)
public TableCell searchTableCell(java.lang.String sCell,
int[] nSearchColumns,
int nCompareMode,
boolean bCaseSensitive)
public TableCell searchTableCell(java.lang.String sCell,
int[] nSearchColumns,
int nSearchMode,
int nCompareMode,
boolean bCaseSensitive)
public TableCell searchTableCell(java.lang.Object value)
public TableCell searchTableCell(java.lang.Object value,
int nColumn)
public TableCell searchTableCell(java.lang.Object value,
int[] nColumns)
public void setSelectedTableCell(TableCell tableCell)
public TableCell getSelectedTableCell()
public void setSelectedCellObject(java.lang.Object value)
public void setSelectedCellObject(java.lang.Object value,
int nColumn)
public void setSelectedCellObject(java.lang.Object value,
int[] nColumns)
public java.lang.Object getSelectedCellObject()
public void setColumnWidth(int width)
public void setColumnWidth(int column,
int width)
public boolean editTableCell(TableCell tableCell)
public boolean editTableCell(TableCell tableCell,
java.util.EventObject e)
public boolean isCellSelected(TableCell tableCell)
public TableCell cellAtPoint(java.awt.Point point)
public void selectColumnCells(int column)
public boolean isColumnCellsSelected(int column)
public void selectRowCells(int row)
public boolean isRowCellsSelected(int row)
public void scrollColumnToVisible(int column)
public void scrollRowToVisible(int row)
public void scrollCellToVisible(int row,
int column)
public void scrollCellToVisible(TableCell tableCell)
public int getVisibleFirstColumn()
public int getVisibleLastColumn()
public int getVisibleFirstRow()
public int getVisibleLastRow()
public static java.lang.Object[] convertToArray(java.util.Vector theVector)
public static java.util.Vector convertToVector(java.lang.Object[] anArray)
public static java.lang.Object[][] convertAttributesTableToArray(java.util.Hashtable attributesTable)
public static java.util.Hashtable convertAttributesArrayToTable(java.lang.Object[][] attributesArray)
public void setColumnMargin(int n)
public int getColumnMargin()
public void addColumnSelectionListener(javax.swing.event.ListSelectionListener l)
public void removeColumnSelectionListener(javax.swing.event.ListSelectionListener l)
public void addColumnModelListener(javax.swing.event.TableColumnModelListener l)
public void removeColumnModelListener(javax.swing.event.TableColumnModelListener l)
public void insertColumn(javax.swing.table.TableColumn aColumn,
int column)
public java.util.Enumeration getColumns()
public javax.swing.table.TableColumn getColumn(int column)
public int getColumnIndex(java.lang.Object identifier)
public void setAdjustColumnOnClick(boolean b)
public boolean isAdjustColumnOnClick()
public void setColumnReorderingAllowed(boolean b)
public boolean isColumnReorderingAllowed()
public void setColumnResizingAllowed(boolean b)
public boolean isColumnResizingAllowed()
public void setColumnHeaderBackground(java.awt.Color color)
public java.awt.Color getColumnHeaderBackground()
public void setColumnHeaderForeground(java.awt.Color color)
public java.awt.Color getColumnHeaderForeground()
public void setColumnHeaderFont(java.awt.Font font)
public java.awt.Font getColumnHeaderFont()
public void setColumnHeaderHeight(int n)
public int getColumnHeaderHeight()
public void setColumnHeaderVisible(boolean b)
public boolean isColumnHeaderVisible()
public void setAdjustRowOnClick(boolean b)
public boolean isAdjustRowOnClick()
public void setRowResizingAllowed(boolean b)
public boolean isRowResizingAllowed()
public void setRowHeaderBackground(java.awt.Color color)
public java.awt.Color getRowHeaderBackground()
public void setRowHeaderForeground(java.awt.Color color)
public java.awt.Color getRowHeaderForeground()
public void setRowHeaderFont(java.awt.Font font)
public java.awt.Font getRowHeaderFont()
public void setRowHeaderWidth(int n)
public int getRowHeaderWidth()
public void setRowHeaderVisible(boolean b)
public boolean isRowHeaderVisible()
public void setColumnCount(int n)
public void setRowCount(int n)
public void addColumnAboveSelection()
public void addColumn()
public void addColumn(java.lang.String columnName)
public void addColumn(java.lang.Object[] columnData)
public void addColumn(java.util.Vector columnData)
public void addColumn(java.lang.String columnName,
java.lang.Object[] columnData)
public void addColumn(java.lang.String columnName,
java.util.Vector columnData)
public void insertColumn(int column)
public void insertColumn(int column,
java.lang.Object[] columnData)
public void insertColumn(int column,
java.util.Vector columnData)
public void insertColumn(int column,
java.lang.String columnName)
public void insertColumn(int column,
java.lang.String columnName,
java.lang.Object[] columnData)
public void insertColumn(int column,
java.lang.String columnName,
java.util.Vector columnData)
public void removeSelectedColumns()
public void removeColumn(int column)
public void removeColumn(java.lang.String columnName)
public void removeColumns(int[] colIndices)
public void removeColumns(java.lang.String[] columnNames)
public void addRowAboveSelection()
public void addRow()
public void addRow(java.lang.Object[] rowData)
public void addRow(java.util.Vector rowData)
public void insertRow(int row)
public void insertRow(int row,
java.lang.Object[] rowData)
public void insertRow(int row,
java.util.Vector rowData)
public void removeSelectedRows()
public void removeRow(int row)
public void removeRows(int[] indices)
public void moveRow(int startIndex,
int endIndex,
int toIndex)
public void addTableModelListener(javax.swing.event.TableModelListener l)
public void removeTableModelListener(javax.swing.event.TableModelListener l)
public void addColumn(javax.swing.table.TableColumn column)
public void addColumnSelectionInterval(int index0,
int index1)
public void addRowSelectionInterval(int index0,
int index1)
public void changeSelection(int rowIndex,
int columnIndex,
boolean toggle,
boolean extend)
public void clearSelection()
public void columnAdded(javax.swing.event.TableColumnModelEvent e)
public int columnAtPoint(java.awt.Point point)
public void columnMarginChanged(javax.swing.event.ChangeEvent e)
public void columnMoved(javax.swing.event.TableColumnModelEvent e)
public void columnRemoved(javax.swing.event.TableColumnModelEvent e)
public void columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
public int convertColumnIndexToModel(int viewColumnIndex)
public int convertColumnIndexToView(int modelColumnIndex)
public void createDefaultColumnsFromModel()
public boolean editCellAt(int row,
int column)
public boolean editCellAt(int row,
int column,
java.util.EventObject e)
public void editingCanceled(javax.swing.event.ChangeEvent e)
public void editingStopped(javax.swing.event.ChangeEvent e)
public boolean getAutoCreateColumnsFromModel()
public int getAutoResizeMode()
public javax.swing.table.TableCellEditor getCellEditor()
public javax.swing.table.TableCellEditor getCellEditor(int row,
int column)
public java.awt.Rectangle getCellRect(int row,
int column,
boolean includeSpacing)
public javax.swing.table.TableCellRenderer getCellRenderer(int row,
int column)
public boolean getCellSelectionEnabled()
public javax.swing.table.TableColumn getColumn(java.lang.Object identifier)
public java.lang.Class getColumnClass(int column)
public int getColumnCount()
public javax.swing.table.TableColumnModel getColumnModel()
public java.lang.String getColumnName(int column)
public boolean getColumnSelectionAllowed()
public javax.swing.table.TableCellEditor getDefaultEditor(java.lang.Class className)
public javax.swing.table.TableCellRenderer getDefaultRenderer(java.lang.Class className)
public int getEditingColumn()
public int getEditingRow()
public java.awt.Component getEditorComponent()
public java.awt.Color getGridColor()
public java.awt.Dimension getIntercellSpacing()
public javax.swing.table.TableModel getModel()
public java.awt.Dimension getPreferredScrollableViewportSize()
public int getRowCount()
public int getRowHeight()
public int getRowHeight(int row)
public int getRowMargin()
public boolean getRowSelectionAllowed()
public int getScrollableBlockIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
public boolean getScrollableTracksViewportHeight()
public boolean getScrollableTracksViewportWidth()
public int getScrollableUnitIncrement(java.awt.Rectangle visibleRect,
int orientation,
int direction)
public int getSelectedColumn()
public int getSelectedColumnCount()
public int[] getSelectedColumns()
public int getSelectedRow()
public int getSelectedRowCount()
public int[] getSelectedRows()
public java.awt.Color getSelectionBackground()
public java.awt.Color getSelectionForeground()
public javax.swing.ListSelectionModel getSelectionModel()
public boolean getShowHorizontalLines()
public boolean getShowVerticalLines()
public javax.swing.table.JTableHeader getTableHeader()
public java.lang.Object getValueAt(int row,
int column)
public boolean isCellEditable(int row,
int column)
public boolean isCellSelected(int row,
int column)
public boolean isColumnSelected(int column)
public boolean isEditing()
public boolean isFocusTraversable()
public boolean isRowSelected(int row)
public void moveColumn(int column,
int targetColumn)
protected java.lang.String paramString()
public java.awt.Component prepareEditor(javax.swing.table.TableCellEditor editor,
int row,
int column)
public java.awt.Component prepareRenderer(javax.swing.table.TableCellRenderer renderer,
int row,
int column)
public void removeColumn(javax.swing.table.TableColumn aColumn)
public void removeColumnSelectionInterval(int index0,
int index1)
public void removeEditor()
public void removeRowSelectionInterval(int index0,
int index1)
public int rowAtPoint(java.awt.Point point)
public void selectAll()
public void setAutoCreateColumnsFromModel(boolean b)
public void setAutoResizeMode(int nMode)
public void setCellEditor(javax.swing.table.TableCellEditor anEditor)
public void setCellSelectionEnabled(boolean b)
public void setColumnModel(javax.swing.table.TableColumnModel columnModel)
public void setColumnSelectionAllowed(boolean b)
public void setColumnSelectionInterval(int index0,
int index1)
public void setDefaultEditor(java.lang.Class columnClass,
javax.swing.table.TableCellEditor editor)
public void setDefaultRenderer(java.lang.Class columnClass,
javax.swing.table.TableCellRenderer renderer)
public void setEditingColumn(int nIndex)
public void setEditingRow(int nIndex)
public void setGridColor(java.awt.Color color)
public void setIntercellSpacing(java.awt.Dimension d)
public void setModel(javax.swing.table.TableModel dataModel)
public void setPreferredScrollableViewportSize(java.awt.Dimension size)
public void setRowHeight(int nHeight)
public void setRowHeight(int row,
int rowHeight)
public void setRowMargin(int nMargin)
public void setRowSelectionAllowed(boolean bAllow)
public void setRowSelectionInterval(int index0,
int index1)
public void setSelectionBackground(java.awt.Color c)
public void setSelectionForeground(java.awt.Color c)
public void setSelectionMode(int selectionMode)
public void setSelectionModel(javax.swing.ListSelectionModel newModel)
public void setShowGrid(boolean showGrid)
public void setShowHorizontalLines(boolean bShow)
public void setShowVerticalLines(boolean bShow)
public void setTableHeader(javax.swing.table.JTableHeader tableHeader)
public void setValueAt(java.lang.Object aValue,
int row,
int column)
public void sizeColumnsToFit(boolean lastColumnOnly)
public void sizeColumnsToFit(int resizingColumn)
public void tableChanged(javax.swing.event.TableModelEvent e)
public void valueChanged(javax.swing.event.ListSelectionEvent e)
public boolean isManagingFocus()
public boolean getAutoscrolls()
public void setLightweight(boolean b)
b - true if this component has a lightweight peer; false if it has a native peer or no peer.public boolean isLightweight()
public void setOpaque(boolean b)
b - true if this component paints every pixel within its bounds.public void setToolTipText(java.lang.String s)
public void setDoubleBuffered(boolean b)
b - if true, all the drawing from this component will be done
in an offscreen painting buffer. The offscreen painting buffer will
the be copied onto the screen.public void setBorder(javax.swing.border.Border b)
b - the border to be rendered for this componentpublic void setAutoscrolls(boolean b)
b - if true, this component will automatically scroll its contents when draggedpublic void setRequestFocusEnabled(boolean b)
b - if true the receiving component can obtain the focus by calling requestFocuspublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - the PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - the PropertyChangeListener to be removedpublic void setLayout(java.awt.LayoutManager mgr)
mgr - the specified layout manager
public void setBounds(int x,
int y,
int width,
int height)
x - x-coordinate of this bean.y - y-coordinate of this bean.width - the new width of this bean.height - the new height of this bean.public void setForeground(java.awt.Color c)
public void setBackground(java.awt.Color c)
public void setFont(java.awt.Font f)
public void setVisible(boolean b)
b - flag representing visibility of bean.public void setEnabled(boolean b)
b - flag representing enability of bean.public void setLocale(java.util.Locale l)
l - current value of the locale.public java.util.Locale getLocale()
public void setCursor(java.awt.Cursor c)
c - current value of the cursor.public java.awt.Dimension getPreferredSize()
public void addFocusListener(java.awt.event.FocusListener l)
l - the focus listenerpublic void removeFocusListener(java.awt.event.FocusListener l)
l - the focus listenerpublic void addKeyListener(java.awt.event.KeyListener l)
l - the key listener.public void removeKeyListener(java.awt.event.KeyListener l)
l - the key listener.public void addMouseListener(java.awt.event.MouseListener l)
l - the mouse listener.public void removeMouseListener(java.awt.event.MouseListener l)
l - the mouse listener.public void addMouseMotionListener(java.awt.event.MouseMotionListener l)
l - the mouse motion listener.public void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
l - the mouse motion listener.
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
readExternal in interface java.io.Externalizablejava.lang.ClassNotFoundException
java.io.IOException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||