| java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTable org.jdesktop.swingx.JXTable
All known Subclasses: org.jdesktop.swingx.JXTreeTable,
JXTable | public class JXTable extends JTable implements TableColumnModelExtListener(Code) | |
A JXTable is a JTable with built-in support for row sorting, filtering, and
highlighting, column visibility and a special popup control on the column
header for quick access to table configuration. You can instantiate a JXTable
just as you would a JTable, using a TableModel. However, a JXTable
automatically wraps TableColumns inside a TableColumnExt instance.
TableColumnExt supports visibility, sortability, and prototype values for
column sizing, none of which are available in TableColumn. You can retrieve
the TableColumnExt instance for a column using
JXTable.getColumnExt(Object) or
JXTable.getColumnExt(int colnumber) .
A JXTable is, by default, sortable by clicking on column headers; each
subsequent click on a header reverses the order of the sort, and a sort arrow
icon is automatically drawn on the header. Sorting can be disabled using
JXTable.setSortable(boolean) . Sorting on columns is handled by a Sorter
instance which contains a Comparator used to compare values in two rows of a
column. You can replace the Comparator for a given column by using
getColumnExt("column").setComparator(customComparator)
Columns can be hidden or shown by setting the visible property on the
TableColumnExt using
TableColumnExt.setVisible(boolean) . Columns can
also be shown or hidden from the column control popup.
The column control popup is triggered by an icon drawn to the far right of
the column headers, above the table's scrollbar (when installed in a
JScrollPane). The popup allows the user to select which columns should be
shown or hidden, as well as to pack columns and turn on horizontal scrolling.
To show or hide the column control, use the
JXTable.setColumnControlVisible(boolean show) method.
Rows can be filtered from a JXTable using a Filter class and a
FilterPipeline. One assigns a FilterPipeline to the table using
JXTable.setFilters(FilterPipeline) . Filtering hides, but does not delete or
permanently remove rows from a JXTable. Filters are used to provide sorting
to the table--rows are not removed, but the table is made to believe rows in
the model are in a sorted order.
One can automatically highlight certain rows in a JXTable by attaching
Highlighters in the
JXTable.setHighlighters(HighlighterPipeline) method. An
example would be a Highlighter that colors alternate rows in the table for
readability; AlternateRowHighlighter does this. Again, like Filters,
Highlighters can be chained together in a HighlighterPipeline to achieve more
interesting effects.
You can resize all columns, selected columns, or a single column using the
methods like
JXTable.packAll() . Packing combines several other aspects of a
JXTable. If horizontal scrolling is enabled using
JXTable.setHorizontalScrollEnabled(boolean) , then the scrollpane will allow
the table to scroll right-left, and columns will be sized to their preferred
size. To control the preferred sizing of a column, you can provide a
prototype value for the column in the TableColumnExt using
TableColumnExt.setPrototypeValue(Object) . The prototype is used as
an indicator of the preferred size of the column. This can be useful if some
data in a given column is very long, but where the resize algorithm would
normally not pick this up.
JXTable guarantees to delegate creation and configuration of TableColumnExt
to a ColumnFactory. By default, the application-wide shared ColumnFactory is used.
You can install a custom ColumnFactory, either application-wide by
ColumnFactory.setInstance(ColumnFactory) or per table instance by
JXTable.setColumnFactory(ColumnFactory) .
Last, you can also provide searches on a JXTable using the Searchable property.
Keys/Actions registered with this component:
Key bindings.
- "control F" - bound to actionKey "find".
Client Properties.
author: Ramesh Gupta author: Amy Fowler author: Mark Davidson author: Jeanette Winzenburg |
Inner Class :public static class TableRolloverController extends RolloverController | |
Inner Class :public static class DoubleRenderer extends NumberRenderer | |
Inner Class :public static class NumberEditor extends GenericEditor | |
Constructor Summary | |
public | JXTable() Instantiates a JXTable with a default table model, no data. | public | JXTable(TableModel dm) Instantiates a JXTable with a specific table model. | public | JXTable(TableModel dm, TableColumnModel cm) Instantiates a JXTable with a specific table model. | public | JXTable(TableModel dm, TableColumnModel cm, ListSelectionModel sm) Instantiates a JXTable with a specific table model, column model, and
selection model. | public | JXTable(int numRows, int numColumns) Instantiates a JXTable for a given number of columns and rows. | public | JXTable(Vector rowData, Vector columnNames) Instantiates a JXTable with data in a vector or rows and column names. | public | JXTable(Object[][] rowData, Object[] columnNames) Instantiates a JXTable with data in a array or rows and column names. |
Method Summary | |
public void | addHighlighter(Highlighter highlighter) Adds a Highlighter.
If the HighlighterPipeline returned from getHighlighters()
is null, creates and sets a new pipeline containing the given
Highlighter . | protected void | adjustComponentOrientation(Component stamp) Adjusts the Component 's orientation to this
JXTable 's CO if appropriate. | protected void | adminSetRowHeight(int rowHeight) Sets the rowHeight for all rows to the given value. | public void | columnMarginChanged(ChangeEvent e)
Overridden to support enhanced auto-resize behaviour enabled and
necessary. | public void | columnPropertyChange(PropertyChangeEvent event) Listens to column property changes. | public void | columnRemoved(TableColumnModelEvent e) overridden to remove the interactive sorter if the
sorted column is no longer contained in the ColumnModel. | public void | columnSelectionChanged(ListSelectionEvent e)
Overridden to update the enabled state of the pack selected column
Action . | protected void | configureColumnControl() Configures the upper trailing corner of an enclosing
JScrollPane . | protected void | configureEnclosingScrollPane() Configures the enclosing JScrollPane . | public int | convertRowIndexToModel(int row) Convert row index from view coordinates to model coordinates accounting
for the presence of sorters and filters. | public int | convertRowIndexToView(int row) Convert row index from model coordinates to view coordinates accounting
for the presence of sorters and filters. | protected JComponent | createDefaultColumnControl() Creates the default column control used by this table. | protected TableColumnModel | createDefaultColumnModel()
Overridden to return a DefaultTableColumnModelExt . | public void | createDefaultColumnsFromModel() Creates, configures and adds default TableColumn s for
columns in this table's TableModel . | protected void | createDefaultEditors() Creates default cell editors for objects, numbers, and boolean values.
Overridden to hook enhanced editors (f.i. | protected void | createDefaultRenderers() Creates default cell renderers for objects, numbers, doubles, dates,
booleans, and icons. | protected JTableHeader | createDefaultTableHeader()
Overridden to return a JXTableHeader . | protected ChangeListener | createHighlighterChangeListener() Creates and returns the ChangeListener observing Highlighters. | protected TableRolloverController | createLinkController() | protected PipelineListener | createPipelineListener() creates the listener for changes in filters. | protected RolloverProducer | createRolloverProducer() creates and returns the RolloverProducer to use. | public void | doLayout() Layouts column width. | public TableCellRenderer | getCellRenderer(int row, int column)
Overridden to fix core bug #4614616 (NPE if TableModel 's
Class for the column is an interface). | public TableColumn | getColumn(int viewColumnIndex) Returns the TableColumn at view position
columnIndex . | public JComponent | getColumnControl() Returns the component used as column control. | public int | getColumnCount(boolean includeHidden) Returns the number of contained columns. | public TableColumnExt | getColumnExt(Object identifier) Returns the first TableColumnExt with the given
identifier . | public TableColumnExt | getColumnExt(int viewColumnIndex) Returns the TableColumnExt at view position
columnIndex . | public ColumnFactory | getColumnFactory() Returns the ColumnFactory. | public int | getColumnMargin() Returns the margin between columns. | public List<TableColumn> | getColumns() Returns a List of visible TableColumn s. | public List<TableColumn> | getColumns(boolean includeHidden) Returns a List of contained TableColumn s.
Includes or excludes invisible columns, depending on whether the
includeHidden is true or false, respectively. | protected ComponentAdapter | getComponentAdapter() | protected ComponentAdapter | getComponentAdapter(int row, int column) Convenience to access a configured ComponentAdapter.
Parameters: row - the row index in view coordinates. Parameters: column - the column index in view coordinates. | public boolean | getFillsViewportHeight() Returns the flag which controls the scrollableTracksViewportHeight
property. | protected PipelineListener | getFilterPipelineListener() returns the listener for changes in filters. | public FilterPipeline | getFilters() Returns the FilterPipeline for the table. | protected ChangeListener | getHighlighterChangeListener() Returns the ChangeListener to use with highlighters. | public HighlighterPipeline | getHighlighters() Returns the HighlighterPipeline assigned to the table, null if none. | protected TableRolloverController | getLinkController() | public TableCellRenderer | getNewDefaultRenderer(Class columnClass) Returns a new instance of the default renderer for the specified class.
This differs from getDefaultRenderer() in that it returns
a new instance each time so that the renderer may be set and
customized on a particular column. | public Dimension | getPreferredScrollableViewportSize()
TODO JW: refactor and comment. | public int | getRowCount() Returns the row count in the table; if filters are applied, this is the
filtered row count. | protected SizeSequenceMapper | getRowModelMapper() Returns the mapper used synch individual rowHeights in view/model
coordinates. | public boolean | getScrollableTracksViewportHeight()
Overridden to control the tracksHeight property depending on
fillsViewportHeight and relative size to containing parent. | public boolean | getScrollableTracksViewportWidth()
Overridden to support enhanced auto-resize behaviour enabled and
necessary. | public Searchable | getSearchable() | public SelectionMapper | getSelectionMapper() | public int | getSelectionMode() Returns the selection mode used by this table's selection model. | protected SortController | getSortController() returns the currently active SortController. | public SortOrder | getSortOrder(int columnIndex) Returns the SortOrder of the given column. | public SortOrder | getSortOrder(Object identifier) Returns the SortOrder of the given column. | public TableColumn | getSortedColumn() | public Object | getValueAt(int row, int column) Overridden to account for row index mapping. | public int | getVisibleRowCount() Returns the preferred number of rows to show in a
JScrollPane . | protected void | initializeColumnPreferredWidth(TableColumn column) Initialize the preferredWidth of the specified column based on the
column's prototypeValue property. | public boolean | isAutoStartEditOnKeyStroke() Returns the autoStartsEdit property. | public boolean | isCellEditable(int row, int column) Returns true if the cell at row and column
is editable. | public boolean | isColumnControlVisible() Returns the column control visible property. | protected boolean | isDataChanged(TableModelEvent e) Convenience method to detect dataChanged table event type.
Parameters: e - the event to examine. | public boolean | isEditable() Returns the editable property of the JXTable as a whole. | public boolean | isHorizontalScrollEnabled() Returns the current setting for horizontal scrolling. | public boolean | isRolloverEnabled() Returns the rolloverEnabled property. | public boolean | isRowHeightEnabled() Returns a boolean to indicate whether individual row height is enabled. | public boolean | isSortable() Returns the table's sortable property.
true if the table is sortable. | protected boolean | isSortable(int columnIndex) Decides if the column at columnIndex can be interactively sorted. | protected boolean | isSortable(Object identifier) Decides if the column with identifier can be interactively sorted. | protected boolean | isStructureChanged(TableModelEvent e) Convenience method to detect a structureChanged table event type.
Parameters: e - the event to examine. | public boolean | isTerminateEditOnFocusLost() Returns the property which determines the edit termination behaviour on
focus lost. | protected boolean | isUpdate(TableModelEvent e) Convenience method to detect update table event type.
Parameters: e - the event to examine. | public void | packAll() Resizes all columns to fit their content. | public void | packColumn(int column, int margin) Packs an indivudal column in the table. | public void | packColumn(int column, int margin, int max) Packs an indivual column in the table to less than or equal to the
maximum witdth. | public void | packSelected() Resizes the lead column to fit its content. | public void | packTable(int margin) Packs all the columns to their optimal size. | public Component | prepareEditor(TableCellEditor editor, int row, int column)
Overridden to adjust the editor's component orientation. | public Component | prepareRenderer(TableCellRenderer renderer, int row, int column) Returns the decorated Component used as a stamp to render
the specified cell. | public void | removeHighlighter(Highlighter highlighter) Removes the Highlighter. | protected void | resetDefaultTableCellRendererColors(TableCellRenderer renderer, int row, int column) Method to hack around #258-swingx: apply a specialized
Highlighter to force reset the color "memory" of
DefaultTableCellRenderer . | protected void | resetDefaultTableCellRendererColors(Component renderer, int row, int column) Method to hack around #258-swingx: apply a specialized Highlighter
to force reset the color "memory" of DefaultTableCellRenderer . | public void | resetSortOrder() Resets sorting of all columns. | public int | rowAtPoint(Point point)
Overridden to work around core Bug (ID #6291631): negative y is mapped to
row 0). | public void | scrollCellToVisible(int row, int column) Scrolls to make the cell at row and column visible. | public void | scrollColumnToVisible(int column) Scrolls horizontally to make the given column visible. | public void | scrollRowToVisible(int row) Scrolls vertically to make the given row visible. | public void | setAutoResizeMode(int mode)
Overridden for internal bookkeeping related to the enhanced
auto-resize behaviour. | public void | setAutoStartEditOnKeyStroke(boolean autoStart) Sets the autoStartsEdit property. | public void | setColumnControl(JComponent columnControl) Sets the component used as column control. | public void | setColumnControlVisible(boolean visible) Sets the column control visible property. | public void | setColumnFactory(ColumnFactory columnFactory) Sets the ColumnFactory to use for column creation and
configuration. | public void | setColumnMargin(int value) Sets the margin between columns. | public void | setColumnSequence(Object[] identifiers) Reorders the columns in the sequence given array. | public void | setComponentOrientation(ComponentOrientation o) Sets the language-sensitive orientation that is to be used to order
the elements or text within this component. | public void | setDefaultMargins(boolean showHorizontalLines, boolean showVerticalLines) Convenience to set both grid line visibility and default margin for
horizontal/vertical lines. | public void | setEditable(boolean editable) Sets the editable property. | public void | setFillsViewportHeight(boolean fillsViewportHeight) Sets the flag which controls the scrollableTracksViewportHeight property. | public void | setFilters(FilterPipeline pipeline) Sets the FilterPipeline for filtering table rows, maybe null
to remove all previously applied filters. | public void | setHighlighters(HighlighterPipeline pipeline) Assigns a HighlighterPipeline to the table, maybe null to remove all
Highlighters.
The default value is null .
Parameters: pipeline - the HighlighterPipeline to use for renderer decoration. | public void | setHighlighters(Highlighter... highlighters) Sets the Highlighter s to the table, replacing any old settings.
Maybe null to remove all highlighters.
Parameters: highlighters - the highlighters to use for renderer decoration. | public void | setHorizontalScrollEnabled(boolean enabled) Sets the enablement of enhanced horizontal scrolling. | public void | setModel(TableModel newModel) | public void | setRolloverEnabled(boolean rolloverEnabled) Property to enable/disable rollover support. | public void | setRowHeight(int rowHeight)
Overriden to keep view/model coordinates of SizeSequence in synch. | public void | setRowHeight(int row, int rowHeight)
Does nothing if support of individual rowHeights is not enabled. | public void | setRowHeightEnabled(boolean enabled) Sets enablement of individual rowHeight support. | public void | setSearchable(Searchable searchable) sets the Searchable for this editor. | public void | setSelectionModel(ListSelectionModel newModel) | public void | setShowGrid(boolean showHorizontalLines, boolean showVerticalLines) Convenience to set both grid line visibility and default margin for
horizontal/vertical lines. | public void | setSortOrder(int columnIndex, SortOrder sortOrder) Sorts the table by the given column using SortOrder. | public void | setSortOrder(Object identifier, SortOrder sortOrder) Sorts the table by the given column using the SortOrder. | public void | setSortable(boolean sortable) Sets "sortable" property indicating whether or not this table
supports sortable columns. | public void | setTerminateEditOnFocusLost(boolean terminate) Sets the property to determine whether an ongoing edit should be
terminated if the focus is moved to somewhere outside of the table. | public void | setValueAt(Object aValue, int row, int column) Overridden to account for row index mapping. | public void | setVisibleRowCount(int visibleRowCount) Sets the preferred number of rows to show in a JScrollPane . | public void | tableChanged(TableModelEvent e) additionally updates filtered state. | public void | toggleSortOrder(int columnIndex) Toggles the sort order of the column at columnIndex.
The exact behaviour is defined by the SortController's
toggleSortOrder implementation. | public void | toggleSortOrder(Object identifier) Toggles the sort order of the column with identifier.
The exact behaviour is defined by the SortController's
toggleSortOrder implementation. | protected void | updateHighlighterUI() Updates highlighter after updateUI changes. | protected void | updateHorizontalAction() Synchs selected state of horizontal scrolling Action to
enablement of enhanced auto-resize behaviour. | protected void | updateOnFilterContentChanged() method called on change notification from filterpipeline. | protected void | updateRowHeightUI(boolean respectRowSetFlag) Auto-adjusts rowHeight to something more pleasing then the default. | public void | updateUI()
Additionally updates auto-adjusted row height and highlighters. | protected void | updateViewSizeSequence() Called if individual row height mapping need to be updated. |
HORIZONTALSCROLL_ACTION_COMMAND | final public static String HORIZONTALSCROLL_ACTION_COMMAND(Code) | | Identifier of show horizontal scroll action,
used in JXTable's ActionMap .
|
MATCH_HIGHLIGHTER | final public static String MATCH_HIGHLIGHTER(Code) | | key for client property to use SearchHighlighter as match marker.
|
PACKALL_ACTION_COMMAND | final public static String PACKALL_ACTION_COMMAND(Code) | | Identifier of pack table action, used in JXTable's ActionMap .
|
PACKSELECTED_ACTION_COMMAND | final public static String PACKSELECTED_ACTION_COMMAND(Code) | | Identifier of pack selected column action, used in JXTable's ActionMap .
|
UIPREFIX | final public static String UIPREFIX(Code) | | The prefix marker to find table related properties
in the ResourceBundle .
|
isXTableRowHeightSet | protected boolean isXTableRowHeightSet(Code) | | Flag to distinguish internal settings of rowheight from client code
settings. The rowHeight will be internally adjusted to font size on
instantiation and in updateUI if the height has not been set explicitly
by the application.
See Also: JXTable.adminSetRowHeight(int) See Also: JXTable.setRowHeight(int) |
resetDefaultTableCellRendererHighlighter | protected Highlighter resetDefaultTableCellRendererHighlighter(Code) | | The Highlighter used to hack around DefaultTableCellRenderer's color memory.
|
searchable | protected Searchable searchable(Code) | | property to control search behaviour.
|
JXTable | public JXTable()(Code) | | Instantiates a JXTable with a default table model, no data.
|
JXTable | public JXTable(TableModel dm)(Code) | | Instantiates a JXTable with a specific table model.
Parameters: dm - The model to use. |
JXTable | public JXTable(TableModel dm, TableColumnModel cm, ListSelectionModel sm)(Code) | | Instantiates a JXTable with a specific table model, column model, and
selection model.
Parameters: dm - The table model to use. Parameters: cm - The colomn model to use. Parameters: sm - The list selection model to use. |
JXTable | public JXTable(int numRows, int numColumns)(Code) | | Instantiates a JXTable for a given number of columns and rows.
Parameters: numRows - Count of rows to accomodate. Parameters: numColumns - Count of columns to accomodate. |
JXTable | public JXTable(Vector rowData, Vector columnNames)(Code) | | Instantiates a JXTable with data in a vector or rows and column names.
Parameters: rowData - Row data, as a Vector of Objects. Parameters: columnNames - Column names, as a Vector of Strings. |
JXTable | public JXTable(Object[][] rowData, Object[] columnNames)(Code) | | Instantiates a JXTable with data in a array or rows and column names.
Parameters: rowData - Row data, as a two-dimensional Array of Objects (by row,for column). Parameters: columnNames - Column names, as a Array of Strings. |
adjustComponentOrientation | protected void adjustComponentOrientation(Component stamp)(Code) | | Adjusts the Component 's orientation to this
JXTable 's CO if appropriate. The parameter must not be
null .
This implementation synchs the CO always.
Parameters: stamp - the Component who's CO may need to be synched, must not be null . |
adminSetRowHeight | protected void adminSetRowHeight(int rowHeight)(Code) | | Sets the rowHeight for all rows to the given value. Keeps the flag
isXTableRowHeight unchanged. This enables the distinction
between setting the height for internal reasons from doing so by client
code.
Parameters: rowHeight - new height in pixel. See Also: JXTable.setRowHeight(int) See Also: JXTable.isXTableRowHeightSet |
columnRemoved | public void columnRemoved(TableColumnModelEvent e)(Code) | | overridden to remove the interactive sorter if the
sorted column is no longer contained in the ColumnModel.
|
columnSelectionChanged | public void columnSelectionChanged(ListSelectionEvent e)(Code) | |
Overridden to update the enabled state of the pack selected column
Action .
|
configureEnclosingScrollPane | protected void configureEnclosingScrollPane()(Code) | | Configures the enclosing JScrollPane .
Overridden to addionally configure the upper trailing corner
with the column control.
See Also: JXTable.configureColumnControl() |
convertRowIndexToModel | public int convertRowIndexToModel(int row)(Code) | | Convert row index from view coordinates to model coordinates accounting
for the presence of sorters and filters.
Parameters: row - row index in view coordinates row index in model coordinates |
convertRowIndexToView | public int convertRowIndexToView(int row)(Code) | | Convert row index from model coordinates to view coordinates accounting
for the presence of sorters and filters.
Parameters: row - row index in model coordinates row index in view coordinates |
createDefaultColumnsFromModel | public void createDefaultColumnsFromModel()(Code) | | Creates, configures and adds default TableColumn s for
columns in this table's TableModel . Removes all currently
contained TableColumn s. The exact type and configuration
of the columns is controlled by the ColumnFactory .
See Also: org.jdesktop.swingx.table.ColumnFactory |
createDefaultEditors | protected void createDefaultEditors()(Code) | | Creates default cell editors for objects, numbers, and boolean values.
Overridden to hook enhanced editors (f.i. NumberEditorExt )plus
hacking around huge memory consumption of UIDefaults (see #6345050 in
core Bug parade)
See Also: DefaultCellEditor |
createDefaultRenderers | protected void createDefaultRenderers()(Code) | | Creates default cell renderers for objects, numbers, doubles, dates,
booleans, and icons.
Overridden so we can act as factory for renderers plus hacking around
huge memory consumption of UIDefaults (see #6345050 in core Bug parade)
|
createHighlighterChangeListener | protected ChangeListener createHighlighterChangeListener()(Code) | | Creates and returns the ChangeListener observing Highlighters.
Here: repaints the table on receiving a stateChanged.
the ChangeListener defining the reaction to changes ofhighlighters. |
createLinkController | protected TableRolloverController createLinkController()(Code) | | |
createPipelineListener | protected PipelineListener createPipelineListener()(Code) | | creates the listener for changes in filters.
|
createRolloverProducer | protected RolloverProducer createRolloverProducer()(Code) | | creates and returns the RolloverProducer to use.
RolloverProducer |
getCellRenderer | public TableCellRenderer getCellRenderer(int row, int column)(Code) | |
Overridden to fix core bug #4614616 (NPE if TableModel 's
Class for the column is an interface). This method
guarantees to always return a not null value. Returns the
default renderer for Object if super returns
null .
|
getColumn | public TableColumn getColumn(int viewColumnIndex)(Code) | | Returns the TableColumn at view position
columnIndex . The return value is not null .
NOTE: This delegate method is added to protect developer's from
unexpected exceptions in jdk1.5+. Super does not expose the
TableColumn access by index which may lead to unexpected
IllegalArgumentException : If client code assumes the
delegate method is available, autoboxing will convert the given int to an
Integer which will call the getColumn(Object) method.
Parameters: viewColumnIndex - index of the column with the object in question the TableColumn object that matches the columnindex throws: ArrayIndexOutOfBoundsException - if viewColumnIndex out of allowedrange. See Also: JXTable.getColumn(Object) See Also: JXTable.getColumnExt(int) See Also: TableColumnModel.getColumn(int) |
getColumnCount | public int getColumnCount(boolean includeHidden)(Code) | | Returns the number of contained columns. The count includes or excludes invisible
columns, depending on whether the includeHidden is true or
false, respectively. If false, this method returns the same count as
getColumnCount() . If the columnModel is not of type
TableColumnModelExt , the parameter value has no effect.
Parameters: includeHidden - a boolean to indicate whether invisible columnsshould be included the number of contained columns, including or excluding theinvisible as specified. See Also: JXTable.getColumnCount() See Also: TableColumnModelExt.getColumnCount(boolean) See Also: |
getColumns | public List<TableColumn> getColumns(boolean includeHidden)(Code) | | Returns a List of contained TableColumn s.
Includes or excludes invisible columns, depending on whether the
includeHidden is true or false, respectively. If false, an
Iterator over the List is equivalent to the
Enumeration returned by getColumns() .
If the columnModel is not of type
TableColumnModelExt , the parameter value has no effect.
NOTE: the order of columns in the List depends on whether or not the
invisible columns are included, in the former case it's the insertion
order in the latter it's the current order of the visible columns.
Parameters: includeHidden - a boolean to indicate whether invisible columnsshould be included a List of contained columns. See Also: JXTable.getColumns() See Also: TableColumnModelExt.getColumns(boolean) |
getComponentAdapter | protected ComponentAdapter getComponentAdapter(int row, int column)(Code) | | Convenience to access a configured ComponentAdapter.
Parameters: row - the row index in view coordinates. Parameters: column - the column index in view coordinates. the configured ComponentAdapter. |
getFilterPipelineListener | protected PipelineListener getFilterPipelineListener()(Code) | | returns the listener for changes in filters.
|
getHighlighterChangeListener | protected ChangeListener getHighlighterChangeListener()(Code) | | Returns the ChangeListener to use with highlighters. Lazily
creates the listener.
the ChangeListener for observing changes of highlighters, guaranteed to be not-null |
getLinkController | protected TableRolloverController getLinkController()(Code) | | |
getNewDefaultRenderer | public TableCellRenderer getNewDefaultRenderer(Class columnClass)(Code) | | Returns a new instance of the default renderer for the specified class.
This differs from getDefaultRenderer() in that it returns
a new instance each time so that the renderer may be set and
customized on a particular column.
NOTE: this doesn't work with swingx renderers! Do we really need it? It
had been used in JNTable which is practically obsolete. If needed, we
could make all renderer support classes clonable.
Parameters: columnClass - Class of value being rendered TableCellRenderer instance which renders values of the specifiedtype See Also: JXTable.getDefaultRenderer(Class) |
getPreferredScrollableViewportSize | public Dimension getPreferredScrollableViewportSize()(Code) | |
TODO JW: refactor and comment.
|
getRowCount | public int getRowCount()(Code) | | Returns the row count in the table; if filters are applied, this is the
filtered row count.
|
getScrollableTracksViewportHeight | public boolean getScrollableTracksViewportHeight()(Code) | |
Overridden to control the tracksHeight property depending on
fillsViewportHeight and relative size to containing parent.
true if the control flag is true and the containing parentheight > prefHeight, else returns false. See Also: JXTable.setFillsViewportHeight(boolean) |
getSearchable | public Searchable getSearchable()(Code) | | a not-null Searchable for this editor. |
getSelectionMode | public int getSelectionMode()(Code) | | Returns the selection mode used by this table's selection model.
PENDING JW - setter?
the selection mode used by this table's selection model See Also: ListSelectionModel.getSelectionMode |
getSortController | protected SortController getSortController()(Code) | | returns the currently active SortController. Can be null
on the very first call after instantiation.
the currently active SortController may be null |
getSortOrder | public SortOrder getSortOrder(int columnIndex)(Code) | | Returns the SortOrder of the given column.
Parameters: columnIndex - the column index in view coordinates. the interactive sorter's SortOrder if matches the column or SortOrder.UNSORTED |
getSortOrder | public SortOrder getSortOrder(Object identifier)(Code) | | Returns the SortOrder of the given column.
PENDING: JW - define the behaviour if the identifier is not found.
This can happen if either there's no column at all with the identifier
or if there's no column of type TableColumnExt.
Currently returns SortOrder.UNSORTED.
Parameters: identifier - the column's identifier. the interactive sorter's SortOrder if matches the column or SortOrder.UNSORTED |
getSortedColumn | public TableColumn getSortedColumn()(Code) | | the currently interactively sorted TableColumn or nullif there is not sorter active or if the sorted column index does not correspond to any column in the TableColumnModel. |
getValueAt | public Object getValueAt(int row, int column)(Code) | | Overridden to account for row index mapping.
|
getVisibleRowCount | public int getVisibleRowCount()(Code) | | Returns the preferred number of rows to show in a
JScrollPane .
the number of rows to show in a JScrollPane See Also: JXTable.setVisibleRowCount(int) |
initializeColumnPreferredWidth | protected void initializeColumnPreferredWidth(TableColumn column)(Code) | | Initialize the preferredWidth of the specified column based on the
column's prototypeValue property. If the column is not an instance of
TableColumnExt or prototypeValue is null
then the preferredWidth is left unmodified.
TODO JW - need to cleanup getScrollablePreferred (refactor and inline)
update doc - what exactly happens is left to the columnfactory.
Parameters: column - TableColumn object representing view column See Also: org.jdesktop.swingx.table.TableColumnExt.setPrototypeValue |
isCellEditable | public boolean isCellEditable(int row, int column)(Code) | | Returns true if the cell at row and column
is editable. Otherwise, invoking setValueAt on the cell
will have no effect.
Overridden to account for row index mapping and to support a layered
editability control:
- per-table:
JXTable.isEditable()
- per-column:
TableColumnExt.isEditable()
- per-cell: controlled by the model
TableModel.isCellEditable()
The view cell is considered editable only if all three layers are enabled.
Parameters: row - the row index in view coordinates Parameters: column - the column index in view coordinates true if the cell is editable See Also: JXTable.setValueAt(Object,int,int) See Also: JXTable.isEditable() See Also: TableColumnExt.isEditable See Also: TableModel.isCellEditable |
isDataChanged | protected boolean isDataChanged(TableModelEvent e)(Code) | | Convenience method to detect dataChanged table event type.
Parameters: e - the event to examine. true if the event is of type dataChanged, false else. |
isEditable | public boolean isEditable()(Code) | | Returns the editable property of the JXTable as a whole.
boolean to indicate if the table is editable. See Also: JXTable.setEditable |
isRolloverEnabled | public boolean isRolloverEnabled()(Code) | | Returns the rolloverEnabled property.
true if rollover is enabled |
isSortable | public boolean isSortable()(Code) | | Returns the table's sortable property.
true if the table is sortable. |
isSortable | protected boolean isSortable(int columnIndex)(Code) | | Decides if the column at columnIndex can be interactively sorted.
Here: true if both this table and the column sortable property is
enabled, false otherwise.
Parameters: columnIndex - column in view coordinates boolean indicating whether or not the column is sortablein this table. |
isSortable | protected boolean isSortable(Object identifier)(Code) | | Decides if the column with identifier can be interactively sorted.
Here: true if both this table and the column sortable property is
enabled, false otherwise.
Parameters: identifier - the column's identifier boolean indicating whether or not the column is sortablein this table. |
isStructureChanged | protected boolean isStructureChanged(TableModelEvent e)(Code) | | Convenience method to detect a structureChanged table event type.
Parameters: e - the event to examine. true if the event is of type structureChanged or null, false else. |
isTerminateEditOnFocusLost | public boolean isTerminateEditOnFocusLost()(Code) | | Returns the property which determines the edit termination behaviour on
focus lost.
boolean to indicate whether an ongoing edit should be terminatedif the focus is moved to somewhere outside of the table. See Also: JXTable.setTerminateEditOnFocusLost(boolean) |
isUpdate | protected boolean isUpdate(TableModelEvent e)(Code) | | Convenience method to detect update table event type.
Parameters: e - the event to examine. true if the event is of type update and not dataChanged, false else. |
packAll | public void packAll()(Code) | | Resizes all columns to fit their content.
By default this method is bound to the pack all columns
Action and registered in the table's ActionMap .
|
packColumn | public void packColumn(int column, int margin)(Code) | | Packs an indivudal column in the table.
Parameters: column - The Column index to pack in View Coordinates Parameters: margin - The Margin to apply to the column width. See Also: JXTable.packColumn(int,int,int) See Also: JXTable.packTable(int) |
packColumn | public void packColumn(int column, int margin, int max)(Code) | | Packs an indivual column in the table to less than or equal to the
maximum witdth. If maximum is -1 then the column is made as wide as it
needs.
Parameters: column - the column index to pack in view coordinates Parameters: margin - the margin to apply to the column Parameters: max - the maximum width the column can be resized to, -1 means no limit See Also: JXTable.packColumn(int,int) See Also: JXTable.packTable(int) See Also: ColumnFactory.packColumn(JXTableTableColumnExtintint) |
packSelected | public void packSelected()(Code) | | Resizes the lead column to fit its content.
By default this method is bound to the pack selected column
Action and registered in the table's ActionMap .
|
prepareEditor | public Component prepareEditor(TableCellEditor editor, int row, int column)(Code) | |
Overridden to adjust the editor's component orientation.
|
prepareRenderer | public Component prepareRenderer(TableCellRenderer renderer, int row, int column)(Code) | | Returns the decorated Component used as a stamp to render
the specified cell. Overrides superclass version to provide support for
cell decorators.
Adjusts component orientation (guaranteed to happen before applying
Highlighters).
Parameters: renderer - the TableCellRenderer to prepare Parameters: row - the row of the cell to render, where 0 is the first row Parameters: column - the column of the cell to render, where 0 is the firstcolumn the decorated Component used as a stamp to renderthe specified cell See Also: org.jdesktop.swingx.decorator.Highlighter |
resetDefaultTableCellRendererColors | protected void resetDefaultTableCellRendererColors(TableCellRenderer renderer, int row, int column)(Code) | | Method to hack around #258-swingx: apply a specialized
Highlighter to force reset the color "memory" of
DefaultTableCellRenderer . This is called for each
renderer in prepareRenderer before calling super.
Subclasses which are sure to solve the problem at the core (that is in a
well-behaved DefaultTableCellRenderer) should override this method to do
nothing.
Parameters: renderer - the TableCellRenderer to hack Parameters: row - the row of the cell to render Parameters: column - the column index of the cell to render See Also: JXTable.prepareRenderer(TableCellRenderer,int,int) See Also: org.jdesktop.swingx.decorator.ResetDTCRColorHighlighter |
resetSortOrder | public void resetSortOrder()(Code) | | Resets sorting of all columns.
|
rowAtPoint | public int rowAtPoint(Point point)(Code) | |
Overridden to work around core Bug (ID #6291631): negative y is mapped to
row 0).
|
scrollCellToVisible | public void scrollCellToVisible(int row, int column)(Code) | | Scrolls to make the cell at row and column visible. This might not have
any effect if the table isn't contained in a JViewport .
Note: this method has no precondition as it internally uses
getCellRect which is lenient to off-range coordinates.
Parameters: row - the view row index of the cell Parameters: column - the view column index of the cell See Also: JXTable.scrollColumnToVisible(int) See Also: JXTable.scrollRowToVisible(int) See Also: JXTable.scrollRectToVisible(Rectangle) |
setAutoResizeMode | public void setAutoResizeMode(int mode)(Code) | |
Overridden for internal bookkeeping related to the enhanced
auto-resize behaviour.
Note: to enable/disable the enhanced auto-resize mode use exclusively
setHorizontalScrollEnabled , this method can't cope with it.
See Also: JXTable.setHorizontalScrollEnabled(boolean) |
setAutoStartEditOnKeyStroke | public void setAutoStartEditOnKeyStroke(boolean autoStart)(Code) | | Sets the autoStartsEdit property. If true, keystrokes are passed-on to
the cellEditor of the lead cell to let it decide whether to start an
edit.
The default value is true .
Parameters: autoStart - boolean to determine whether a keyStroke should try tostart editing. See Also: JXTable.isAutoStartEditOnKeyStroke() |
setColumnControl | public void setColumnControl(JComponent columnControl)(Code) | | Sets the component used as column control. Updates the enclosing
JScrollPane if appropriate. Passing a null
parameter restores the column control to the default.
The component is automatically visible only if the
columnControlVisible property is true and
the table is contained in a JScrollPane .
NOTE: from the table's perspective, the column control is simply a
JComponent to add to and keep in the trailing corner of
the scrollpane. (if any). It's up the concrete control to configure
itself from and keep synchronized to the columns' states.
Parameters: columnControl - the JComponent to use ascolumnControl. See Also: JXTable.getColumnControl() See Also: JXTable.createDefaultColumnControl() See Also: JXTable.setColumnControlVisible(boolean) |
setColumnControlVisible | public void setColumnControlVisible(boolean visible)(Code) | | Sets the column control visible property. If true and
JXTable is contained in a JScrollPane , the
table adds the column control to the trailing corner of the scroll pane.
Note: if the table is not inside a JScrollPane the column
control is not shown even if this returns true. In this case it's the
responsibility of the client code to actually show it.
The default value is false .
Parameters: visible - boolean to indicate if the column control should be shown See Also: JXTable.isColumnControlVisible() See Also: JXTable.setColumnControl(JComponent) |
setColumnSequence | public void setColumnSequence(Object[] identifiers)(Code) | | Reorders the columns in the sequence given array. Logical names that do
not correspond to any column in the model will be ignored. Columns with
logical names not contained are added at the end.
PENDING JW - do we want this? It's used by JNTable.
Parameters: identifiers - array of logical column names See Also: JXTable.getColumns(boolean) |
setComponentOrientation | public void setComponentOrientation(ComponentOrientation o)(Code) | | Sets the language-sensitive orientation that is to be used to order
the elements or text within this component.
Overridden to work around a core bug:
JScrollPane can't cope with
corners when changing component orientation at runtime.
This method explicitly re-configures the column control.
Parameters: o - the ComponentOrientation for this table. See Also: java.awt.Component.setComponentOrientation(ComponentOrientation) |
setDefaultMargins | public void setDefaultMargins(boolean showHorizontalLines, boolean showVerticalLines)(Code) | | Convenience to set both grid line visibility and default margin for
horizontal/vertical lines. The margin defaults to 1 or 0 if the grid
lines are drawn or not drawn.
Parameters: showHorizontalLines - boolean to decide whether to draw horizontalgrid lines. Parameters: showVerticalLines - boolean to decide whether to draw vertical gridlines.JXTable.setShowGrid(boolean,boolean) |
setEditable | public void setEditable(boolean editable)(Code) | | Sets the editable property. This property allows to mark all cells in a
table as read-only, independent of their per-column editability as
returned by TableColumnExt.isEditable and their per-cell
editability as returned by the TableModel.isCellEditable .
If a cell is read-only in its column or model layer, this property has no
effect.
The default value is true .
Parameters: editable - the flag to indicate if the table is editable. See Also: JXTable.isEditable See Also: JXTable.isCellEditable(int,int) |
setFillsViewportHeight | public void setFillsViewportHeight(boolean fillsViewportHeight)(Code) | | Sets the flag which controls the scrollableTracksViewportHeight property.
If true the table's height will be always at least as large as the
containing parent, if false the table's height will be independent of
parent's height.
The default value is true .
Note: this a backport from Mustang's JTable .
Parameters: fillsViewportHeight - boolean to indicate whether the table shouldalways fill parent's height. See Also: JXTable.getFillsViewportHeight() See Also: JXTable.getScrollableTracksViewportHeight() |
setFilters | public void setFilters(FilterPipeline pipeline)(Code) | | Sets the FilterPipeline for filtering table rows, maybe null
to remove all previously applied filters.
Note: the current "interactive" sortState is preserved (by
internally copying the old sortKeys to the new pipeline, if any).
Parameters: pipeline - the FilterPipeline to use, null removesall filters. |
setHorizontalScrollEnabled | public void setHorizontalScrollEnabled(boolean enabled)(Code) | | Sets the enablement of enhanced horizontal scrolling. If enabled, it
toggles an auto-resize mode which always fills the JViewport
horizontally and shows the horizontal scrollbar if necessary.
The default value is false .
Note: this is not a bound property, though it follows
bean naming conventions.
PENDING: Probably should be... If so, could be taken by a
listening Action as in the app-framework.
PENDING JW: the name is mis-leading?
Parameters: enabled - a boolean indicating whether enhanced auto-resize mode isenabled. See Also: JXTable.isHorizontalScrollEnabled() |
setRolloverEnabled | public void setRolloverEnabled(boolean rolloverEnabled)(Code) | | Property to enable/disable rollover support. This can be enabled to show
"live" rollover behaviour, f.i. the cursor over LinkModel cells. Default
is enabled. If rollover effects are not used, this property should be
disabled.
Parameters: rolloverEnabled - |
setRowHeight | public void setRowHeight(int rowHeight)(Code) | |
Overriden to keep view/model coordinates of SizeSequence in synch. Marks
the request as client-code induced.
See Also: JXTable.isXTableRowHeightSet |
setRowHeight | public void setRowHeight(int row, int rowHeight)(Code) | |
Does nothing if support of individual rowHeights is not enabled.
Overriden to keep view/model coordinates of SizeSequence in synch.
See Also: JXTable.isRowHeightEnabled() |
setRowHeightEnabled | public void setRowHeightEnabled(boolean enabled)(Code) | | Sets enablement of individual rowHeight support. Enabling the support
involves reflective access to super's private field rowModel which may
fail due to security issues. If failing the support is not enabled.
The default value is false .
Parameters: enabled - a boolean to indicate whether per-row heights should beenabled. See Also: JXTable.isRowHeightEnabled() See Also: JXTable.setRowHeight(int,int) |
setSearchable | public void setSearchable(Searchable searchable)(Code) | | sets the Searchable for this editor. If null, a default
searchable will be used.
Parameters: searchable - |
setShowGrid | public void setShowGrid(boolean showHorizontalLines, boolean showVerticalLines)(Code) | | Convenience to set both grid line visibility and default margin for
horizontal/vertical lines. The margin defaults to 1 or 0 if the grid
lines are drawn or not drawn.
Parameters: showHorizontalLines - boolean to decide whether to draw horizontalgrid lines. Parameters: showVerticalLines - boolean to decide whether to draw vertical gridlines. See Also: javax.swing.JTable.setShowGrid(boolean) See Also: javax.swing.JTable.setIntercellSpacing(Dimension) |
setSortOrder | public void setSortOrder(int columnIndex, SortOrder sortOrder)(Code) | | Sorts the table by the given column using SortOrder.
Respects the tableColumnExt's sortable and comparator
properties: routes the column's comparator to the SortController
and does nothing if !isSortable(column).
PRE: 0 <= columnIndex < getColumnCount()
Parameters: columnIndex - the column index in view coordinates. Parameters: sortOrder - the sort order to use. If null or SortOrder.UNSORTED, this method has the same effect as resetSortOrder(); |
setSortOrder | public void setSortOrder(Object identifier, SortOrder sortOrder)(Code) | | Sorts the table by the given column using the SortOrder.
Respects the tableColumnExt's sortable and comparator
properties: routes the column's comparator to the SortController
and does nothing if !isSortable(column).
PENDING: JW - define the behaviour if the identifier is not found.
This can happen if either there's no column at all with the identifier
or if there's no column of type TableColumnExt.
Currently does nothing, that is does not change sort state.
Parameters: identifier - the column's identifier. Parameters: sortOrder - the sort order to use. If null or SortOrder.UNSORTED, this method has the same effect as resetSortOrder(); |
setSortable | public void setSortable(boolean sortable)(Code) | | Sets "sortable" property indicating whether or not this table
supports sortable columns. If sortable is
true then sorting will be enabled on all columns whose
sortable property is true . If
sortable is false then sorting will be
disabled for all columns, regardless of each column's individual
sorting property. The default is true .
See Also: TableColumnExt.isSortable Parameters: sortable - boolean indicating whether or not this table supports sortablecolumns |
setTerminateEditOnFocusLost | public void setTerminateEditOnFocusLost(boolean terminate)(Code) | | Sets the property to determine whether an ongoing edit should be
terminated if the focus is moved to somewhere outside of the table. If
true, terminates the edit, does nothing otherwise. The exact behaviour is
implemented in JTable.CellEditorRemover : "outside" is
interpreted to be on a component which is not under the table hierarchy
but inside the same toplevel window, "terminate" does so in any case,
first tries to stop the edit, if that's unsuccessful it cancels the edit.
The default value is true .
Parameters: terminate - the flag to determine whether or not to terminate theedit See Also: JXTable.isTerminateEditOnFocusLost() |
setValueAt | public void setValueAt(Object aValue, int row, int column)(Code) | | Overridden to account for row index mapping. This implementation
respects the cell's editability, that is it has no effect if
!isCellEditable(row, column) .
See Also: JXTable.isCellEditable(int,int) |
setVisibleRowCount | public void setVisibleRowCount(int visibleRowCount)(Code) | | Sets the preferred number of rows to show in a JScrollPane .
TODO JW - make bound property, reset scrollablePref(? distinguish
internal from client code triggered like in rowheight?) and re-layout.
Parameters: visibleRowCount - number of rows to show in a JScrollPane See Also: JXTable.getVisibleRowCount() |
toggleSortOrder | public void toggleSortOrder(int columnIndex)(Code) | | Toggles the sort order of the column at columnIndex.
The exact behaviour is defined by the SortController's
toggleSortOrder implementation. Typically a unsorted
column is sorted in ascending order, a sorted column's
order is reversed.
Respects the tableColumnExt's sortable and comparator
properties: routes the column's comparator to the SortController
and does nothing if !isSortable(column).
PRE: 0 <= columnIndex < getColumnCount()
Parameters: columnIndex - the columnIndex in view coordinates. |
toggleSortOrder | public void toggleSortOrder(Object identifier)(Code) | | Toggles the sort order of the column with identifier.
The exact behaviour is defined by the SortController's
toggleSortOrder implementation. Typically a unsorted
column is sorted in ascending order, a sorted column's
order is reversed.
Respects the tableColumnExt's sortable and comparator
properties: routes the column's comparator to the SortController
and does nothing if !isSortable(column).
PENDING: JW - define the behaviour if the identifier is not found.
This can happen if either there's no column at all with the identifier
or if there's no column of type TableColumnExt.
Currently does nothing, that is does not change sort state.
Parameters: identifier - the column identifier. |
updateHighlighterUI | protected void updateHighlighterUI()(Code) | | Updates highlighter after updateUI changes.
See Also: org.jdesktop.swingx.decorator.Highlighter.UIHighlighter |
updateHorizontalAction | protected void updateHorizontalAction()(Code) | | Synchs selected state of horizontal scrolling Action to
enablement of enhanced auto-resize behaviour.
|
updateOnFilterContentChanged | protected void updateOnFilterContentChanged()(Code) | | method called on change notification from filterpipeline.
|
updateRowHeightUI | protected void updateRowHeightUI(boolean respectRowSetFlag)(Code) | | Auto-adjusts rowHeight to something more pleasing then the default. This
method is called after instantiation and after updating the UI. Does
nothing if the given parameter is true and the rowHeight
had been already set by client code. The underlying problem is that raw
types can't implement UIResource.
This implementation asks the UIManager for a default value (stored with
key "JXTable.rowHeight"). If none is available, calculates a "reasonable"
height from the table's fontMetrics, assuming that most renderers/editors
will have a border with top/bottom of 1.
Parameters: respectRowSetFlag - a boolean to indicate whether client-code flagshould be respected. See Also: JXTable.isXTableRowHeightSet |
updateUI | public void updateUI()(Code) | |
Additionally updates auto-adjusted row height and highlighters.
Another of the override motivation is to fix core issue (?? ID): super
fails to update all renderers/editors.
|
updateViewSizeSequence | protected void updateViewSizeSequence()(Code) | | Called if individual row height mapping need to be updated.
This implementation guards against unnessary access of
super's private rowModel field.
|
Methods inherited from javax.swing.JTable | public void addColumn(TableColumn aColumn)(Code)(Java Doc) public void addColumnSelectionInterval(int index0, int index1)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addRowSelectionInterval(int index0, int index1)(Code)(Java Doc) public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend)(Code)(Java Doc) public void clearSelection()(Code)(Java Doc) public void columnAdded(TableColumnModelEvent e)(Code)(Java Doc) public int columnAtPoint(Point point)(Code)(Java Doc) public void columnMarginChanged(ChangeEvent e)(Code)(Java Doc) public void columnMoved(TableColumnModelEvent e)(Code)(Java Doc) public void columnRemoved(TableColumnModelEvent e)(Code)(Java Doc) public void columnSelectionChanged(ListSelectionEvent e)(Code)(Java Doc) protected void configureEnclosingScrollPane()(Code)(Java Doc) public int convertColumnIndexToModel(int viewColumnIndex)(Code)(Java Doc) public int convertColumnIndexToView(int modelColumnIndex)(Code)(Java Doc) public int convertRowIndexToModel(int viewRowIndex)(Code)(Java Doc) public int convertRowIndexToView(int modelRowIndex)(Code)(Java Doc) protected TableColumnModel createDefaultColumnModel()(Code)(Java Doc) public void createDefaultColumnsFromModel()(Code)(Java Doc) protected TableModel createDefaultDataModel()(Code)(Java Doc) protected void createDefaultEditors()(Code)(Java Doc) protected void createDefaultRenderers()(Code)(Java Doc) protected ListSelectionModel createDefaultSelectionModel()(Code)(Java Doc) protected JTableHeader createDefaultTableHeader()(Code)(Java Doc) public static JScrollPane createScrollPaneForTable(JTable aTable)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public boolean editCellAt(int row, int column)(Code)(Java Doc) public boolean editCellAt(int row, int column, EventObject e)(Code)(Java Doc) public void editingCanceled(ChangeEvent e)(Code)(Java Doc) public void editingStopped(ChangeEvent e)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public boolean getAutoCreateColumnsFromModel()(Code)(Java Doc) public boolean getAutoCreateRowSorter()(Code)(Java Doc) public int getAutoResizeMode()(Code)(Java Doc) public TableCellEditor getCellEditor()(Code)(Java Doc) public TableCellEditor getCellEditor(int row, int column)(Code)(Java Doc) public Rectangle getCellRect(int row, int column, boolean includeSpacing)(Code)(Java Doc) public TableCellRenderer getCellRenderer(int row, int column)(Code)(Java Doc) public boolean getCellSelectionEnabled()(Code)(Java Doc) public TableColumn getColumn(Object identifier)(Code)(Java Doc) public Class> getColumnClass(int column)(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) public TableColumnModel getColumnModel()(Code)(Java Doc) public String getColumnName(int column)(Code)(Java Doc) public boolean getColumnSelectionAllowed()(Code)(Java Doc) public TableCellEditor getDefaultEditor(Class> columnClass)(Code)(Java Doc) public TableCellRenderer getDefaultRenderer(Class> columnClass)(Code)(Java Doc) public boolean getDragEnabled()(Code)(Java Doc) final public DropLocation getDropLocation()(Code)(Java Doc) final public DropMode getDropMode()(Code)(Java Doc) public int getEditingColumn()(Code)(Java Doc) public int getEditingRow()(Code)(Java Doc) public Component getEditorComponent()(Code)(Java Doc) public boolean getFillsViewportHeight()(Code)(Java Doc) public Color getGridColor()(Code)(Java Doc) public Dimension getIntercellSpacing()(Code)(Java Doc) public TableModel getModel()(Code)(Java Doc) public Dimension getPreferredScrollableViewportSize()(Code)(Java Doc) public Printable getPrintable(PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public int getRowHeight()(Code)(Java Doc) public int getRowHeight(int row)(Code)(Java Doc) public int getRowMargin()(Code)(Java Doc) public boolean getRowSelectionAllowed()(Code)(Java Doc) public RowSorter<? extends TableModel> getRowSorter()(Code)(Java Doc) public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public boolean getScrollableTracksViewportHeight()(Code)(Java Doc) public boolean getScrollableTracksViewportWidth()(Code)(Java Doc) public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public int getSelectedColumn()(Code)(Java Doc) public int getSelectedColumnCount()(Code)(Java Doc) public int[] getSelectedColumns()(Code)(Java Doc) public int getSelectedRow()(Code)(Java Doc) public int getSelectedRowCount()(Code)(Java Doc) public int[] getSelectedRows()(Code)(Java Doc) public Color getSelectionBackground()(Code)(Java Doc) public Color getSelectionForeground()(Code)(Java Doc) public ListSelectionModel getSelectionModel()(Code)(Java Doc) public boolean getShowHorizontalLines()(Code)(Java Doc) public boolean getShowVerticalLines()(Code)(Java Doc) public boolean getSurrendersFocusOnKeystroke()(Code)(Java Doc) public JTableHeader getTableHeader()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public TableUI getUI()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getUpdateSelectionOnSort()(Code)(Java Doc) public Object getValueAt(int row, int column)(Code)(Java Doc) protected void initializeLocalVars()(Code)(Java Doc) public boolean isCellEditable(int row, int column)(Code)(Java Doc) public boolean isCellSelected(int row, int column)(Code)(Java Doc) public boolean isColumnSelected(int column)(Code)(Java Doc) public boolean isEditing()(Code)(Java Doc) public boolean isRowSelected(int row)(Code)(Java Doc) public void moveColumn(int column, int targetColumn)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Component prepareEditor(TableCellEditor editor, int row, int column)(Code)(Java Doc) public Component prepareRenderer(TableCellRenderer renderer, int row, int column)(Code)(Java Doc) public boolean print() throws PrinterException(Code)(Java Doc) public boolean print(PrintMode printMode) throws PrinterException(Code)(Java Doc) public boolean print(PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat) throws PrinterException(Code)(Java Doc) public boolean print(PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive) throws PrinterException, HeadlessException(Code)(Java Doc) public boolean print(PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service) throws PrinterException, HeadlessException(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc) public void removeColumn(TableColumn aColumn)(Code)(Java Doc) public void removeColumnSelectionInterval(int index0, int index1)(Code)(Java Doc) public void removeEditor()(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void removeRowSelectionInterval(int index0, int index1)(Code)(Java Doc) protected void resizeAndRepaint()(Code)(Java Doc) public int rowAtPoint(Point point)(Code)(Java Doc) public void selectAll()(Code)(Java Doc) public void setAutoCreateColumnsFromModel(boolean autoCreateColumnsFromModel)(Code)(Java Doc) public void setAutoCreateRowSorter(boolean autoCreateRowSorter)(Code)(Java Doc) public void setAutoResizeMode(int mode)(Code)(Java Doc) public void setCellEditor(TableCellEditor anEditor)(Code)(Java Doc) public void setCellSelectionEnabled(boolean cellSelectionEnabled)(Code)(Java Doc) public void setColumnModel(TableColumnModel columnModel)(Code)(Java Doc) public void setColumnSelectionAllowed(boolean columnSelectionAllowed)(Code)(Java Doc) public void setColumnSelectionInterval(int index0, int index1)(Code)(Java Doc) public void setDefaultEditor(Class> columnClass, TableCellEditor editor)(Code)(Java Doc) public void setDefaultRenderer(Class> columnClass, TableCellRenderer renderer)(Code)(Java Doc) public void setDragEnabled(boolean b)(Code)(Java Doc) final public void setDropMode(DropMode dropMode)(Code)(Java Doc) public void setEditingColumn(int aColumn)(Code)(Java Doc) public void setEditingRow(int aRow)(Code)(Java Doc) public void setFillsViewportHeight(boolean fillsViewportHeight)(Code)(Java Doc) public void setGridColor(Color gridColor)(Code)(Java Doc) public void setIntercellSpacing(Dimension intercellSpacing)(Code)(Java Doc) public void setModel(TableModel dataModel)(Code)(Java Doc) public void setPreferredScrollableViewportSize(Dimension size)(Code)(Java Doc) public void setRowHeight(int rowHeight)(Code)(Java Doc) public void setRowHeight(int row, int rowHeight)(Code)(Java Doc) public void setRowMargin(int rowMargin)(Code)(Java Doc) public void setRowSelectionAllowed(boolean rowSelectionAllowed)(Code)(Java Doc) public void setRowSelectionInterval(int index0, int index1)(Code)(Java Doc) public void setRowSorter(RowSorter<? extends TableModel> sorter)(Code)(Java Doc) public void setSelectionBackground(Color selectionBackground)(Code)(Java Doc) public void setSelectionForeground(Color selectionForeground)(Code)(Java Doc) public void setSelectionMode(int selectionMode)(Code)(Java Doc) public void setSelectionModel(ListSelectionModel newModel)(Code)(Java Doc) public void setShowGrid(boolean showGrid)(Code)(Java Doc) public void setShowHorizontalLines(boolean showHorizontalLines)(Code)(Java Doc) public void setShowVerticalLines(boolean showVerticalLines)(Code)(Java Doc) public void setSurrendersFocusOnKeystroke(boolean surrendersFocusOnKeystroke)(Code)(Java Doc) public void setTableHeader(JTableHeader tableHeader)(Code)(Java Doc) public void setUI(TableUI ui)(Code)(Java Doc) public void setUpdateSelectionOnSort(boolean update)(Code)(Java Doc) public void setValueAt(Object aValue, int row, int column)(Code)(Java Doc) public void sizeColumnsToFit(boolean lastColumnOnly)(Code)(Java Doc) public void sizeColumnsToFit(int resizingColumn)(Code)(Java Doc) public void sorterChanged(RowSorterEvent e)(Code)(Java Doc) public void tableChanged(TableModelEvent e)(Code)(Java Doc) protected void unconfigureEnclosingScrollPane()(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public void valueChanged(ListSelectionEvent e)(Code)(Java Doc)
|
Methods inherited from javax.swing.JComponent | public void addAncestorListener(AncestorListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) final public ActionMap getActionMap()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public AncestorListener[] getAncestorListeners()(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc) public JPopupMenu getComponentPopupMenu()(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public static Locale getDefaultLocale()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public boolean getInheritsPopupMenu()(Code)(Java Doc) final public InputMap getInputMap(int condition)(Code)(Java Doc) final public InputMap getInputMap()(Code)(Java Doc) public InputVerifier getInputVerifier()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public Point getPopupLocation(MouseEvent event)(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public TransferHandler getTransferHandler()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc) public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public static boolean isLightweightComponent(Component c)(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) final public boolean isPaintingForPrint()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintBorder(Graphics g)(Code)(Java Doc) protected void paintChildren(Graphics g)(Code)(Java Doc) protected void paintComponent(Graphics g)(Code)(Java Doc) public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void paintImmediately(Rectangle r)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void printBorder(Graphics g)(Code)(Java Doc) protected void printChildren(Graphics g)(Code)(Java Doc) protected void printComponent(Graphics g)(Code)(Java Doc) protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) final public void putClientProperty(Object key, Object value)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void reshape(int x, int y, int w, int h)(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc) final public void setActionMap(ActionMap am)(Code)(Java Doc) public void setAlignmentX(float alignmentX)(Code)(Java Doc) public void setAlignmentY(float alignmentY)(Code)(Java Doc) public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc) public void setBackground(Color bg)(Code)(Java Doc) public void setBorder(Border border)(Code)(Java Doc) public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc) public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc) public static void setDefaultLocale(Locale l)(Code)(Java Doc) public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setForeground(Color fg)(Code)(Java Doc) public void setInheritsPopupMenu(boolean value)(Code)(Java Doc) final public void setInputMap(int condition, InputMap map)(Code)(Java Doc) public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc) public void setOpaque(boolean isOpaque)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc) protected void setUI(ComponentUI newUI)(Code)(Java Doc) public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc) public void setVisible(boolean aFlag)(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|