BasicJideTabbedPaneUI
public abstract class JideTabbedPaneUI extends TabbedPaneUI
Constructor | Description |
---|---|
JideTabbedPaneUI() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
cancelTabEditing() |
Cancels the editing and discards the change.
|
abstract boolean |
editTabAt(int tabIndex) |
Edits the tab at the index.
|
abstract void |
ensureActiveTabIsVisible(boolean scrollLeft) |
Scroll the selected tab visible in case the tab is outside of the viewport.
|
abstract int |
getEditingTabIndex() |
Gets the tab index that is editing, if any.
|
abstract Component |
getTabPanel() |
Gets the tab panel for the JideTabbedPane.
|
abstract boolean |
isTabEditing() |
Checks if the tab is being edited.
|
abstract void |
stopTabEditing() |
Stops the editing and commits the change.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTabBounds, getTabRunCount, tabForCoordinate
public abstract Component getTabPanel()
public abstract boolean editTabAt(int tabIndex)
tabIndex
- the tab index.public abstract boolean isTabEditing()
public abstract void stopTabEditing()
public abstract void cancelTabEditing()
public abstract int getEditingTabIndex()
public abstract void ensureActiveTabIsVisible(boolean scrollLeft)
JideTabbedPane.scrollSelectedTabToVisible(boolean)
method.scrollLeft
- true to scroll the first tab visible first then scroll left to make
the selected tab visible. This will get a more consistent result.
If false, it will simple scroll the selected tab visible. Sometimes the
tab will appear as the first visible tab or the last visible tab depending on
the previous viewport position.