|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Component nextapp.echo.extras.app.TabPane
public class TabPane
TabPane component: a container which displays children as an array of tabs, displaying only the component whose tab is selected
at a specific time. May contain zero or more child components. May contain Pane
components as children.
Field Summary | |
---|---|
static java.lang.String |
ACTIVE_TAB_INDEX_CHANGED_PROPERTY
|
static int |
BORDER_TYPE_ADJACENT_TO_TABS
Constant for the borderType property indicating that a
border should be drawn immediately adjacent to the tabs only. |
static int |
BORDER_TYPE_NONE
Constant for the borderType property indicating that no
border should be drawn around the content. |
static int |
BORDER_TYPE_PARALLEL_TO_TABS
Constant for the borderType property indicating that
borders should be drawn above and below the content, but not at its
sides. |
static int |
BORDER_TYPE_SURROUND
Constant for the borderType property indicating that
borders should be drawn on all sides of the content. |
static java.lang.String |
INPUT_TAB_CLOSE
|
static java.lang.String |
INPUT_TAB_SELECT
|
static java.lang.String |
PROPERTY_BORDER_TYPE
|
static java.lang.String |
PROPERTY_DEFAULT_CONTENT_INSETS
|
static java.lang.String |
PROPERTY_INSETS
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_BACKGROUND
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_BORDER
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_FONT
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_FOREGROUND
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_HEIGHT_INCREASE
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_LEFT_IMAGE
|
static java.lang.String |
PROPERTY_TAB_ACTIVE_RIGHT_IMAGE
|
static java.lang.String |
PROPERTY_TAB_ALIGNMENT
|
static java.lang.String |
PROPERTY_TAB_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_TAB_CLOSE_ENABLED
|
static java.lang.String |
PROPERTY_TAB_CLOSE_ICON
|
static java.lang.String |
PROPERTY_TAB_CLOSE_ICON_ROLLOVER_ENABLED
|
static java.lang.String |
PROPERTY_TAB_DEFAULT_CLOSE_OPERATION
|
static java.lang.String |
PROPERTY_TAB_DISABLED_CLOSE_ICON
|
static java.lang.String |
PROPERTY_TAB_HEIGHT
|
static java.lang.String |
PROPERTY_TAB_ICON_TEXT_MARGIN
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_BACKGROUND
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_BORDER
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_FONT
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_FOREGROUND
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_LEFT_IMAGE
|
static java.lang.String |
PROPERTY_TAB_INACTIVE_RIGHT_IMAGE
|
static java.lang.String |
PROPERTY_TAB_INSET
|
static java.lang.String |
PROPERTY_TAB_POSITION
|
static java.lang.String |
PROPERTY_TAB_ROLLOVER_CLOSE_ICON
|
static java.lang.String |
PROPERTY_TAB_SPACING
|
static java.lang.String |
PROPERTY_TAB_WIDTH
|
static java.lang.String |
TAB_CLOSING_LISTENERS_CHANGED_PROPERTY
|
static int |
TAB_DISPOSE_ON_CLOSE
A constant for the tabDefaultCloseOperation property
indicating that a tab should be removed from the component
hierarchy when a user attempts to close it. |
static int |
TAB_DO_NOTHING_ON_CLOSE
A constant for the tabDefaultCloseOperation property
indicating that nothing should be done when the user attempts
to close a tab. |
static int |
TAB_POSITION_BOTTOM
Constant for the tabPosition property indicating that the
tabs should be rendered beneath the content. |
static int |
TAB_POSITION_TOP
Constant for the tabPosition property indicating that the
tabs should be rendered above the content. |
static java.lang.String |
TAB_SELECTION_LISTENERS_CHANGED_PROPERTY
|
Fields inherited from class nextapp.echo.app.Component |
---|
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Constructor Summary | |
---|---|
TabPane()
|
Method Summary | |
---|---|
void |
addTabClosingListener(TabClosingListener l)
Adds a TabPaneListener to receive event notifications. |
void |
addTabSelectionListener(TabSelectionListener l)
Adds a TabSelectionListener to receive event notifications. |
protected void |
fireTabClosing(int tabIndex)
Notifies TabClosingListener s that the user has requested to
close a tab. |
protected void |
fireTabSelected(int tabIndex)
Notifies TabSelectionListener s that the user has selected a tab. |
int |
getActiveTabIndex()
Returns the index of the active tab. |
int |
getBorderType()
Returns the mode in which the border will be drawn around the TabPane . |
nextapp.echo.app.Insets |
getDefaultContentInsets()
Returns the default content inset margin. |
nextapp.echo.app.Insets |
getInsets()
Returns the Insets around the entire TabPane . |
nextapp.echo.app.Color |
getTabActiveBackground()
Returns the background color used to render active tabs. |
nextapp.echo.app.FillImage |
getTabActiveBackgroundImage()
Returns the background image used to render active tabs. |
nextapp.echo.app.Border |
getTabActiveBorder()
Returns the Border used to draw the active tab and
surround the content of the TabPane . |
nextapp.echo.app.Font |
getTabActiveFont()
Returns the font used to render active tabs. |
nextapp.echo.app.Color |
getTabActiveForeground()
Returns the foreground color used to render active tabs. |
nextapp.echo.app.Extent |
getTabActiveHeightIncrease()
Returns the height increase of active tabs. |
nextapp.echo.app.ImageReference |
getTabActiveLeftImage()
Returns the left image used to render active tabs. |
nextapp.echo.app.ImageReference |
getTabActiveRightImage()
Returns the right image used to render active tabs. |
nextapp.echo.app.Alignment |
getTabAlignment()
Returns the alignment within an individual tab. |
nextapp.echo.app.FillImage |
getTabBackgroundImage()
Returns the background image used to render behind tabs. |
nextapp.echo.app.ImageReference |
getTabCloseIcon()
Returns the close icon displayed in the tabs. |
int |
getTabDefaultCloseOperation()
Returns the default tab close operation. |
nextapp.echo.app.ImageReference |
getTabDisabledCloseIcon()
Returns the close icon that is displayed when tab close is disabled. |
nextapp.echo.app.Extent |
getTabHeight()
Returns the height of an individual tab. |
nextapp.echo.app.Extent |
getTabIconTextMargin()
Returns the margin size between the icon and the text. |
nextapp.echo.app.Color |
getTabInactiveBackground()
Returns the background color used to render inactive tabs. |
nextapp.echo.app.FillImage |
getTabInactiveBackgroundImage()
Returns the background image used to render inactive tabs. |
nextapp.echo.app.Border |
getTabInactiveBorder()
Returns the Border used to draw inactive tabs. |
nextapp.echo.app.Font |
getTabInactiveFont()
Returns the font used to render inactive tabs. |
nextapp.echo.app.Color |
getTabInactiveForeground()
Returns the foreground color used to render inactive tabs. |
nextapp.echo.app.ImageReference |
getTabInactiveLeftImage()
Returns the left image used to render inactive tabs. |
nextapp.echo.app.ImageReference |
getTabInactiveRightImage()
Returns the right image used to render inactive tabs. |
nextapp.echo.app.Extent |
getTabInset()
Returns the horizontal distance from which all tabs are inset from the edge of the TabPane . |
int |
getTabPosition()
Returns the position where the tabs are located relative to the pane content. |
nextapp.echo.app.ImageReference |
getTabRolloverCloseIcon()
Returns the close icon that is displayed when the mouse cursor is inside its bounds. |
nextapp.echo.app.Extent |
getTabSpacing()
Returns the horizontal space between individual tabs. |
nextapp.echo.app.Extent |
getTabWidth()
Returns the width of an individual tab. |
boolean |
hasTabClosingListeners()
Determines if any TabClosingListener s are registered. |
boolean |
hasTabSelectionListeners()
Determines the any TabSelectionListener s are registered. |
boolean |
isTabCloseEnabled()
Determines if tab close is enabled in general. |
boolean |
isTabCloseIconRolloverEnabled()
Determines if close icon rollover effects are enabled. |
boolean |
isValidParent(nextapp.echo.app.Component c)
|
void |
processInput(java.lang.String inputName,
java.lang.Object inputValue)
|
void |
removeTabClosingListener(TabClosingListener l)
Removes a TabPaneListener from receiving event notifications. |
void |
removeTabSelectionListener(TabSelectionListener l)
Removes a TabSelectionListener from receiving event notifications. |
void |
setActiveTabIndex(int newValue)
Sets the active tab index. |
void |
setBorderType(int newValue)
Sets the mode in which the border will be drawn around the TabPane . |
void |
setDefaultContentInsets(nextapp.echo.app.Insets newValue)
Sets the default content inset margin. |
void |
setInsets(nextapp.echo.app.Insets newValue)
Sets the Insets around the entire TabPane . |
void |
setTabActiveBackground(nextapp.echo.app.Color newValue)
Sets the background color used to render active tabs. |
void |
setTabActiveBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image used to render active tabs. |
void |
setTabActiveBorder(nextapp.echo.app.Border newValue)
Sets the Border used to draw the active tab and
surround the content of the TabPane . |
void |
setTabActiveFont(nextapp.echo.app.Font newValue)
Sets the font used to render active tabs. |
void |
setTabActiveForeground(nextapp.echo.app.Color newValue)
Sets the foreground color used to render active tabs. |
void |
setTabActiveHeightIncrease(nextapp.echo.app.Extent newValue)
Sets the height increase of active tabs. |
void |
setTabActiveLeftImage(nextapp.echo.app.ImageReference newValue)
Sets the left image used to render active tabs. |
void |
setTabActiveRightImage(nextapp.echo.app.ImageReference newValue)
Sets the right image used to render active tabs. |
void |
setTabAlignment(nextapp.echo.app.Alignment newValue)
Sets the alignment within an individual tab. |
void |
setTabBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image used to render behind tabs. |
void |
setTabCloseEnabled(boolean newValue)
Sets if tab close is enabled in general. |
void |
setTabCloseIcon(nextapp.echo.app.ImageReference newValue)
Sets the close icon displayed in the tabs. |
void |
setTabCloseIconRolloverEnabled(boolean newValue)
Sets if close icon rollover effects are enabled. |
void |
setTabDefaultCloseOperation(int newValue)
Sets the default tab close operation. |
void |
setTabDisabledCloseIcon(nextapp.echo.app.ImageReference newValue)
Sets the close icon that is displayed when tab close is disabled. |
void |
setTabHeight(nextapp.echo.app.Extent newValue)
Sets the height of an individual tab. |
void |
setTabIconTextMargin(nextapp.echo.app.Extent newValue)
Sets the margin size between the icon and the text. |
void |
setTabInactiveBackground(nextapp.echo.app.Color newValue)
Sets the background color used to render inactive tabs. |
void |
setTabInactiveBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image used to render inactive tabs. |
void |
setTabInactiveBorder(nextapp.echo.app.Border newValue)
Sets the Border used to draw inactive tabs in the
TabPane . |
void |
setTabInactiveFont(nextapp.echo.app.Font newValue)
Sets the font used to render inactive tabs. |
void |
setTabInactiveForeground(nextapp.echo.app.Color newValue)
Sets the foreground color used to render inactive tabs. |
void |
setTabInactiveLeftImage(nextapp.echo.app.ImageReference newValue)
Sets the left image used to render inactive tabs. |
void |
setTabInactiveRightImage(nextapp.echo.app.ImageReference newValue)
Sets the right image used to render inactive tabs. |
void |
setTabInset(nextapp.echo.app.Extent newValue)
Sets the horizontal distance from which all tabs are inset from the edge of the TabPane . |
void |
setTabPosition(int newValue)
Sets the position where the tabs are located relative to the pane content. |
void |
setTabRolloverCloseIcon(nextapp.echo.app.ImageReference newValue)
Sets the close icon that is displayed when the mouse cursor is inside its bounds. |
void |
setTabSpacing(nextapp.echo.app.Extent newValue)
Sets the horizontal space between individual tabs. |
void |
setTabWidth(nextapp.echo.app.Extent newValue)
Sets the width of an individual tab. |
void |
userTabClose(int tabIndex)
Processes a user request to close the tab with the given index (via the close button). |
void |
userTabSelect(int tabIndex)
Processes a user request to select the tab with the given index. |
Methods inherited from class nextapp.echo.app.Component |
---|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INPUT_TAB_SELECT
public static final java.lang.String INPUT_TAB_CLOSE
public static final java.lang.String ACTIVE_TAB_INDEX_CHANGED_PROPERTY
public static final java.lang.String TAB_CLOSING_LISTENERS_CHANGED_PROPERTY
public static final java.lang.String TAB_SELECTION_LISTENERS_CHANGED_PROPERTY
public static final java.lang.String PROPERTY_BORDER_TYPE
public static final java.lang.String PROPERTY_DEFAULT_CONTENT_INSETS
public static final java.lang.String PROPERTY_INSETS
public static final java.lang.String PROPERTY_TAB_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_TAB_ACTIVE_LEFT_IMAGE
public static final java.lang.String PROPERTY_TAB_ACTIVE_RIGHT_IMAGE
public static final java.lang.String PROPERTY_TAB_ACTIVE_BACKGROUND
public static final java.lang.String PROPERTY_TAB_ACTIVE_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_TAB_ACTIVE_BORDER
public static final java.lang.String PROPERTY_TAB_ACTIVE_FONT
public static final java.lang.String PROPERTY_TAB_ACTIVE_FOREGROUND
public static final java.lang.String PROPERTY_TAB_DEFAULT_CLOSE_OPERATION
public static final java.lang.String PROPERTY_TAB_HEIGHT
public static final java.lang.String PROPERTY_TAB_ACTIVE_HEIGHT_INCREASE
public static final java.lang.String PROPERTY_TAB_INACTIVE_LEFT_IMAGE
public static final java.lang.String PROPERTY_TAB_INACTIVE_RIGHT_IMAGE
public static final java.lang.String PROPERTY_TAB_INACTIVE_BACKGROUND
public static final java.lang.String PROPERTY_TAB_INACTIVE_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_TAB_INACTIVE_BORDER
public static final java.lang.String PROPERTY_TAB_INACTIVE_FONT
public static final java.lang.String PROPERTY_TAB_INACTIVE_FOREGROUND
public static final java.lang.String PROPERTY_TAB_ICON_TEXT_MARGIN
public static final java.lang.String PROPERTY_TAB_INSET
public static final java.lang.String PROPERTY_TAB_SPACING
public static final java.lang.String PROPERTY_TAB_POSITION
public static final java.lang.String PROPERTY_TAB_WIDTH
public static final java.lang.String PROPERTY_TAB_ALIGNMENT
public static final java.lang.String PROPERTY_TAB_CLOSE_ENABLED
public static final java.lang.String PROPERTY_TAB_CLOSE_ICON_ROLLOVER_ENABLED
public static final java.lang.String PROPERTY_TAB_CLOSE_ICON
public static final java.lang.String PROPERTY_TAB_DISABLED_CLOSE_ICON
public static final java.lang.String PROPERTY_TAB_ROLLOVER_CLOSE_ICON
public static final int BORDER_TYPE_NONE
borderType
property indicating that no
border should be drawn around the content.
public static final int BORDER_TYPE_ADJACENT_TO_TABS
borderType
property indicating that a
border should be drawn immediately adjacent to the tabs only.
If the tabs are positioned at the top of the TabPane
the
border will only be drawn directly beneath the tabs with this setting.
If the tabs are positioned at the bottom of the TabPane
the
border will only be drawn directly above the tabs with this setting.
This is the default rendering style.
public static final int BORDER_TYPE_PARALLEL_TO_TABS
borderType
property indicating that
borders should be drawn above and below the content, but not at its
sides.
public static final int BORDER_TYPE_SURROUND
borderType
property indicating that
borders should be drawn on all sides of the content.
public static final int TAB_POSITION_BOTTOM
tabPosition
property indicating that the
tabs should be rendered beneath the content.
public static final int TAB_POSITION_TOP
tabPosition
property indicating that the
tabs should be rendered above the content.
This is the default rendering style.
public static final int TAB_DO_NOTHING_ON_CLOSE
tabDefaultCloseOperation
property
indicating that nothing should be done when the user attempts
to close a tab.
public static final int TAB_DISPOSE_ON_CLOSE
tabDefaultCloseOperation
property
indicating that a tab should be removed from the component
hierarchy when a user attempts to close it.
Constructor Detail |
---|
public TabPane()
Method Detail |
---|
public boolean hasTabClosingListeners()
TabClosingListener
s are registered.
TabClosingListener
s are registeredpublic void addTabClosingListener(TabClosingListener l)
TabPaneListener
to receive event notifications.
l
- the TabPaneListener
to addpublic void removeTabClosingListener(TabClosingListener l)
TabPaneListener
from receiving event notifications.
l
- the TabPaneListener
to removeprotected void fireTabClosing(int tabIndex)
TabClosingListener
s that the user has requested to
close a tab.
public boolean hasTabSelectionListeners()
TabSelectionListener
s are registered.
TabSelectionListener
s are registeredpublic void addTabSelectionListener(TabSelectionListener l)
TabSelectionListener
to receive event notifications.
l
- the TabSelectionListener
to addpublic void removeTabSelectionListener(TabSelectionListener l)
TabSelectionListener
from receiving event notifications.
l
- the TabSelectionListener
to removeprotected void fireTabSelected(int tabIndex)
TabSelectionListener
s that the user has selected a tab.
public int getActiveTabIndex()
public int getBorderType()
TabPane
.
BORDER_TYPE_NONE
BORDER_TYPE_ADJACENT_TO_TABS
(the default)BORDER_TYPE_PARALLEL_TO_TABS
BORDER_TYPE_SURROUND
public nextapp.echo.app.Insets getDefaultContentInsets()
public nextapp.echo.app.Extent getTabIconTextMargin()
Extent
s with
fixed (i.e., not percent) units.
public nextapp.echo.app.Insets getInsets()
Insets
around the entire TabPane
.
Insets will only be drawn on sides of the TabPane
which have
a border (i.e., based on the value of the borderType
property).
Values for this property must be in pixel units.
public nextapp.echo.app.ImageReference getTabActiveLeftImage()
public nextapp.echo.app.ImageReference getTabActiveRightImage()
public nextapp.echo.app.Color getTabActiveBackground()
public nextapp.echo.app.FillImage getTabActiveBackgroundImage()
public nextapp.echo.app.Border getTabActiveBorder()
Border
used to draw the active tab and
surround the content of the TabPane
.
public int getTabDefaultCloseOperation()
public nextapp.echo.app.Font getTabActiveFont()
public nextapp.echo.app.Color getTabActiveForeground()
public nextapp.echo.app.FillImage getTabBackgroundImage()
public nextapp.echo.app.Extent getTabHeight()
Extent
values for this property must be in pixel units.
public nextapp.echo.app.Extent getTabActiveHeightIncrease()
Extent
values for this property must be in pixel units.
public nextapp.echo.app.ImageReference getTabInactiveLeftImage()
public nextapp.echo.app.ImageReference getTabInactiveRightImage()
public nextapp.echo.app.Color getTabInactiveBackground()
public nextapp.echo.app.FillImage getTabInactiveBackgroundImage()
public nextapp.echo.app.Border getTabInactiveBorder()
Border
used to draw inactive tabs.
public nextapp.echo.app.Font getTabInactiveFont()
public nextapp.echo.app.Color getTabInactiveForeground()
public nextapp.echo.app.Extent getTabInset()
TabPane
.
public int getTabPosition()
TAB_POSITION_TOP
TAB_POSITION_BOTTOM
public nextapp.echo.app.Extent getTabSpacing()
public nextapp.echo.app.Extent getTabWidth()
public nextapp.echo.app.Alignment getTabAlignment()
public boolean isValidParent(nextapp.echo.app.Component c)
isValidParent
in class nextapp.echo.app.Component
Component.isValidParent(nextapp.echo.app.Component)
public void processInput(java.lang.String inputName, java.lang.Object inputValue)
processInput
in class nextapp.echo.app.Component
Component.processInput(java.lang.String, java.lang.Object)
public void setActiveTabIndex(int newValue)
newValue
- the index of the child Component
whose tab
should be displayedpublic void setBorderType(int newValue)
TabPane
.
newValue
- the new border type one of the following values:
BORDER_TYPE_NONE
BORDER_TYPE_ADJACENT_TO_TABS
(the default)BORDER_TYPE_PARALLEL_TO_TABS
BORDER_TYPE_SURROUND
public void setDefaultContentInsets(nextapp.echo.app.Insets newValue)
newValue
- the new default content inset marginpublic void setTabIconTextMargin(nextapp.echo.app.Extent newValue)
Extent
s with
fixed (i.e., not percent) units.
newValue
- the margin sizepublic void setInsets(nextapp.echo.app.Insets newValue)
Insets
around the entire TabPane
.
Insets will only be drawn on sides of the TabPane
which have
a border (i.e., based on the value of the borderType
property).
Values for this property must be in pixel units.
newValue
- the new insetpublic void setTabActiveLeftImage(nextapp.echo.app.ImageReference newValue)
newValue
- the active tab left imagepublic void setTabActiveRightImage(nextapp.echo.app.ImageReference newValue)
newValue
- the active tab right imagepublic void setTabActiveBackground(nextapp.echo.app.Color newValue)
newValue
- the new active tab backgroundpublic void setTabActiveBackgroundImage(nextapp.echo.app.FillImage newValue)
newValue
- the new active tab background imagepublic void setTabActiveBorder(nextapp.echo.app.Border newValue)
Border
used to draw the active tab and
surround the content of the TabPane
.
newValue
- the new borderpublic void setTabActiveFont(nextapp.echo.app.Font newValue)
newValue
- the new active tab fontpublic void setTabActiveForeground(nextapp.echo.app.Color newValue)
newValue
- the new active tab foregroundpublic void setTabBackgroundImage(nextapp.echo.app.FillImage newValue)
newValue
- the background imagepublic void setTabDefaultCloseOperation(int newValue)
newValue
- the new default tab close operation, one of the following
values:
public void setTabHeight(nextapp.echo.app.Extent newValue)
Extent
values for this property must be in pixel units.
newValue
- the new tab heightpublic void setTabActiveHeightIncrease(nextapp.echo.app.Extent newValue)
Extent
values for this property must be in pixel units.
newValue
- the new active tab height increasepublic void setTabInactiveLeftImage(nextapp.echo.app.ImageReference newValue)
newValue
- the inactive tab left imagepublic void setTabInactiveRightImage(nextapp.echo.app.ImageReference newValue)
newValue
- the inactive tab right imagepublic void setTabInactiveBackground(nextapp.echo.app.Color newValue)
newValue
- the new inactive tab backgroundpublic void setTabInactiveBackgroundImage(nextapp.echo.app.FillImage newValue)
newValue
- the new inactive tab background imagepublic void setTabInactiveBorder(nextapp.echo.app.Border newValue)
Border
used to draw inactive tabs in the
TabPane
.
newValue
- the new borderpublic void setTabInactiveFont(nextapp.echo.app.Font newValue)
newValue
- the new inactive tab fontpublic void setTabInactiveForeground(nextapp.echo.app.Color newValue)
newValue
- the new inactive tab foregroundpublic void setTabInset(nextapp.echo.app.Extent newValue)
TabPane
.
newValue
- the new tab insetpublic void setTabPosition(int newValue)
newValue
- the new tab position, one of the following values:
TAB_POSITION_TOP
TAB_POSITION_BOTTOM
public void setTabSpacing(nextapp.echo.app.Extent newValue)
newValue
- the new tab spacingpublic void setTabWidth(nextapp.echo.app.Extent newValue)
newValue
- the new tab widthpublic void setTabAlignment(nextapp.echo.app.Alignment newValue)
newValue
- the new tab alignmentpublic boolean isTabCloseEnabled()
TabPaneLayoutData.setCloseEnabled(boolean)
.
public boolean isTabCloseIconRolloverEnabled()
public nextapp.echo.app.ImageReference getTabCloseIcon()
public nextapp.echo.app.ImageReference getTabDisabledCloseIcon()
public nextapp.echo.app.ImageReference getTabRolloverCloseIcon()
public void setTabCloseEnabled(boolean newValue)
TabPaneLayoutData.setCloseEnabled(boolean)
.
newValue
- the new statepublic void setTabCloseIconRolloverEnabled(boolean newValue)
newValue
- true if close icon rollover effects should be enabledpublic void setTabCloseIcon(nextapp.echo.app.ImageReference newValue)
newValue
- the new iconpublic void setTabDisabledCloseIcon(nextapp.echo.app.ImageReference newValue)
newValue
- the new iconpublic void setTabRolloverCloseIcon(nextapp.echo.app.ImageReference newValue)
newValue
- the new iconpublic void userTabClose(int tabIndex)
public void userTabSelect(int tabIndex)
|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |