protected class BasicTabDisplayerUI.BasicTabState extends TabState
ACTIVE, AFTER_SELECTED, ALL_TABS, ARMED, ATTENTION, BEFORE_ARMED, BEFORE_SELECTED, BUSY, CHANGE_NONE_TO_TAB, CHANGE_TAB_TO_NONE, CHANGE_TAB_TO_SELF, CHANGE_TAB_TO_TAB, CLIP_LEFT, CLIP_RIGHT, CLOSE_BUTTON_ARMED, HIGHLIGHT, LEFTMOST, MOUSE_IN_TABS_AREA, MOUSE_PRESSED_IN_CLOSE_BUTTON, NO_CHANGE, NOT_ONSCREEN, PRESSED, REPAINT_ALL_ON_MOUSE_ENTER_TABS_AREA, REPAINT_ALL_TABS_ON_ACTIVATION_CHANGE, REPAINT_ALL_TABS_ON_SELECTION_CHANGE, REPAINT_ON_CLOSE_BUTTON_PRESSED, REPAINT_ON_MOUSE_ENTER_CLOSE_BUTTON, REPAINT_ON_MOUSE_ENTER_TAB, REPAINT_ON_MOUSE_PRESSED, REPAINT_ON_SELECTION_CHANGE, REPAINT_SELECTION_ON_ACTIVATION_CHANGE, RIGHTMOST, SELECTED, STATE_LAST
Modifier | Constructor and Description |
---|---|
protected |
BasicTabState() |
Modifier and Type | Method and Description |
---|---|
int |
getRepaintPolicy(int tab)
Get the repaint policy that will be used to determine what tabs to repaint, based on state changes.
|
int |
getState(int tab)
Get the state of a given tab.
|
protected void |
repaintAllTabs() |
protected void |
repaintTab(int tab) |
addAlarmTab, addHighlightTab, change, clearTransientStates, maybeRepaint, possibleChange, possibleChange, removeAlarmTab, removeHighlightTab, setActive, setCloseButtonContainsMouse, setContainsMouse, setMouseInTabsArea, setMousePressedInCloseButton, setPressed, setSelected, toString
public int getState(int tab)
TabState
protected void repaintAllTabs()
repaintAllTabs
in class TabState
public int getRepaintPolicy(int tab)
TabState
BasicTabDisplayerUI.createRepaintPolicy()
getRepaintPolicy
in class TabState
tab
- Index of tab in questionprotected void repaintTab(int tab)
repaintTab
in class TabState