protected class BasicStackDockComponent.BasicTab extends DefaultStackDockComponent.Tab implements DockableFocusListener
DockController
to recognize
when it is focused.dockable
Modifier and Type | Method and Description |
---|---|
void |
dockableFocused(DockableFocusEvent event)
Invoked when
dockable has gained the focus. |
void |
setController(DockController controller)
Tells this tab which controller is currently used.
|
getActions, getDockable, getSource, isEnabled, popup
getFactory, getPopupLocation, isMenuOpen, isSuppressable, mousePressed, mouseReleased, popup, setSuppressable
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BasicTab(Dockable dockable)
public void setController(DockController controller)
DefaultStackDockComponent.Tab
null
if this tab is no longer used, or when the connection to a
DockController
is lost.setController
in class DefaultStackDockComponent.Tab
controller
- the new source of information, can be null
public void dockableFocused(DockableFocusEvent event)
DockableFocusListener
dockable
has gained the focus.dockableFocused
in interface DockableFocusListener
event
- an event that contains the new owner of the focus