All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.jlf.JLFTabbedPaneUI

java.lang.Object
    |
    +----java.awt.swing.plaf.ComponentUI
            |
            +----java.awt.swing.plaf.TabbedPaneUI
                    |
                    +----java.awt.swing.jlf.JLFTabbedPaneUI

public class JLFTabbedPaneUI
extends TabbedPaneUI
implements MouseListener, ActionListener, LayoutManager, ChangeListener
A Java L&F implementation of TabbedPaneUI.


Constructor Index

 o JLFTabbedPaneUI()

Method Index

 o actionPerformed(ActionEvent)
 o addLayoutComponent(String, Component)
 o buildPopup()
 o calcMaxItemHeightAndWidth(Graphics, JComponent)
 o calculateTabDimensions(Graphics, JComponent)
 o createUI(JComponent)
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o getTabBounds(JTabbedPane, int)
Override from TabbedPaneUI.
 o getVisibleComponent(JTabbedPane)
 o installUI(JComponent)
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o mouseClicked(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o paint(Graphics, JComponent)
 o preferredLayoutSize(Container)
 o relocateControls(Graphics, JComponent)
 o removeComponent(JTabbedPane, Component)
 o removeLayoutComponent(Component)
 o stateChanged(ChangeEvent)
 o tabForCoordinate(JTabbedPane, int, int)
Override from TabbedPaneUI.
 o uninstallUI(JComponent)
 o updateDisplay()

Constructors

 o JLFTabbedPaneUI
public JLFTabbedPaneUI()

Methods

 o createUI
public static ComponentUI createUI(JComponent x)
 o installUI
public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
 o uninstallUI
public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
 o calculateTabDimensions
protected void calculateTabDimensions(Graphics g,
                                      JComponent c)
 o relocateControls
protected void relocateControls(Graphics g,
                                JComponent c)
 o calcMaxItemHeightAndWidth
protected void calcMaxItemHeightAndWidth(Graphics g,
                                         JComponent c)
 o updateDisplay
public void updateDisplay()
 o tabForCoordinate
public int tabForCoordinate(JTabbedPane pane,
                            int x,
                            int y)
Override from TabbedPaneUI. This doesn't make sense for our implementation so we return -1 which seems to be the expected error condition in JTabbedPane.

Overrides:
tabForCoordinate in class TabbedPaneUI
 o getTabBounds
public Rectangle getTabBounds(JTabbedPane pane,
                              int index)
Override from TabbedPaneUI. This doesn't make sense for our implementation so we return an empty rect.

Overrides:
getTabBounds in class TabbedPaneUI
 o paint
public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI
 o stateChanged
public void stateChanged(ChangeEvent e)
 o getPreferredSize
public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
 o getMinimumSize
public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
 o getMaximumSize
public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI
 o mouseClicked
public void mouseClicked(MouseEvent e)
 o mousePressed
public void mousePressed(MouseEvent e)
 o mouseReleased
public void mouseReleased(MouseEvent e)
 o mouseEntered
public void mouseEntered(MouseEvent e)
 o mouseExited
public void mouseExited(MouseEvent e)
 o actionPerformed
public void actionPerformed(ActionEvent e)
 o buildPopup
protected JPopupMenu buildPopup()
 o addLayoutComponent
public void addLayoutComponent(String name,
                               Component comp)
 o removeLayoutComponent
public void removeLayoutComponent(Component comp)
 o preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
 o minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
 o getVisibleComponent
protected Component getVisibleComponent(JTabbedPane pane)
 o removeComponent
protected void removeComponent(JTabbedPane pane,
                               Component component)
 o layoutContainer
public void layoutContainer(Container parent)

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature