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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BasicTabUIprotected TabgetTab()voidbooleanisDraggableAt(Tab tab, Point p) booleanisHoverableAt(Tab tab, Point p) booleanisSelectableAt(Tab tab, Point p) protected voidvoidpaint(Graphics g, JComponent c) voidprotected voidupdate()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:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
paint
- Overrides:
paintin classComponentUI
-
update
protected void update() -
isDraggableAt
- Specified by:
isDraggableAtin classTabUI
-
isSelectableAt
- Specified by:
isSelectableAtin classTabUI
-
isHoverableAt
- Specified by:
isHoverableAtin classTabUI
-