Package com.explodingpixels.widgets.plaf
Class EPTabPainter
java.lang.Object
com.explodingpixels.widgets.plaf.EPTabPainter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isPointOverCloseButton
(Rectangle tabBounds, Point point) void
paintTab
(Graphics2D graphics, JTabbedPane tabPane, Rectangle tabBounds, String tabText, Icon tabIcon, boolean isSelected, boolean isMouseOverCloseButton, boolean isMousePressedOverCloseButton) void
setCloseButtonLocation
(EPTabPainter.CloseButtonLocation closeButtonLocation)
-
Constructor Details
-
EPTabPainter
public EPTabPainter()
-
-
Method Details
-
setCloseButtonLocation
-
paintTab
public void paintTab(Graphics2D graphics, JTabbedPane tabPane, Rectangle tabBounds, String tabText, Icon tabIcon, boolean isSelected, boolean isMouseOverCloseButton, boolean isMousePressedOverCloseButton) -
isPointOverCloseButton
-