public class EPTabPainter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EPTabPainter.CloseButtonLocation |
Constructor and Description |
---|
EPTabPainter() |
Modifier and Type | Method and Description |
---|---|
boolean |
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) |
public void setCloseButtonLocation(EPTabPainter.CloseButtonLocation closeButtonLocation)
public void paintTab(Graphics2D graphics, JTabbedPane tabPane, Rectangle tabBounds, String tabText, Icon tabIcon, boolean isSelected, boolean isMouseOverCloseButton, boolean isMousePressedOverCloseButton)