de.espirit.firstspirit.client.gui.applications
Interface ApplicationTabAppearance


public interface ApplicationTabAppearance

Configuration interface defining the appearance of the related application tab.

Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.

Since:
4.2.416
See Also:
ApplicationTabConfiguration.appearance(), ApplicationTab.setAppearance(ApplicationTabAppearance)

Nested Class Summary
static interface ApplicationTabAppearance.Builder
          Configuration builder to configure tab appearance.
static class ApplicationTabAppearance.FontStyle
          The font style types.
 
Field Summary
static Generator<ApplicationTabAppearance.Builder> GENERATOR
          Generator to create a new tab appearance builder.
 
Method Summary
 Store.Type getBorderType()
          The type of colored border line between main and sub tabs related to the store color specified by the store type.
 ApplicationTabAppearance.FontStyle getFontStyle()
          The font style the tab text should displayed with.
 Icon getIcon()
          The icon of the application tab that will be shown in tab button.
 String getTitle()
          The title of the application tab that would be shown in tab button.
 

Field Detail

GENERATOR

static final Generator<ApplicationTabAppearance.Builder> GENERATOR
Generator to create a new tab appearance builder.

Since:
4.2.416
Method Detail

getBorderType

@Nullable
Store.Type getBorderType()
The type of colored border line between main and sub tabs related to the store color specified by the store type. Only has an effect if set for main tabs.

Returns:
type of border
Since:
4.2.416
See Also:
ApplicationTabAppearance.Builder.borderType(de.espirit.firstspirit.access.store.Store.Type)

getFontStyle

@Nullable
ApplicationTabAppearance.FontStyle getFontStyle()
The font style the tab text should displayed with. Default: FontStyle#PLAIN

Returns:
font style of tab title
Since:
4.2.416
See Also:
ApplicationTabAppearance.Builder.fontStyle(de.espirit.firstspirit.client.gui.applications.ApplicationTabAppearance.FontStyle)

getTitle

@Nullable
String getTitle()
The title of the application tab that would be shown in tab button.

Returns:
tab title
Since:
4.2.416
See Also:
ApplicationTabAppearance.Builder.title(String)

getIcon

@Nullable
Icon getIcon()
The icon of the application tab that will be shown in tab button.

Returns:
tab icon.
Since:
4.2.416
See Also:
ApplicationTabAppearance.Builder.icon(javax.swing.Icon)


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480