bibliothek.extension.gui.dock.theme.eclipse.stack.tab
Interface TabComponent

All Superinterfaces:
DockElementRepresentative
All Known Implementing Classes:
ArchGradientPainter, BaseTabComponent, DockTitleTab, RectGradientPainter

public interface TabComponent
extends DockElementRepresentative


Method Summary
 void addMouseListener(MouseListener listener)
           
 void addMouseMotionListener(MouseMotionListener listener)
           
 void bind()
          Informs this tab that it will be shown soon
 Component getComponent()
          Gets the Component which represents the element.
 Insets getOverlap(TabComponent other)
          Gets the number of pixels which should be covered at the sides of this component.
 void removeMouseListener(MouseListener listener)
           
 void removeMouseMotionListener(MouseMotionListener listener)
           
 void setFocused(boolean focused)
           
 void setPaintIconWhenInactive(boolean paint)
           
 void setSelected(boolean selected)
           
 void unbind()
          Informs this tab that it is invisible and must not have any connections to other resources
 void update()
          Called when a property of the tab has been changed and this component has to reevaluate its content.
 
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative
addMouseInputListener, getElement, getPopupLocation, isUsedAsTitle, removeMouseInputListener
 

Method Detail

getComponent

Component getComponent()
Description copied from interface: DockElementRepresentative
Gets the Component which represents the element. The result of this method must not change.

Specified by:
getComponent in interface DockElementRepresentative
Returns:
the component, never null

setSelected

void setSelected(boolean selected)

setFocused

void setFocused(boolean focused)

setPaintIconWhenInactive

void setPaintIconWhenInactive(boolean paint)

update

void update()
Called when a property of the tab has been changed and this component has to reevaluate its content.


getOverlap

Insets getOverlap(TabComponent other)
Gets the number of pixels which should be covered at the sides of this component.

Parameters:
other - the component which may overlap this component
Returns:
the number of overlapped pixels

bind

void bind()
Informs this tab that it will be shown soon


unbind

void unbind()
Informs this tab that it is invisible and must not have any connections to other resources


addMouseListener

void addMouseListener(MouseListener listener)

addMouseMotionListener

void addMouseMotionListener(MouseMotionListener listener)

removeMouseListener

void removeMouseListener(MouseListener listener)

removeMouseMotionListener

void removeMouseMotionListener(MouseMotionListener listener)