Class DarkTabbedPopupUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- javax.swing.plaf.basic.BasicPanelUI
-
- com.github.weisj.darklaf.ui.panel.DarkPanelUI
-
- com.github.weisj.darklaf.ui.tabframe.DarkPanelPopupUI
-
- com.github.weisj.darklaf.ui.tabframe.DarkTabbedPopupUI
-
- All Implemented Interfaces:
TabFramePopupUI
,TabFrameTabbedPopupUI
,AWTEventListener
,PropertyChangeListener
,EventListener
public class DarkTabbedPopupUI extends DarkPanelPopupUI implements TabFrameTabbedPopupUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
DarkTabbedPopupUI.DarkTabFrameTabbedPaneUI
protected static class
DarkTabbedPopupUI.TabFrameMoreTabsButton
protected class
DarkTabbedPopupUI.TabFrameNewTabButton
protected static class
DarkTabbedPopupUI.UIDelegateTabbedPane
-
Nested classes/interfaces inherited from class com.github.weisj.darklaf.ui.tabframe.DarkPanelPopupUI
DarkPanelPopupUI.HeaderButton
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
headerFocusHoverBackground
protected Color
headerFocusSelectedBackground
protected Color
headerFocusSelectedHoverBackground
protected Color
headerHoverBackground
protected Color
headerSelectedBackground
protected Color
headerSelectedHoverBackground
protected Color
tabBorderColor
-
Fields inherited from class com.github.weisj.darklaf.ui.tabframe.DarkPanelPopupUI
accelerator, closeButton, content, headerBackground, headerButtonClickBackground, headerButtonFocusClickBackground, headerButtonFocusHoverBackground, headerButtonHoverBackground, headerFocusBackground, label
-
-
Constructor Summary
Constructors Constructor Description DarkTabbedPopupUI()
-
Method Summary
Modifier and Type Method Description protected void
applyBorderInsets(Insets insets)
JTabbedPane
createTabbedPane()
static ComponentUI
createUI(JComponent c)
protected JTabbedPane
getTabbedPane()
protected void
installComponents()
protected void
installDefaults()
void
installUI(JComponent c)
protected void
setHeaderBackground(boolean focus)
protected void
setupTabbedPane()
protected void
uninstallComponents()
-
Methods inherited from class com.github.weisj.darklaf.ui.tabframe.DarkPanelPopupUI
createBorder, createCloseButton, createHeader, createLabel, eventDispatched, getBorderSize, getMaximumSize, getMinimumSize, getPreferredSize, hasFocus, installListeners, propertyChange, uninstallListeners, uninstallUI, updateBorder
-
Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
getBaseline, getBaselineResizeBehavior, installDefaults, uninstallDefaults
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
-
-
-
-
Field Detail
-
headerHoverBackground
protected Color headerHoverBackground
-
headerSelectedBackground
protected Color headerSelectedBackground
-
headerSelectedHoverBackground
protected Color headerSelectedHoverBackground
-
headerFocusHoverBackground
protected Color headerFocusHoverBackground
-
headerFocusSelectedBackground
protected Color headerFocusSelectedBackground
-
headerFocusSelectedHoverBackground
protected Color headerFocusSelectedHoverBackground
-
tabBorderColor
protected Color tabBorderColor
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in classDarkPanelPopupUI
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaults
in classDarkPanelPopupUI
-
installComponents
protected void installComponents()
- Overrides:
installComponents
in classDarkPanelPopupUI
-
getTabbedPane
protected JTabbedPane getTabbedPane()
-
createTabbedPane
public JTabbedPane createTabbedPane()
- Specified by:
createTabbedPane
in interfaceTabFrameTabbedPopupUI
-
setupTabbedPane
protected void setupTabbedPane()
-
setHeaderBackground
protected void setHeaderBackground(boolean focus)
- Overrides:
setHeaderBackground
in classDarkPanelPopupUI
-
uninstallComponents
protected void uninstallComponents()
- Overrides:
uninstallComponents
in classDarkPanelPopupUI
-
applyBorderInsets
protected void applyBorderInsets(Insets insets)
- Overrides:
applyBorderInsets
in classDarkPanelPopupUI
-
-