Java Doc for JXTable.java in  » Swing-Library » swingx » org » jdesktop » swingx » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » swingx » org.jdesktop.swingx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 class TableSearchable extends AbstractSearchable
Inner Class :protected static class TableAdapter extends ComponentAdapter
Inner Class :public static class NumberRenderer extends DefaultTableCellRenderer
Inner Class :public static class DoubleRenderer extends NumberRenderer
Inner Class :public static class DateRenderer extends DefaultTableCellRenderer
Inner Class :public static class IconRenderer extends DefaultTableCellRenderer
Inner Class :public static class BooleanRenderer extends JCheckBox implements TableCellRenderer
Inner Class :public static class GenericEditor extends DefaultCellEditor
Inner Class :public static class NumberEditor extends GenericEditor
Inner Class :public static class BooleanEditor extends DefaultCellEditor

Field Summary
final public static  StringHORIZONTALSCROLL_ACTION_COMMAND
     Identifier of show horizontal scroll action, used in JXTable's ActionMap.
final public static  StringMATCH_HIGHLIGHTER
     key for client property to use SearchHighlighter as match marker.
final public static  StringPACKALL_ACTION_COMMAND
     Identifier of pack table action, used in JXTable's ActionMap.
final public static  StringPACKSELECTED_ACTION_COMMAND
     Identifier of pack selected column action, used in JXTable's ActionMap.
final public static  StringUIPREFIX
     The prefix marker to find table related properties in the ResourceBundle.
protected  ComponentAdapterdataAdapter
     The ComponentAdapter for model data access.
protected  FilterPipelinefilters
     The FilterPipeline for the table.
protected  HighlighterPipelinehighlighters
     The HighlighterPipeline for the table.
protected  booleanisXTableRowHeightSet
     Flag to distinguish internal settings of rowheight from client code settings.
protected  HighlighterresetDefaultTableCellRendererHighlighter
     The Highlighter used to hack around DefaultTableCellRenderer's color memory.
protected  Searchablesearchable
     property to control search behaviour.

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  voidaddHighlighter(Highlighter highlighter)
     Adds a Highlighter.

If the HighlighterPipeline returned from getHighlighters() is null, creates and sets a new pipeline containing the given Highlighter.

protected  voidadjustComponentOrientation(Component stamp)
     Adjusts the Component's orientation to this JXTable's CO if appropriate.
protected  voidadminSetRowHeight(int rowHeight)
     Sets the rowHeight for all rows to the given value.
public  voidcolumnMarginChanged(ChangeEvent e)
    

Overridden to support enhanced auto-resize behaviour enabled and necessary.

public  voidcolumnPropertyChange(PropertyChangeEvent event)
     Listens to column property changes.
public  voidcolumnRemoved(TableColumnModelEvent e)
     overridden to remove the interactive sorter if the sorted column is no longer contained in the ColumnModel.
public  voidcolumnSelectionChanged(ListSelectionEvent e)
    

Overridden to update the enabled state of the pack selected column Action.

protected  voidconfigureColumnControl()
     Configures the upper trailing corner of an enclosing JScrollPane.
protected  voidconfigureEnclosingScrollPane()
     Configures the enclosing JScrollPane.
public  intconvertRowIndexToModel(int row)
     Convert row index from view coordinates to model coordinates accounting for the presence of sorters and filters.
public  intconvertRowIndexToView(int row)
     Convert row index from model coordinates to view coordinates accounting for the presence of sorters and filters.
protected  JComponentcreateDefaultColumnControl()
     Creates the default column control used by this table.
protected  TableColumnModelcreateDefaultColumnModel()
    

Overridden to return a DefaultTableColumnModelExt.

public  voidcreateDefaultColumnsFromModel()
     Creates, configures and adds default TableColumns for columns in this table's TableModel.
protected  voidcreateDefaultEditors()
     Creates default cell editors for objects, numbers, and boolean values.

Overridden to hook enhanced editors (f.i.

protected  voidcreateDefaultRenderers()
     Creates default cell renderers for objects, numbers, doubles, dates, booleans, and icons.
protected  JTableHeadercreateDefaultTableHeader()
    

Overridden to return a JXTableHeader.

protected  ChangeListenercreateHighlighterChangeListener()
     Creates and returns the ChangeListener observing Highlighters.
protected  TableRolloverControllercreateLinkController()
    
protected  PipelineListenercreatePipelineListener()
     creates the listener for changes in filters.
protected  RolloverProducercreateRolloverProducer()
     creates and returns the RolloverProducer to use.
public  voiddoLayout()
     Layouts column width.
public  TableCellRenderergetCellRenderer(int row, int column)
    

Overridden to fix core bug #4614616 (NPE if TableModel's Class for the column is an interface).

public  TableColumngetColumn(int viewColumnIndex)
     Returns the TableColumn at view position columnIndex.
public  JComponentgetColumnControl()
     Returns the component used as column control.
public  intgetColumnCount(boolean includeHidden)
     Returns the number of contained columns.
public  TableColumnExtgetColumnExt(Object identifier)
     Returns the first TableColumnExt with the given identifier.
public  TableColumnExtgetColumnExt(int viewColumnIndex)
     Returns the TableColumnExt at view position columnIndex.
public  ColumnFactorygetColumnFactory()
     Returns the ColumnFactory.
public  intgetColumnMargin()
     Returns the margin between columns.
public  List<TableColumn>getColumns()
     Returns a List of visible TableColumns.
public  List<TableColumn>getColumns(boolean includeHidden)
     Returns a List of contained TableColumns. Includes or excludes invisible columns, depending on whether the includeHidden is true or false, respectively.
protected  ComponentAdaptergetComponentAdapter()
    
protected  ComponentAdaptergetComponentAdapter(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  booleangetFillsViewportHeight()
     Returns the flag which controls the scrollableTracksViewportHeight property.
protected  PipelineListenergetFilterPipelineListener()
     returns the listener for changes in filters.
public  FilterPipelinegetFilters()
     Returns the FilterPipeline for the table.
protected  ChangeListenergetHighlighterChangeListener()
     Returns the ChangeListener to use with highlighters.
public  HighlighterPipelinegetHighlighters()
     Returns the HighlighterPipeline assigned to the table, null if none.
protected  TableRolloverControllergetLinkController()
    
public  TableCellRenderergetNewDefaultRenderer(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  DimensiongetPreferredScrollableViewportSize()
    

TODO JW: refactor and comment.

public  intgetRowCount()
     Returns the row count in the table; if filters are applied, this is the filtered row count.
protected  SizeSequenceMappergetRowModelMapper()
     Returns the mapper used synch individual rowHeights in view/model coordinates.
public  booleangetScrollableTracksViewportHeight()
    

Overridden to control the tracksHeight property depending on fillsViewportHeight and relative size to containing parent.

public  booleangetScrollableTracksViewportWidth()
    

Overridden to support enhanced auto-resize behaviour enabled and necessary.

public  SearchablegetSearchable()
    
public  SelectionMappergetSelectionMapper()
    
public  intgetSelectionMode()
     Returns the selection mode used by this table's selection model.
protected  SortControllergetSortController()
     returns the currently active SortController.
public  SortOrdergetSortOrder(int columnIndex)
     Returns the SortOrder of the given column.
public  SortOrdergetSortOrder(Object identifier)
     Returns the SortOrder of the given column.
public  TableColumngetSortedColumn()
    
public  ObjectgetValueAt(int row, int column)
     Overridden to account for row index mapping.
public  intgetVisibleRowCount()
     Returns the preferred number of rows to show in a JScrollPane.
protected  voidinitializeColumnPreferredWidth(TableColumn column)
     Initialize the preferredWidth of the specified column based on the column's prototypeValue property.
public  booleanisAutoStartEditOnKeyStroke()
     Returns the autoStartsEdit property.
public  booleanisCellEditable(int row, int column)
     Returns true if the cell at row and column is editable.
public  booleanisColumnControlVisible()
     Returns the column control visible property.
protected  booleanisDataChanged(TableModelEvent e)
     Convenience method to detect dataChanged table event type.
Parameters:
  e - the event to examine.
public  booleanisEditable()
     Returns the editable property of the JXTable as a whole.
public  booleanisHorizontalScrollEnabled()
     Returns the current setting for horizontal scrolling.
public  booleanisRolloverEnabled()
     Returns the rolloverEnabled property.
public  booleanisRowHeightEnabled()
     Returns a boolean to indicate whether individual row height is enabled.
public  booleanisSortable()
     Returns the table's sortable property. true if the table is sortable.
protected  booleanisSortable(int columnIndex)
     Decides if the column at columnIndex can be interactively sorted.
protected  booleanisSortable(Object identifier)
     Decides if the column with identifier can be interactively sorted.
protected  booleanisStructureChanged(TableModelEvent e)
     Convenience method to detect a structureChanged table event type.
Parameters:
  e - the event to examine.
public  booleanisTerminateEditOnFocusLost()
     Returns the property which determines the edit termination behaviour on focus lost.
protected  booleanisUpdate(TableModelEvent e)
     Convenience method to detect update table event type.
Parameters:
  e - the event to examine.
public  voidpackAll()
     Resizes all columns to fit their content.
public  voidpackColumn(int column, int margin)
     Packs an indivudal column in the table.
public  voidpackColumn(int column, int margin, int max)
     Packs an indivual column in the table to less than or equal to the maximum witdth.
public  voidpackSelected()
     Resizes the lead column to fit its content.
public  voidpackTable(int margin)
     Packs all the columns to their optimal size.
public  ComponentprepareEditor(TableCellEditor editor, int row, int column)
    

Overridden to adjust the editor's component orientation.

public  ComponentprepareRenderer(TableCellRenderer renderer, int row, int column)
     Returns the decorated Component used as a stamp to render the specified cell.
public  voidremoveHighlighter(Highlighter highlighter)
     Removes the Highlighter.
protected  voidresetDefaultTableCellRendererColors(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  voidresetDefaultTableCellRendererColors(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  voidresetSortOrder()
     Resets sorting of all columns.
public  introwAtPoint(Point point)
    

Overridden to work around core Bug (ID #6291631): negative y is mapped to row 0).

public  voidscrollCellToVisible(int row, int column)
     Scrolls to make the cell at row and column visible.
public  voidscrollColumnToVisible(int column)
     Scrolls horizontally to make the given column visible.
public  voidscrollRowToVisible(int row)
     Scrolls vertically to make the given row visible.
public  voidsetAutoResizeMode(int mode)
    

Overridden for internal bookkeeping related to the enhanced auto-resize behaviour.

public  voidsetAutoStartEditOnKeyStroke(boolean autoStart)
     Sets the autoStartsEdit property.
public  voidsetColumnControl(JComponent columnControl)
     Sets the component used as column control.
public  voidsetColumnControlVisible(boolean visible)
     Sets the column control visible property.
public  voidsetColumnFactory(ColumnFactory columnFactory)
     Sets the ColumnFactory to use for column creation and configuration.
public  voidsetColumnMargin(int value)
     Sets the margin between columns.
public  voidsetColumnSequence(Object[] identifiers)
     Reorders the columns in the sequence given array.
public  voidsetComponentOrientation(ComponentOrientation o)
     Sets the language-sensitive orientation that is to be used to order the elements or text within this component.
public  voidsetDefaultMargins(boolean showHorizontalLines, boolean showVerticalLines)
     Convenience to set both grid line visibility and default margin for horizontal/vertical lines.
public  voidsetEditable(boolean editable)
     Sets the editable property.
public  voidsetFillsViewportHeight(boolean fillsViewportHeight)
     Sets the flag which controls the scrollableTracksViewportHeight property.
public  voidsetFilters(FilterPipeline pipeline)
     Sets the FilterPipeline for filtering table rows, maybe null to remove all previously applied filters.
public  voidsetHighlighters(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  voidsetHighlighters(Highlighter... highlighters)
     Sets the Highlighters to the table, replacing any old settings. Maybe null to remove all highlighters.


Parameters:
  highlighters - the highlighters to use for renderer decoration.

public  voidsetHorizontalScrollEnabled(boolean enabled)
     Sets the enablement of enhanced horizontal scrolling.
public  voidsetModel(TableModel newModel)
    
public  voidsetRolloverEnabled(boolean rolloverEnabled)
     Property to enable/disable rollover support.
public  voidsetRowHeight(int rowHeight)
    

Overriden to keep view/model coordinates of SizeSequence in synch.

public  voidsetRowHeight(int row, int rowHeight)
    

Does nothing if support of individual rowHeights is not enabled.

public  voidsetRowHeightEnabled(boolean enabled)
     Sets enablement of individual rowHeight support.
public  voidsetSearchable(Searchable searchable)
     sets the Searchable for this editor.
public  voidsetSelectionModel(ListSelectionModel newModel)
    
public  voidsetShowGrid(boolean showHorizontalLines, boolean showVerticalLines)
     Convenience to set both grid line visibility and default margin for horizontal/vertical lines.
public  voidsetSortOrder(int columnIndex, SortOrder sortOrder)
     Sorts the table by the given column using SortOrder.
public  voidsetSortOrder(Object identifier, SortOrder sortOrder)
     Sorts the table by the given column using the SortOrder.
public  voidsetSortable(boolean sortable)
     Sets "sortable" property indicating whether or not this table supports sortable columns.
public  voidsetTerminateEditOnFocusLost(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  voidsetValueAt(Object aValue, int row, int column)
     Overridden to account for row index mapping.
public  voidsetVisibleRowCount(int visibleRowCount)
     Sets the preferred number of rows to show in a JScrollPane.
public  voidtableChanged(TableModelEvent e)
     additionally updates filtered state.
public  voidtoggleSortOrder(int columnIndex)
     Toggles the sort order of the column at columnIndex.

The exact behaviour is defined by the SortController's toggleSortOrder implementation.

public  voidtoggleSortOrder(Object identifier)
     Toggles the sort order of the column with identifier.

The exact behaviour is defined by the SortController's toggleSortOrder implementation.

protected  voidupdateHighlighterUI()
     Updates highlighter after updateUI changes.
protected  voidupdateHorizontalAction()
     Synchs selected state of horizontal scrolling Action to enablement of enhanced auto-resize behaviour.
protected  voidupdateOnFilterContentChanged()
     method called on change notification from filterpipeline.
protected  voidupdateRowHeightUI(boolean respectRowSetFlag)
     Auto-adjusts rowHeight to something more pleasing then the default.
public  voidupdateUI()
    

Additionally updates auto-adjusted row height and highlighters.

protected  voidupdateViewSizeSequence()
     Called if individual row height mapping need to be updated.

Field Detail
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.



dataAdapter
protected ComponentAdapter dataAdapter(Code)
The ComponentAdapter for model data access.



filters
protected FilterPipeline filters(Code)
The FilterPipeline for the table.



highlighters
protected HighlighterPipeline highlighters(Code)
The HighlighterPipeline for the table.



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.




Constructor Detail
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)(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.




Method Detail
addHighlighter
public void addHighlighter(Highlighter highlighter)(Code)
Adds a Highlighter.

If the HighlighterPipeline returned from getHighlighters() is null, creates and sets a new pipeline containing the given Highlighter. Else, appends the Highlighter to the end of the pipeline.
Parameters:
  highlighter - the Highlighter to add.
throws:
  NullPointerException - if Highlighter is null.
See Also:   JXTable.removeHighlighter(Highlighter)
See Also:   JXTable.setHighlighters(HighlighterPipeline)




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



columnMarginChanged
public void columnMarginChanged(ChangeEvent e)(Code)

Overridden to support enhanced auto-resize behaviour enabled and necessary.
See Also:   JXTable.setHorizontalScrollEnabled(boolean)




columnPropertyChange
public void columnPropertyChange(PropertyChangeEvent event)(Code)
Listens to column property changes.



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.




configureColumnControl
protected void configureColumnControl()(Code)
Configures the upper trailing corner of an enclosing JScrollPane. Adds/removes the ColumnControl depending on the columnControlVisible property.


See Also:   JXTable.setColumnControlVisible(boolean)
See Also:   JXTable.setColumnControl(JComponent)




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



createDefaultColumnControl
protected JComponent createDefaultColumnControl()(Code)
Creates the default column control used by this table. This implementation returns a ColumnControlButton configured with default ColumnControlIcon. the default component used as column control.
See Also:   JXTable.setColumnControl(JComponent)
See Also:   org.jdesktop.swingx.table.ColumnControlButton
See Also:   org.jdesktop.swingx.icon.ColumnControlIcon



createDefaultColumnModel
protected TableColumnModel createDefaultColumnModel()(Code)

Overridden to return a DefaultTableColumnModelExt.
See Also:   org.jdesktop.swingx.table.DefaultTableColumnModelExt




createDefaultColumnsFromModel
public void createDefaultColumnsFromModel()(Code)
Creates, configures and adds default TableColumns for columns in this table's TableModel. Removes all currently contained TableColumns. 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)




createDefaultTableHeader
protected JTableHeader createDefaultTableHeader()(Code)

Overridden to return a JXTableHeader.
See Also:   JXTableHeader




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



doLayout
public void doLayout()(Code)
Layouts column width. The exact behaviour depends on the autoResizeMode property.

Overridden to support enhanced auto-resize behaviour enabled and necessary.
See Also:   JXTable.setAutoResizeMode(int)
See Also:   JXTable.setHorizontalScrollEnabled(boolean)




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)




getColumnControl
public JComponent getColumnControl()(Code)
Returns the component used as column control. Lazily creates the control to the default if it is null. component for column control, guaranteed to be != null.
See Also:   JXTable.setColumnControl(JComponent)
See Also:   JXTable.createDefaultColumnControl()



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:   



getColumnExt
public TableColumnExt getColumnExt(Object identifier)(Code)
Returns the first TableColumnExt with the given identifier. The return value is null if there is no contained column with identifier or if the column with identifier is not of type TableColumnExt. The returned column may be visible or hidden.
Parameters:
  identifier - the object used as column identifier first TableColumnExt with the given identifier ornull if none is found
See Also:   JXTable.getColumnExt(int)
See Also:   JXTable.getColumn(Object)
See Also:   TableColumnModelExt.getColumnExt(Object)
See Also:   



getColumnExt
public TableColumnExt getColumnExt(int viewColumnIndex)(Code)
Returns the TableColumnExt at view position columnIndex. The return value is null, if the column at position columnIndex is not of type TableColumnExt. The returned column is visible.
Parameters:
  viewColumnIndex - the index of the column desired the TableColumnExt object that matches the columnindex
throws:
  ArrayIndexOutOfBoundsException - if columnIndex out of allowedrange, that is if (columnIndex < 0) || (columnIndex >= getColumnCount()).
See Also:   JXTable.getColumnExt(Object)
See Also:   JXTable.getColumn(int)
See Also:   TableColumnModelExt.getColumnExt(int)



getColumnFactory
public ColumnFactory getColumnFactory()(Code)
Returns the ColumnFactory.

the columnFactory to use for column creation andconfiguration.
See Also:   JXTable.setColumnFactory(ColumnFactory)
See Also:   org.jdesktop.swingx.table.ColumnFactory




getColumnMargin
public int getColumnMargin()(Code)
Returns the margin between columns.

Convenience to expose column model properties through JXTable api. the margin between columns
See Also:   JXTable.setColumnMargin(int)
See Also:   TableColumnModel.getColumnMargin




getColumns
public List<TableColumn> getColumns()(Code)
Returns a List of visible TableColumns. a List of visible columns.
See Also:   JXTable.getColumns(boolean)



getColumns
public List<TableColumn> getColumns(boolean includeHidden)(Code)
Returns a List of contained TableColumns. 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()(Code)
the unconfigured ComponentAdapter.



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.



getFillsViewportHeight
public boolean getFillsViewportHeight()(Code)
Returns the flag which controls the scrollableTracksViewportHeight property. true if the table's height will always be at least as largeas the containing parent, false if it is independent
See Also:   JXTable.setFillsViewportHeight(boolean)
See Also:   JXTable.getScrollableTracksViewportHeight()



getFilterPipelineListener
protected PipelineListener getFilterPipelineListener()(Code)
returns the listener for changes in filters.



getFilters
public FilterPipeline getFilters()(Code)
Returns the FilterPipeline for the table.



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



getHighlighters
public HighlighterPipeline getHighlighters()(Code)
Returns the HighlighterPipeline assigned to the table, null if none. the HighlighterPipeline assigned to the table.
See Also:   JXTable.setHighlighters(HighlighterPipeline)



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.



getRowModelMapper
protected SizeSequenceMapper getRowModelMapper()(Code)
Returns the mapper used synch individual rowHeights in view/model coordinates. the SizeSequenceMapper used to synch view/modelcoordinates for individual row heights
See Also:   org.jdesktop.swingx.decorator.SizeSequenceMapper



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)




getScrollableTracksViewportWidth
public boolean getScrollableTracksViewportWidth()(Code)

Overridden to support enhanced auto-resize behaviour enabled and necessary.
See Also:   JXTable.setHorizontalScrollEnabled(boolean)




getSearchable
public Searchable getSearchable()(Code)
a not-null Searchable for this editor.



getSelectionMapper
public SelectionMapper getSelectionMapper()(Code)
SelectionMapper



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




isAutoStartEditOnKeyStroke
public boolean isAutoStartEditOnKeyStroke()(Code)
Returns the autoStartsEdit property. boolean to indicate whether a keyStroke should try to startediting.
See Also:   JXTable.setAutoStartEditOnKeyStroke(boolean)



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



isColumnControlVisible
public boolean isColumnControlVisible()(Code)
Returns the column control visible property.

boolean to indicate whether the column control is visible.
See Also:   JXTable.setColumnControlVisible(boolean)
See Also:   JXTable.setColumnControl(JComponent)




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



isHorizontalScrollEnabled
public boolean isHorizontalScrollEnabled()(Code)
Returns the current setting for horizontal scrolling. the enablement of enhanced horizontal scrolling.
See Also:   JXTable.setHorizontalScrollEnabled(boolean)



isRolloverEnabled
public boolean isRolloverEnabled()(Code)
Returns the rolloverEnabled property. true if rollover is enabled



isRowHeightEnabled
public boolean isRowHeightEnabled()(Code)
Returns a boolean to indicate whether individual row height is enabled. a boolean to indicate whether individual row height support isenabled.
See Also:   JXTable.setRowHeightEnabled(boolean)
See Also:   JXTable.setRowHeight(int,int)



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.




packTable
public void packTable(int margin)(Code)
Packs all the columns to their optimal size. Works best with auto resizing turned off.
Parameters:
  margin - the margin to apply to each column.
See Also:   JXTable.packColumn(int,int)
See Also:   JXTable.packColumn(int,int,int)



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




removeHighlighter
public void removeHighlighter(Highlighter highlighter)(Code)
Removes the Highlighter.

Does nothing if the HighlighterPipeline is null or does not contain the given Highlighter.
Parameters:
  highlighter - the highlighter to remove.
See Also:   JXTable.addHighlighter(Highlighter)
See Also:   JXTable.setHighlighters(HighlighterPipeline)




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



resetDefaultTableCellRendererColors
protected void resetDefaultTableCellRendererColors(Component 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 after calling super, but before applying the HighlighterPipeline. 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:   JXTable.resetDefaultTableCellRendererColors(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)




scrollColumnToVisible
public void scrollColumnToVisible(int column)(Code)
Scrolls horizontally to make the given 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:
  column - the view column index of the cell
See Also:   JXTable.scrollRowToVisible(int)
See Also:   JXTable.scrollCellToVisible(int,int)
See Also:   JXTable.scrollRectToVisible(Rectangle)




scrollRowToVisible
public void scrollRowToVisible(int row)(Code)
Scrolls vertically to make the given row 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
See Also:   JXTable.scrollColumnToVisible(int)
See Also:   JXTable.scrollCellToVisible(int,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)




setColumnFactory
public void setColumnFactory(ColumnFactory columnFactory)(Code)
Sets the ColumnFactory to use for column creation and configuration. The default value is the shared application ColumnFactory.
Parameters:
  columnFactory - the factory to use, null indicatesto use the shared application factory.
See Also:   JXTable.getColumnFactory()
See Also:   org.jdesktop.swingx.table.ColumnFactory



setColumnMargin
public void setColumnMargin(int value)(Code)
Sets the margin between columns. Convenience to expose column model properties through JXTable api.
Parameters:
  value - margin between columns; must be greater than or equal tozero.
See Also:   JXTable.getColumnMargin()
See Also:   TableColumnModel.setColumnMargin(int)



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.



setHighlighters
public void setHighlighters(HighlighterPipeline pipeline)(Code)
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.
See Also:   JXTable.getHighlighters()
See Also:   JXTable.addHighlighter(Highlighter)
See Also:   JXTable.removeHighlighter(Highlighter)




setHighlighters
public void setHighlighters(Highlighter... highlighters)(Code)
Sets the Highlighters to the table, replacing any old settings. Maybe null to remove all highlighters.


Parameters:
  highlighters - the highlighters to use for renderer decoration.
See Also:   JXTable.getHighlighters()
See Also:   JXTable.addHighlighter(Highlighter)
See Also:   JXTable.removeHighlighter(Highlighter)




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()




setModel
public void setModel(TableModel newModel)(Code)



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 -



setSelectionModel
public void setSelectionModel(ListSelectionModel newModel)(Code)
Overridden to update selectionMapper



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()




tableChanged
public void tableChanged(TableModelEvent e)(Code)
additionally updates filtered state.



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.



Fields inherited from javax.swing.JTable
final public static int AUTO_RESIZE_ALL_COLUMNS(Code)(Java Doc)
final public static int AUTO_RESIZE_LAST_COLUMN(Code)(Java Doc)
final public static int AUTO_RESIZE_NEXT_COLUMN(Code)(Java Doc)
final public static int AUTO_RESIZE_OFF(Code)(Java Doc)
final public static int AUTO_RESIZE_SUBSEQUENT_COLUMNS(Code)(Java Doc)
protected boolean autoCreateColumnsFromModel(Code)(Java Doc)
protected int autoResizeMode(Code)(Java Doc)
protected transient TableCellEditor cellEditor(Code)(Java Doc)
protected boolean cellSelectionEnabled(Code)(Java Doc)
protected TableColumnModel columnModel(Code)(Java Doc)
protected TableModel dataModel(Code)(Java Doc)
protected transient Hashtable defaultEditorsByColumnClass(Code)(Java Doc)
protected transient Hashtable defaultRenderersByColumnClass(Code)(Java Doc)
protected transient int editingColumn(Code)(Java Doc)
protected transient int editingRow(Code)(Java Doc)
protected transient Component editorComp(Code)(Java Doc)
protected Color gridColor(Code)(Java Doc)
protected Dimension preferredViewportSize(Code)(Java Doc)
protected int rowHeight(Code)(Java Doc)
protected int rowMargin(Code)(Java Doc)
protected boolean rowSelectionAllowed(Code)(Java Doc)
protected Color selectionBackground(Code)(Java Doc)
protected Color selectionForeground(Code)(Java Doc)
protected ListSelectionModel selectionModel(Code)(Java Doc)
protected boolean showHorizontalLines(Code)(Java Doc)
protected boolean showVerticalLines(Code)(Java Doc)
protected JTableHeader tableHeader(Code)(Java Doc)

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)

Fields inherited from javax.swing.JComponent
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(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)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.