bibliothek.gui.dock.station.stack.tab
Interface TabConfigurations


public interface TabConfigurations

This factory creates TabConfigurations, which can be used to fine tune the look of various tabs.
Please note that only a subset of tabs actually supports this configuration, some DockThemes will simply ignore this factory.

Author:
Benjamin Sigg
See Also:
TabConfiguration, StackDockStation.TAB_CONFIGURATIONS

Field Summary
static TabConfigurations DEFAULT
          the default configuration, which does nothing but create new TabConfigurations
 
Method Summary
 TabConfiguration getConfiguration(Dockable dockable)
          Gets the configuration for a tab that represents Dockable.
 

Field Detail

DEFAULT

static final TabConfigurations DEFAULT
the default configuration, which does nothing but create new TabConfigurations

Method Detail

getConfiguration

TabConfiguration getConfiguration(Dockable dockable)
Gets the configuration for a tab that represents Dockable. This method may create a new TabConfiguration every time it is called, or reuse the same configuration multiple times.

Parameters:
dockable - the element whose tab will be shown
Returns:
the configuration, not null