net.infonode.tabbedpanel
Class TabbedPanelProperties

TabbedPanelProperties holds all properties for a TabbedPanel. A
TabbedPanelProperties object contains separate property objects for the
content area, the tab area, the tab area components and the buttons of
the TabbedPanel.

getDefaultProperties()
Creates a properties object with default properties based on the current
look and feel

boolean

getEnsureSelectedTabVisible()
Gets if a tab should be made visible if it is selected, i.e. if scrolling
is enabled, a tab will be scrolled into the visible part of the tab area
when it becomes selected.

setEnsureSelectedTabVisible(boolean value)
Sets if a tab should be made visible if it is selected, i.e. if scrolling
is enabled, a tab will be scrolled into the visible part of the tab area
when it becomes selected.

setAutoSelectTab

Sets if automatic selection of a tab is enabled. Automatic selection
means that if no tab is selected and a tab is added to the TabbedPanel,
then the added tab will automatically be selected. If a selected tab is
removed from the TabbedPanel then the tab next to the selected tab will
automatically be selected.

setTabDepthOrderPolicy

Sets the tab depth order policy to be used when tabs are overlapping i.e.
negative tab spacing.

If the depth order is descending, the first tab will be the top most and
the last tab the bottom most. If the depth order is ascending, then the
first tab will be the bottom most and the last tab the top most. Note that
if a tab is highlighted, it will always be shown as the top most tab.

getShadowColor

getShadowEnabled

public boolean getShadowEnabled()

Gets shadow enabled

Returns:

true if shadow is enabled, otherwise false

getAutoSelectTab

public boolean getAutoSelectTab()

Gets if automatic selection of a tab is enabled. Automatic selection
means that if no tab is selected and a tab is added to the TabbedPanel,
then the added tab will automatically be selected. If a selected tab is
removed from the TabbedPanel then the tab next to the selected tab will
automatically be selected.

Returns:

true if automactic selection, otherwise false

getHighlightPressedTab

public boolean getHighlightPressedTab()

Gets if the tab pressed with the mouse will be highlighted.

Returns:

true if the tab pressed with the mouse will be highlighted

getTabDeselectable

public boolean getTabDeselectable()

Gets if tab is deselectable. This means that if the selected tab is
clicked then the selected tab will be deselected. Clicking it again will
select the tab again.

Returns:

true if deselectable, otherwise false

getEnsureSelectedTabVisible

public boolean getEnsureSelectedTabVisible()

Gets if a tab should be made visible if it is selected, i.e. if scrolling
is enabled, a tab will be scrolled into the visible part of the tab area
when it becomes selected.

getTabDepthOrderPolicy

Gets the tab depth order policy to be used when tabs are overlapping i.e.
negative tab spacing.

If the depth order is descending, the first tab will be the top most and
the last tab the bottom most. If the depth order is ascending, then the
first tab will be the bottom most and the last tab the top most. Note that
if a tab is highlighted, it will always be shown as the top most tab.