(Automatically generated from BeanInfo)
Generated Object
A javax.swing.JTable is returned, unless the user passes in a subclass of JTable as the value argument, in which case the value argument is returned.
Attributes
Declared in javax.swing.JTable
- UI <TableUI> The UI object that implements the Component's LookAndFeel.
- autoCreateColumnsFromModel <boolean> Automatically populates the columnModel when a new TableModel is submitted.
- autoResizeMode <int> Whether the columns should adjust themselves automatically.
- cellEditor <TableCellEditor> The table's active cell editor.
- cellSelectionEnabled <boolean> Select a rectangular region of cells rather than rows or columns.
- columnModel <TableColumnModel> The object governing the way columns appear in the view.
- columnSelectionAllowed <boolean> If true, an entire column is selected for each selected cell.
- dragEnabled <boolean> determines whether automatic drag handling is enabled
- gridColor <Color> The grid color.
- intercellSpacing <Dimension> The spacing between the cells, drawn in the background color of the JTable.
- model <TableModel> The model that is the source of the data for this view.
- preferredScrollableViewportSize <Dimension> The preferred size of the viewport.
- rowMargin <int> The amount of space between cells.
- rowSelectionAllowed <boolean> If true, an entire row is selected for each selected cell.
- selectionBackground <Color> A default background color for selected cells.
- selectionForeground <Color> A default foreground color for selected cells.
- selectionModel <ListSelectionModel> The selection model for rows.
- showHorizontalLines <boolean> Whether horizontal lines should be drawn in between the cells.
- showVerticalLines <boolean> Whether vertical lines should be drawn in between the cells.
- tableHeader <JTableHeader> The JTableHeader instance which renders the column headers.
- columnCount <int>
- editing <boolean>
- editingColumn <int>
- editingRow <int>
- editorComponent <Component>
- rowCount <int>
- scrollableTracksViewportHeight <boolean>
- scrollableTracksViewportWidth <boolean>
- selectedColumn <int>
- selectedColumnCount <int>
- selectedColumns <int[]>
- selectedRow <int>
- selectedRowCount <int>
- selectedRows <int[]>
- surrendersFocusOnKeystroke <boolean>
Declared in javax.swing.JComponent
- autoscrolls <boolean> Determines if this component automatically scrolls its contents when dragged.
- border <Border> The component's border.
- componentPopupMenu <JPopupMenu> Popup to show
- debugGraphicsOptions <int> Diagnostic options for graphics operations.
- inheritsPopupMenu <boolean> Whether or not the JPopupMenu is inherited
- inputVerifier <InputVerifier> The component's input verifier.
- opaque <boolean> The component's opacity
- toolTipText <String> The text to display in a tool tip.
- transferHandler <TransferHandler> Mechanism for transfer of data to and from the component
- verifyInputWhenFocusTarget <boolean> Whether the Component verifies input before accepting focus.
- UIClassID <String>
- accessibleContext <AccessibleContext>
- actionMap <ActionMap>
- doubleBuffered <boolean>
- graphics <Graphics>
- height <int>
- managingFocus <boolean>
- nextFocusableComponent <Component>
- optimizedDrawingEnabled <boolean>
- paintingTile <boolean>
- registeredKeyStrokes <KeyStroke[]>
- requestFocusEnabled <boolean>
- rootPane <JRootPane>
- topLevelAncestor <Container>
- validateRoot <boolean>
- visibleRect <Rectangle>
- width <int>
- x <int>
- y <int>
Declared in java.awt.Container
- alignmentX <float>
- alignmentY <float>
- componentCount <int>
- components <Component[]>
- focusCycleRoot <boolean>
- focusTraversalPolicy <FocusTraversalPolicy>
- focusTraversalPolicyProvider <boolean>
- focusTraversalPolicySet <boolean>
- insets <Insets>
- layout <LayoutManager>
- maximumSize <Dimension>
- minimumSize <Dimension>
- preferredSize <Dimension>
Declared in java.awt.Component
- background <Color>
- enabled <boolean>
- focusable <boolean>
- font <Font>
- foreground <Color>
- name <String>
- visible <boolean>
Events
Declared in javax.swing.JComponent
- vetoableChange (PropertyChangeEvent) - part of VetoableChangeListener
- ancestorMoved (AncestorEvent) - part of AncestorListener
- ancestorAdded (AncestorEvent) - part of AncestorListener
- ancestorRemoved (AncestorEvent) - part of AncestorListener
Declared in java.awt.Container
- componentAdded (ContainerEvent) - part of ContainerListener
- componentRemoved (ContainerEvent) - part of ContainerListener
Declared in java.awt.Component
- keyPressed (KeyEvent) - part of KeyListener
- keyReleased (KeyEvent) - part of KeyListener
- keyTyped (KeyEvent) - part of KeyListener
- componentHidden (ComponentEvent) - part of ComponentListener
- componentMoved (ComponentEvent) - part of ComponentListener
- componentResized (ComponentEvent) - part of ComponentListener
- componentShown (ComponentEvent) - part of ComponentListener
- hierarchyChanged (HierarchyEvent) - part of HierarchyListener
- mouseClicked (MouseEvent) - part of MouseListener
- mouseEntered (MouseEvent) - part of MouseListener
- mouseExited (MouseEvent) - part of MouseListener
- mousePressed (MouseEvent) - part of MouseListener
- mouseReleased (MouseEvent) - part of MouseListener
- mouseDragged (MouseEvent) - part of MouseMotionListener
- mouseMoved (MouseEvent) - part of MouseMotionListener
- propertyChange (PropertyChangeEvent) - part of PropertyChangeListener
- ancestorMoved (HierarchyEvent) - part of HierarchyBoundsListener
- ancestorResized (HierarchyEvent) - part of HierarchyBoundsListener
- focusGained (FocusEvent) - part of FocusListener
- focusLost (FocusEvent) - part of FocusListener
- mouseWheelMoved (MouseWheelEvent) - part of MouseWheelListener
- caretPositionChanged (InputMethodEvent) - part of InputMethodListener
- inputMethodTextChanged (InputMethodEvent) - part of InputMethodListener
Content
Usage
Examples
Observable Attributes
- UI
- alignmentX
- alignmentY
- autoCreateColumnsFromModel
- autoResizeMode
- background
- border
- cellEditor
- cellSelectionEnabled
- columnModel
- columnSelectionAllowed
- component
- componentCount
- componentPopupMenu
- components
- containerListeners
- enabled
- focusCycleRoot
- focusTraversalKeys
- focusTraversalPolicy
- focusTraversalPolicyProvider
- focusTraversalPolicySet
- focusable
- font
- foreground
- gridColor
- inheritsPopupMenu
- inputVerifier
- insets
- layout
- maximumSize
- minimumSize
- model
- opaque
- preferredSize
- rowMargin
- rowSelectionAllowed
- selectionBackground
- selectionForeground
- selectionModel
- showHorizontalLines
- showVerticalLines
- tableHeader
- transferHandler
- verifyInputWhenFocusTarget