

Classes | |
| class | TabButton |
Public Member Functions | |
| TabComponent (final JTabbedPane pane) | |
Private Attributes | |
| final JTabbedPane | pane |
Static Private Attributes | |
| static final MouseListener | buttonMouseListener |
The panel shows as title for the tabs of the error browser.
It is composed of a label and a button to close the tab
| alma::acs::logging::errorbrowser::TabComponent::TabComponent | ( | final JTabbedPane | pane | ) | [inline] |
Constructor
| pane | The JTabbedPane having this component as title |
final MouseListener alma::acs::logging::errorbrowser::TabComponent::buttonMouseListener [static, private] |
new MouseAdapter() { @Override public void mouseEntered(MouseEvent e) { Component component = e.getComponent(); if (component instanceof AbstractButton) { AbstractButton button = (AbstractButton) component; button.setBorderPainted(true); } } @Override public void mouseExited(MouseEvent e) { Component component = e.getComponent(); if (component instanceof AbstractButton) { AbstractButton button = (AbstractButton) component; button.setBorderPainted(false); } } }
The listener for mouse events
Referenced by alma::acs::logging::errorbrowser::TabComponent::TabButton::TabButton().
final JTabbedPane alma::acs::logging::errorbrowser::TabComponent::pane [private] |
The tabbed pane having this TabComponent as title
Referenced by alma::acs::logging::errorbrowser::TabComponent::TabButton::actionPerformed().
1.6.2