bibliothek.extension.gui.dock.theme.eclipse
Enum EclipseThemeConnector.TitleBar

java.lang.Object
  extended by java.lang.Enum<EclipseThemeConnector.TitleBar>
      extended by bibliothek.extension.gui.dock.theme.eclipse.EclipseThemeConnector.TitleBar
All Implemented Interfaces:
Serializable, Comparable<EclipseThemeConnector.TitleBar>
Enclosing interface:
EclipseThemeConnector

public static enum EclipseThemeConnector.TitleBar
extends Enum<EclipseThemeConnector.TitleBar>

Describes which kind of title, and which kind of DockableDisplayer should be used for a Dockable or a DockStation. This enumeration is mainly used by EclipseThemeConnector.getTitleBarKind(DockStation, Dockable)

Author:
Benjamin Sigg

Enum Constant Summary
BASIC
          The same as BASIC_BORDERED, but without the border
BASIC_BORDERED
          The very basic kind that uses a DockTitle to mark a Dockable.
ECLIPSE
          The special kind of tabs that are used when multiple Dockables are combined and the EclipseTheme is active.
NONE
          No tab and no border
NONE_BORDERED
          No tab at all, but with the typical eclipse-border
NONE_HINTED
          No tab, and the border depends on the hints provided by the Dockable (default is no border)
NONE_HINTED_BORDERED
          No tab, and the border depends on the hints provided by the Dockable (default is with border)
 
Method Summary
static EclipseThemeConnector.TitleBar valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EclipseThemeConnector.TitleBar[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BASIC_BORDERED

public static final EclipseThemeConnector.TitleBar BASIC_BORDERED
The very basic kind that uses a DockTitle to mark a Dockable. There will be a border around the whole Dockable
Note: the DockTitle will be created using the DockTitleManager-system, clients can change the kind of title by:


BASIC

public static final EclipseThemeConnector.TitleBar BASIC
The same as BASIC_BORDERED, but without the border


ECLIPSE

public static final EclipseThemeConnector.TitleBar ECLIPSE
The special kind of tabs that are used when multiple Dockables are combined and the EclipseTheme is active. This type always has a border.


NONE_BORDERED

public static final EclipseThemeConnector.TitleBar NONE_BORDERED
No tab at all, but with the typical eclipse-border


NONE

public static final EclipseThemeConnector.TitleBar NONE
No tab and no border


NONE_HINTED

public static final EclipseThemeConnector.TitleBar NONE_HINTED
No tab, and the border depends on the hints provided by the Dockable (default is no border)


NONE_HINTED_BORDERED

public static final EclipseThemeConnector.TitleBar NONE_HINTED_BORDERED
No tab, and the border depends on the hints provided by the Dockable (default is with border)

Method Detail

values

public static EclipseThemeConnector.TitleBar[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EclipseThemeConnector.TitleBar c : EclipseThemeConnector.TitleBar.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EclipseThemeConnector.TitleBar valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null