Package org.sexydock.tabs
Class BasicTabUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.sexydock.tabs.TabUI
org.sexydock.tabs.BasicTabUI
- Direct Known Subclasses:
JhromeTabUI
The UI for a
Tab
.- Author:
- andy.edwards
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasicTabUI
protected Tab
getTab()
void
boolean
isDraggableAt
(Tab tab, Point p) boolean
isHoverableAt
(Tab tab, Point p) boolean
isSelectableAt
(Tab tab, Point p) protected void
void
paint
(Graphics g, JComponent c) void
protected void
update()
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Field Details
-
CLOSE_BUTTON_LISTENER
- See Also:
-
CLOSE_BUTTON_VISIBLE
- See Also:
-
-
Constructor Details
-
BasicTabUI
public BasicTabUI()
-
-
Method Details
-
createUI
-
getTab
-
onHighlightTimerEvent
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
paint
- Overrides:
paint
in classComponentUI
-
update
protected void update() -
isDraggableAt
- Specified by:
isDraggableAt
in classTabUI
-
isSelectableAt
- Specified by:
isSelectableAt
in classTabUI
-
isHoverableAt
- Specified by:
isHoverableAt
in classTabUI
-