Available Methods
- addTab ( )
- add ( )
- TOP
- setSelectedIndex ( )
- getTabCount ( )
- addChangeListener ( )
- SCROLL_TAB_LAYOUT
- RIGHT
- setPreferredSize ( )
- getSelectedIndex ( )
- getComponentAt ( )
- getComponents ( )
- insertTab ( )
- LEFT
- BOTTOM
- setTabLayoutPolicy ( )
- getSelectedComponent ( )
- HORIZONTAL
- setTabComponentAt ( )
- addMouseListener ( )
- setTabPlacement ( )
- getTabPlacement ( )
- revalidate ( )
- getUI ( )
- putClientProperty ( )
- setForeground ( )
- setFocusable ( )
- setSize ( )
- getTitleAt ( )
Related Classes
- java.io.File
- java.awt.Color
- java.awt.event.ActionEvent
- java.awt.event.ActionListener
- javax.swing.JPanel
- java.awt.Dimension
- javax.swing.JFrame
- java.awt.Font
- java.awt.event.MouseEvent
- javax.swing.JLabel
- javax.swing.JButton
- java.awt.event.KeyEvent
- java.awt.BorderLayout
- javax.swing.JOptionPane
- java.awt.Component
- javax.swing.JScrollPane
- java.awt.event.WindowEvent
- java.awt.Rectangle
- java.awt.Toolkit
- javax.swing.JTextField
- javax.swing.SwingUtilities
- javax.swing.ImageIcon
- javax.swing.JComponent
- java.awt.event.WindowAdapter
- javax.swing.JCheckBox
Java Code Examples for javax.swing.JTabbedPane#putClientProperty()
The following examples show how to use
javax.swing.JTabbedPane#putClientProperty() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BoxTabbedPaneUI.java From pumpernickel with MIT License | 5 votes |
protected Data getData(JTabbedPane tabs) { Data d = (Data) tabs.getClientProperty(PROPERTY_DATA); if (d == null) { d = new Data(tabs); tabs.putClientProperty(PROPERTY_DATA, d); } return d; }
Example 2
Source File: SubstanceExtrasCortex.java From radiance with BSD 3-Clause "New" or "Revised" License | 2 votes |
/** * Sets the tab preview painter to be used for all tabs of the specified tabbed pane. * * @param tabbedPane * Tabbed pane. * @param tabPreviewPainter * Preview painter to be used for all tabs of the tabbed pane. Can be * <code>null</code>. */ public static void setTabPanePreviewPainter(JTabbedPane tabbedPane, TabPreviewPainter tabPreviewPainter) { tabbedPane.putClientProperty(SubstanceExtrasSynapse.TABBED_PANE_PREVIEW_PAINTER, tabPreviewPainter); }