Java: Swing: Components: Known client properties
1.5.0 verified | Component | Key | Value type | Use |
|---|---|---|---|---|
JComponent | nextFocus | JComponent | JComponent: = nextFocusableComponent | |
JComponent | ToolTipText | String | JComponent: = toolTipText | |
X | JComponent | labeledBy | Accessible / JLabel? | JLabel sets in setLabelFor JComponent.AccessibleJComponent: for getAccessibleName/Description |
JComponent | _WhenInFocusedWindow | Hashtable | JComponent (InputMap code) | |
JComponent | layeredContainerLayer | Integer | JLayeredPane | |
AbstractButton | hideActionText | Boolean | AbstractButton: takes text from action unless true JButton JToolBar: sets | |
X | JDesktopPane | JDesktopPane.dragMode | Boolean | DefaultDesktopManager |
X | JInternalFrame | wasIconOnce | Boolean | DefaultDesktopManager |
X | JEditorPane | charset | String | JEditorPane, html/FrameView |
X | JTextComponent | caretAspectRatio, caretWidth | Number, Integer | DefaultCaret |
X | JPasswordField | JPasswordField.cutCopyAllowed | Boolean | JPasswordField DefaultCaret |
X | JTable | JTable.autoStartsEdit | Boolean | start editing on key press? MetalFileChooserUI: set to false WindowsFileChooserUI: set to false |
X | JTable | terminateEditOnFocusLost | Boolean | JTable |
X | JComponent | SpringLayout.class | SpringLayout.Constraints | SpringLayout |
AbstractButton | instance of BasicButtonUI | BasicButtonListener | BasicButtonUI and subclasses store the listener (they have a shared ButtonUI class, so the listener cannot be stored there) | |
JRootPane | initialDefaultButton | JButton | BasicButtonListener: reads from JRootPane and sets default button | |
JRootPane | temporaryDefaultButton | JButton | BasicButtonListener BasicRootPaneUI | |
X | JComponent | JComboBox.isTableCellEditor | Boolean | DefaultCellEditor: sets BasicComboBoxUI different selection behaviour |
X | many | html | View | View for HTML support AbstractButton JLabel SwingUtilities BasicLabelUI BasicMenuItemUI BasicRadioButtonUI, BasicToggleButtonUI BasicToolTipUI BasicTabbedPane MetalRadioButtonUI MotifGraphicsUtils |
many | html.base | URL (safe) | BasicHTML: setBase on parsed HTMLDocuments | |
JMenuItem | maxTextWidth / maxAccWidth | Integer | BasicMenuItem: internally set/read | |
JToolBar | JToolBar.focusedCompIndex | Integer | BasicToolBar | |
JToolBar | JToolBar.isRollover | Boolean | BasicToolBar WindowsFileChooser: sets | |
JInternalFrame | JInternalFrame.messageType | Integer | MetalBorders, MetalInternalFrameTitlePane | |
JButton (internal) | paintActive | Boolean | MetalIconFactory MetalTitlePane: sets MetalInternalFrameTitlePane: sets | |
JInternalFrame | JInternalFrame.isPalette | Boolean | MetalInternalFrameUI | |
JScrollBar | JScrollBar.isFreeStanding | Boolean | MetalScrollBarUI MetalScrollPaneUI: sets | |
JTree | JTree.lineStyle | set of possible Strings | MetalTreeUI | |
X | JSlider | JSlider.isFilled Slider.paintThumbArrowShape | Boolean Boolean | DefaultRGBChooserPanel: sets to true MetalSliderUI honors |
JComboBox | JComboBox.lightweightKeyboardNavigation | set of possible Strings | MetalFileChooser sets WindowsFileChooser sets | |
JInternalFrame | JInternalFrame.frameType | set of possible Strings | JOptionPane: sets WindowsDesktopManager |
(C) 2001-2009 Christian Kaufhold (swing@chka.de)