|
NextApp Echo3 Extras v3.0.b8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.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.
| 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 TabClosingListeners that the user has requested to
close a tab. |
protected void |
fireTabSelected(int tabIndex)
Notifies TabSelectionListeners that the user has selected a tab. |
int |
getActiveTabIndex()
Returns the index of the active tab. |
Border |
getBorder()
Returns the border surrounding the entire TabPane. |
int |
getBorderType()
Returns the mode in which the border will be drawn around the TabPane. |
Insets |
getDefaultContentInsets()
Returns the default content inset margin. |
FillImageBorder |
getImageBorder()
Returns the FillImageBorder surrounding the entire TabPane. |
Insets |
getInsets()
Returns the Insets around the entire TabPane. |
ImageReference |
getRolloverScrollLeftIcon()
Returns the left-hand rollover icon displayed when too many tabs are present to fit on-screen. |
ImageReference |
getRolloverScrollRightIcon()
Returns the right-hand rollover icon displayed when too many tabs are present to fit on-screen. |
ImageReference |
getScrollLeftIcon()
Returns the left-hand icon displayed when too many tabs are present to fit on-screen. |
ImageReference |
getScrollRightIcon()
Returns the right-hand icon displayed when too many tabs are present to fit on-screen. |
Color |
getTabActiveBackground()
Returns the background color used to render active tabs. |
FillImage |
getTabActiveBackgroundImage()
Returns the background image used to render active tabs. |
Insets |
getTabActiveBackgroundInsets()
Returns the inset margin displayed around the background color/image used to render active tabs. |
Border |
getTabActiveBorder()
Returns the Border used to draw the active tab. |
Font |
getTabActiveFont()
Returns the font used to render active tabs. |
Color |
getTabActiveForeground()
Returns the foreground color used to render active tabs. |
Extent |
getTabActiveHeightIncrease()
Returns the height increase of active tabs. |
FillImageBorder |
getTabActiveImageBorder()
Returns the FillImageBorder used to draw the active tab. |
Insets |
getTabActiveInsets()
Returns the insets of active tabs. |
ImageReference |
getTabActiveLeftImage()
Deprecated. FillImageBorders should be used to render complex tabs |
ImageReference |
getTabActiveRightImage()
Deprecated. FillImageBorders should be used to render complex tabs |
Alignment |
getTabAlignment()
Returns the alignment within an individual tab. |
FillImage |
getTabBackgroundImage()
Returns the background image used to render behind tabs. |
ImageReference |
getTabCloseIcon()
Returns the close icon displayed in the tabs. |
int |
getTabDefaultCloseOperation()
Returns the default tab close operation. |
ImageReference |
getTabDisabledCloseIcon()
Returns the close icon that is displayed when tab close is disabled. |
Extent |
getTabHeight()
Returns the height of an individual tab. |
Extent |
getTabIconTextMargin()
Returns the margin size between the icon and the text. |
Color |
getTabInactiveBackground()
Returns the background color used to render inactive tabs. |
FillImage |
getTabInactiveBackgroundImage()
Returns the background image used to render inactive tabs. |
Insets |
getTabInactiveBackgroundInsets()
Returns the inset margin displayed around the background color/image used to render inactive tabs. |
Border |
getTabInactiveBorder()
Returns the Border used to draw inactive tabs. |
Font |
getTabInactiveFont()
Returns the font used to render inactive tabs. |
Color |
getTabInactiveForeground()
Returns the foreground color used to render inactive tabs. |
FillImageBorder |
getTabInactiveImageBorder()
Returns the FillImageBorder used to draw inactive tabs. |
Insets |
getTabInactiveInsets()
Returns the insets of inactive tabs. |
ImageReference |
getTabInactiveLeftImage()
Deprecated. FillImageBorders should be used to render complex tabs |
ImageReference |
getTabInactiveRightImage()
Deprecated. FillImageBorders should be used to render complex tabs |
Extent |
getTabInset()
Returns the horizontal distance from which all tabs are inset from the edge of the TabPane. |
Extent |
getTabMaximumWidth()
Returns the maximum allowed width of a tab. |
int |
getTabPosition()
Returns the position where the tabs are located relative to the pane content. |
Color |
getTabRolloverBackground()
Returns the background color used to render rolled over tabs. |
FillImage |
getTabRolloverBackgroundImage()
Returns the background image used to render rolled over tabs. |
Insets |
getTabRolloverBackgroundInsets()
Returns the inset margin displayed around the background color/image used to render rolled over tabs. |
Border |
getTabRolloverBorder()
Returns the Border used to draw rolled over tabs. |
ImageReference |
getTabRolloverCloseIcon()
Returns the close icon that is displayed when the mouse cursor is inside its bounds. |
Font |
getTabRolloverFont()
Returns the font used to render rolled over tabs. |
Color |
getTabRolloverForeground()
Returns the foreground color used to render rolled over tabs. |
FillImageBorder |
getTabRolloverImageBorder()
Returns the FillImageBorder used to draw rolled over tabs. |
Extent |
getTabSpacing()
Returns the horizontal space between individual tabs. |
Extent |
getTabWidth()
Returns the width of an individual tab. |
boolean |
hasTabClosingListeners()
Determines if any TabClosingListeners are registered. |
boolean |
hasTabSelectionListeners()
Determines the any TabSelectionListeners are registered. |
boolean |
isTabCloseEnabled()
Determines if tab close is enabled in general. |
boolean |
isTabCloseIconRolloverEnabled()
Determines if close icon rollover effects are enabled. |
boolean |
isTabRolloverEnabled()
Determines if tab rollover effects are enabled. |
boolean |
isValidParent(Component c)
|
void |
processInput(String inputName,
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 |
setBorder(Border newValue)
Sets the border surrounding the entire TabPane. |
void |
setBorderType(int newValue)
Sets the mode in which the border will be drawn around the TabPane. |
void |
setDefaultContentInsets(Insets newValue)
Sets the default content inset margin. |
void |
setImageBorder(FillImageBorder newValue)
Sets the FillImageBorder surrounding the entire TabPane. |
void |
setInsets(Insets newValue)
Sets the Insets around the entire TabPane. |
void |
setRolloverScrollLeftIcon(ImageReference newValue)
Sets the left-hand rollover icon displayed when too many tabs are present to fit on-screen. |
void |
setRolloverScrollRightIcon(ImageReference newValue)
Sets the right-hand rollover icon displayed when too many tabs are present to fit on-screen. |
void |
setScrollLeftIcon(ImageReference newValue)
Sets the left-hand icon displayed when too many tabs are present to fit on-screen. |
void |
setScrollRightIcon(ImageReference newValue)
Sets the right-hand icon displayed when too many tabs are present to fit on-screen. |
void |
setTabActiveBackground(Color newValue)
Sets the background color used to render active tabs. |
void |
setTabActiveBackgroundImage(FillImage newValue)
Sets the background image used to render active tabs. |
void |
setTabActiveBackgroundInsets(Insets newValue)
Sets the inset margin displayed around the background color/image used to render active tabs. |
void |
setTabActiveBorder(Border newValue)
Sets the Border used to draw the active tab. |
void |
setTabActiveFont(Font newValue)
Sets the font used to render active tabs. |
void |
setTabActiveForeground(Color newValue)
Sets the foreground color used to render active tabs. |
void |
setTabActiveHeightIncrease(Extent newValue)
Sets the height increase of active tabs. |
void |
setTabActiveImageBorder(FillImageBorder newValue)
Sets the FiillImageBorder used to draw the active tab. |
void |
setTabActiveInsets(Insets newValue)
Sets the insets of active tabs. |
void |
setTabActiveLeftImage(ImageReference newValue)
Deprecated. FillImageBorders should be used to render complex tabs |
void |
setTabActiveRightImage(ImageReference newValue)
Deprecated. FillImageBorders should be used to render complex tabs |
void |
setTabAlignment(Alignment newValue)
Sets the alignment within an individual tab. |
void |
setTabBackgroundImage(FillImage newValue)
Sets the background image used to render behind tabs. |
void |
setTabCloseEnabled(boolean newValue)
Sets the enabled state of tab close buttons. |
void |
setTabCloseIcon(ImageReference newValue)
Sets the close icon displayed in the tabs. |
void |
setTabCloseIconRolloverEnabled(boolean newValue)
Sets the enabled state of tab close icon rollover effects. |
void |
setTabDefaultCloseOperation(int newValue)
Sets the default tab close operation. |
void |
setTabDisabledCloseIcon(ImageReference newValue)
Sets the close icon that is displayed when tab close is disabled. |
void |
setTabHeight(Extent newValue)
Sets the height of an individual tab. |
void |
setTabIconTextMargin(Extent newValue)
Sets the margin size between the icon and the text. |
void |
setTabInactiveBackground(Color newValue)
Sets the background color used to render inactive tabs. |
void |
setTabInactiveBackgroundImage(FillImage newValue)
Sets the background image used to render inactive tabs. |
void |
setTabInactiveBackgroundInsets(Insets newValue)
Sets the inset margin displayed around the background color/image used to render inactive tabs. |
void |
setTabInactiveBorder(Border newValue)
Sets the Border used to draw inactive tabs in the
TabPane. |
void |
setTabInactiveFont(Font newValue)
Sets the font used to render inactive tabs. |
void |
setTabInactiveForeground(Color newValue)
Sets the foreground color used to render inactive tabs. |
void |
setTabInactiveImageBorder(FillImageBorder newValue)
Sets the FillImageBorder used to draw inactive tabs. |
void |
setTabInactiveInsets(Insets newValue)
Sets the insets of inactive tabs. |
void |
setTabInactiveLeftImage(ImageReference newValue)
Deprecated. FillImageBorders should be used to render complex tabs |
void |
setTabInactiveRightImage(ImageReference newValue)
Deprecated. FillImageBorders should be used to render complex tabs |
void |
setTabInset(Extent newValue)
Sets the horizontal distance from which all tabs are inset from the edge of the TabPane. |
void |
setTabMaximumWidth(Extent newValue)
Sets the maximum allowed width of a tab. |
void |
setTabPosition(int newValue)
Sets the position where the tabs are located relative to the pane content. |
void |
setTabRolloverBackground(Color newValue)
Sets the background color used to render rolled over tabs. |
void |
setTabRolloverBackgroundImage(FillImage newValue)
Sets the background image used to render rolled over tabs. |
void |
setTabRolloverBackgroundInsets(Insets newValue)
Sets the inset margin displayed around the background color/image used to render rolled over tabs. |
void |
setTabRolloverBorder(Border newValue)
Sets the Border used to draw rolled over tabs in the
TabPane. |
void |
setTabRolloverCloseIcon(ImageReference newValue)
Sets the close icon that is displayed when the mouse cursor is inside its bounds. |
void |
setTabRolloverEnabled(boolean newValue)
Sets the enabled state of tab rollover effects. |
void |
setTabRolloverFont(Font newValue)
Sets the font used to render rolled over tabs. |
void |
setTabRolloverForeground(Color newValue)
Sets the foreground color used to render rolled over tabs. |
void |
setTabRolloverImageBorder(FillImageBorder newValue)
Sets the FillImageBorder used to draw rolled over tabs. |
void |
setTabSpacing(Extent newValue)
Sets the horizontal space between individual tabs. |
void |
setTabWidth(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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INPUT_TAB_CLOSE
public static final String INPUT_TAB_SELECT
public static final String ACTIVE_TAB_INDEX_CHANGED_PROPERTY
public static final String TAB_CLOSING_LISTENERS_CHANGED_PROPERTY
public static final String TAB_SELECTION_LISTENERS_CHANGED_PROPERTY
public static final String PROPERTY_BORDER
public static final String PROPERTY_BORDER_TYPE
public static final String PROPERTY_DEFAULT_CONTENT_INSETS
public static final String PROPERTY_IMAGE_BORDER
public static final String PROPERTY_INSETS
public static final String PROPERTY_ROLLOVER_SCROLL_LEFT_ICON
public static final String PROPERTY_ROLLOVER_SCROLL_RIGHT_ICON
public static final String PROPERTY_SCROLL_LEFT_ICON
public static final String PROPERTY_SCROLL_RIGHT_ICON
public static final String PROPERTY_TAB_ACTIVE_BACKGROUND
public static final String PROPERTY_TAB_ACTIVE_BACKGROUND_IMAGE
public static final String PROPERTY_TAB_ACTIVE_BACKGROUND_INSETS
public static final String PROPERTY_TAB_ACTIVE_BORDER
public static final String PROPERTY_TAB_ACTIVE_FONT
public static final String PROPERTY_TAB_ACTIVE_FOREGROUND
public static final String PROPERTY_TAB_ACTIVE_HEIGHT_INCREASE
public static final String PROPERTY_TAB_ACTIVE_IMAGE_BORDER
public static final String PROPERTY_TAB_ACTIVE_INSETS
public static final String PROPERTY_TAB_ACTIVE_LEFT_IMAGE
public static final String PROPERTY_TAB_ACTIVE_RIGHT_IMAGE
public static final String PROPERTY_TAB_ALIGNMENT
public static final String PROPERTY_TAB_BACKGROUND_IMAGE
public static final String PROPERTY_TAB_CLOSE_ENABLED
public static final String PROPERTY_TAB_CLOSE_ICON
public static final String PROPERTY_TAB_CLOSE_ICON_ROLLOVER_ENABLED
public static final String PROPERTY_TAB_DEFAULT_CLOSE_OPERATION
public static final String PROPERTY_TAB_DISABLED_CLOSE_ICON
public static final String PROPERTY_TAB_HEIGHT
public static final String PROPERTY_TAB_ICON_TEXT_MARGIN
public static final String PROPERTY_TAB_INACTIVE_BACKGROUND
public static final String PROPERTY_TAB_INACTIVE_BACKGROUND_IMAGE
public static final String PROPERTY_TAB_INACTIVE_BACKGROUND_INSETS
public static final String PROPERTY_TAB_INACTIVE_BORDER
public static final String PROPERTY_TAB_INACTIVE_FONT
public static final String PROPERTY_TAB_INACTIVE_FOREGROUND
public static final String PROPERTY_TAB_INACTIVE_IMAGE_BORDER
public static final String PROPERTY_TAB_INACTIVE_INSETS
public static final String PROPERTY_TAB_INACTIVE_LEFT_IMAGE
public static final String PROPERTY_TAB_INACTIVE_RIGHT_IMAGE
public static final String PROPERTY_TAB_INSET
public static final String PROPERTY_TAB_MAXIMUM_WIDTH
public static final String PROPERTY_TAB_POSITION
public static final String PROPERTY_TAB_ROLLOVER_CLOSE_ICON
public static final String PROPERTY_TAB_ROLLOVER_BACKGROUND
public static final String PROPERTY_TAB_ROLLOVER_BACKGROUND_IMAGE
public static final String PROPERTY_TAB_ROLLOVER_BACKGROUND_INSETS
public static final String PROPERTY_TAB_ROLLOVER_BORDER
public static final String PROPERTY_TAB_ROLLOVER_ENABLED
public static final String PROPERTY_TAB_ROLLOVER_FONT
public static final String PROPERTY_TAB_ROLLOVER_FOREGROUND
public static final String PROPERTY_TAB_ROLLOVER_IMAGE_BORDER
public static final String PROPERTY_TAB_SPACING
public static final String PROPERTY_TAB_WIDTH
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_NONE
borderType property indicating that no
border should be drawn around the content.
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_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.
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_POSITION_BOTTOM
tabPosition property indicating that the
tabs should be rendered beneath the content.
| Constructor Detail |
|---|
public TabPane()
| Method Detail |
|---|
public void addTabClosingListener(TabClosingListener l)
TabPaneListener to receive event notifications.
l - the TabPaneListener to addpublic void addTabSelectionListener(TabSelectionListener l)
TabSelectionListener to receive event notifications.
l - the TabSelectionListener to addprotected void fireTabClosing(int tabIndex)
TabClosingListeners that the user has requested to
close a tab.
protected void fireTabSelected(int tabIndex)
TabSelectionListeners that the user has selected a tab.
public int getActiveTabIndex()
public Border getBorder()
TabPane.
This property will have no effect if an imageBorder has been configured.
public int getBorderType()
TabPane.
This property will affect the rendering of both border and imageBorder properties.
BORDER_TYPE_NONEBORDER_TYPE_ADJACENT_TO_TABS (the default)BORDER_TYPE_PARALLEL_TO_TABSBORDER_TYPE_SURROUNDpublic Insets getDefaultContentInsets()
public FillImageBorder getImageBorder()
FillImageBorder surrounding the entire TabPane.
If this property is set, it will override the value of the border property.
public 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 ImageReference getRolloverScrollLeftIcon()
public ImageReference getRolloverScrollRightIcon()
public ImageReference getScrollLeftIcon()
public ImageReference getScrollRightIcon()
public Color getTabActiveBackground()
public FillImage getTabActiveBackgroundImage()
public Insets getTabActiveBackgroundInsets()
public Border getTabActiveBorder()
Border used to draw the active tab.
If the border property is not set as well, this border will surround the entire TabPane.
public Font getTabActiveFont()
public Color getTabActiveForeground()
public Extent getTabActiveHeightIncrease()
Extent values for this property must be in pixel units.
public Insets getTabActiveInsets()
public FillImageBorder getTabActiveImageBorder()
FillImageBorder used to draw the active tab.
public ImageReference getTabActiveLeftImage()
FillImageBorders should be used to render complex tabs
getTabActiveImageBorder()public ImageReference getTabActiveRightImage()
FillImageBorders should be used to render complex tabs
getTabActiveImageBorder()public Alignment getTabAlignment()
public FillImage getTabBackgroundImage()
public ImageReference getTabCloseIcon()
public int getTabDefaultCloseOperation()
public ImageReference getTabDisabledCloseIcon()
public Extent getTabHeight()
Extent values for this property must be in pixel units.
public Extent getTabIconTextMargin()
Extents with
fixed (i.e., not percent) units.
public Color getTabInactiveBackground()
public FillImage getTabInactiveBackgroundImage()
public Insets getTabInactiveBackgroundInsets()
public Border getTabInactiveBorder()
Border used to draw inactive tabs.
public Font getTabInactiveFont()
public Color getTabInactiveForeground()
public FillImageBorder getTabInactiveImageBorder()
FillImageBorder used to draw inactive tabs.
public Insets getTabInactiveInsets()
public ImageReference getTabInactiveLeftImage()
FillImageBorders should be used to render complex tabs
getTabInactiveImageBorder()public ImageReference getTabInactiveRightImage()
FillImageBorders should be used to render complex tabs
getTabInactiveImageBorder()public Extent getTabInset()
TabPane.
public Extent getTabMaximumWidth()
public int getTabPosition()
TAB_POSITION_TOPTAB_POSITION_BOTTOMpublic Color getTabRolloverBackground()
public FillImage getTabRolloverBackgroundImage()
public Insets getTabRolloverBackgroundInsets()
public Border getTabRolloverBorder()
Border used to draw rolled over tabs.
public ImageReference getTabRolloverCloseIcon()
public Font getTabRolloverFont()
public Color getTabRolloverForeground()
public FillImageBorder getTabRolloverImageBorder()
FillImageBorder used to draw rolled over tabs.
public Extent getTabSpacing()
public Extent getTabWidth()
public boolean hasTabClosingListeners()
TabClosingListeners are registered.
TabClosingListeners are registeredpublic boolean hasTabSelectionListeners()
TabSelectionListeners are registered.
TabSelectionListeners are registeredpublic boolean isTabCloseEnabled()
TabPaneLayoutData.setCloseEnabled(boolean).
public boolean isTabCloseIconRolloverEnabled()
public boolean isTabRolloverEnabled()
public boolean isValidParent(Component c)
isValidParent in class ComponentComponent.isValidParent(nextapp.echo.app.Component)
public void processInput(String inputName,
Object inputValue)
processInput in class ComponentComponent.processInput(java.lang.String, java.lang.Object)public void removeTabClosingListener(TabClosingListener l)
TabPaneListener from receiving event notifications.
l - the TabPaneListener to removepublic void removeTabSelectionListener(TabSelectionListener l)
TabSelectionListener from receiving event notifications.
l - the TabSelectionListener to removepublic void setActiveTabIndex(int newValue)
newValue - the index of the child Component whose tab
should be displayedpublic void setBorder(Border newValue)
TabPane.
This property will have no effect if an imageBorder has been configured.
newValue - the new borderpublic void setBorderType(int newValue)
TabPane.
This property will affect the rendering of both border and imageBorder properties.
newValue - the new border type one of the following values:
BORDER_TYPE_NONEBORDER_TYPE_ADJACENT_TO_TABS (the default)BORDER_TYPE_PARALLEL_TO_TABSBORDER_TYPE_SURROUNDpublic void setDefaultContentInsets(Insets newValue)
newValue - the new default content inset marginpublic void setImageBorder(FillImageBorder newValue)
FillImageBorder surrounding the entire TabPane.
If this property is set, it will override the value of the border property.
newValue - the new image borderpublic void setInsets(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 setRolloverScrollLeftIcon(ImageReference newValue)
newValue - the new left rollover scroll iconpublic void setRolloverScrollRightIcon(ImageReference newValue)
newValue - the new right rollover scroll iconpublic void setScrollLeftIcon(ImageReference newValue)
newValue - the new left scroll iconpublic void setScrollRightIcon(ImageReference newValue)
newValue - the new right scroll iconpublic void setTabActiveBackground(Color newValue)
newValue - the new active tab backgroundpublic void setTabActiveBackgroundImage(FillImage newValue)
newValue - the new active tab background imagepublic void setTabActiveBackgroundInsets(Insets newValue)
newValue - the new inset marginpublic void setTabActiveBorder(Border newValue)
Border used to draw the active tab.
If the border property is not set as well, this border will surround the entire TabPane.
newValue - the new borderpublic void setTabActiveFont(Font newValue)
newValue - the new active tab fontpublic void setTabActiveForeground(Color newValue)
newValue - the new active tab foregroundpublic void setTabActiveHeightIncrease(Extent newValue)
Extent values for this property must be in pixel units.
newValue - the new active tab height increasepublic void setTabActiveImageBorder(FillImageBorder newValue)
FiillImageBorder used to draw the active tab.
newValue - the new borderpublic void setTabActiveInsets(Insets newValue)
newValue - the new active tab insetspublic void setTabActiveLeftImage(ImageReference newValue)
FillImageBorders should be used to render complex tabs
newValue - the active tab left imagesetTabActiveImageBorder(nextapp.echo.app.FillImageBorder)public void setTabActiveRightImage(ImageReference newValue)
FillImageBorders should be used to render complex tabs
newValue - the active tab right imagesetTabActiveImageBorder(nextapp.echo.app.FillImageBorder)public void setTabAlignment(Alignment newValue)
newValue - the new tab alignmentpublic void setTabBackgroundImage(FillImage newValue)
newValue - the background imagepublic void setTabCloseEnabled(boolean newValue)
TabPaneLayoutData.setCloseEnabled(boolean).
newValue - true if tabs should be closablepublic void setTabCloseIcon(ImageReference newValue)
newValue - the new iconpublic void setTabCloseIconRolloverEnabled(boolean newValue)
newValue - true if close icon rollover effects should be enabledpublic void setTabDefaultCloseOperation(int newValue)
newValue - the new default tab close operation, one of the following
values:
public void setTabDisabledCloseIcon(ImageReference newValue)
newValue - the new iconpublic void setTabHeight(Extent newValue)
Extent values for this property must be in pixel units.
newValue - the new tab heightpublic void setTabIconTextMargin(Extent newValue)
Extents with
fixed (i.e., not percent) units.
newValue - the margin sizepublic void setTabInactiveBackground(Color newValue)
newValue - the new inactive tab backgroundpublic void setTabInactiveBackgroundImage(FillImage newValue)
newValue - the new inactive tab background imagepublic void setTabInactiveBackgroundInsets(Insets newValue)
newValue - the new inset marginpublic void setTabInactiveBorder(Border newValue)
Border used to draw inactive tabs in the
TabPane.
newValue - the new borderpublic void setTabInactiveFont(Font newValue)
newValue - the new inactive tab fontpublic void setTabInactiveForeground(Color newValue)
newValue - the new inactive tab foregroundpublic void setTabInactiveImageBorder(FillImageBorder newValue)
FillImageBorder used to draw inactive tabs.
newValue - the new borderpublic void setTabInactiveInsets(Insets newValue)
newValue - the new inactive tab insetspublic void setTabInactiveLeftImage(ImageReference newValue)
FillImageBorders should be used to render complex tabs
newValue - the inactive tab left imagesetTabInactiveImageBorder(nextapp.echo.app.FillImageBorder)public void setTabInactiveRightImage(ImageReference newValue)
FillImageBorders should be used to render complex tabs
newValue - the inactive tab right imagesetTabInactiveImageBorder(nextapp.echo.app.FillImageBorder)public void setTabInset(Extent newValue)
TabPane.
newValue - the new tab insetpublic void setTabMaximumWidth(Extent newValue)
newValue - the new maximum widthpublic void setTabPosition(int newValue)
newValue - the new tab position, one of the following values:
TAB_POSITION_TOPTAB_POSITION_BOTTOMpublic void setTabRolloverBackground(Color newValue)
newValue - the new rollover tab backgroundpublic void setTabRolloverBackgroundImage(FillImage newValue)
newValue - the new rollover tab background imagepublic void setTabRolloverBackgroundInsets(Insets newValue)
newValue - the new inset marginpublic void setTabRolloverBorder(Border newValue)
Border used to draw rolled over tabs in the
TabPane.
newValue - the new rollover borderpublic void setTabRolloverCloseIcon(ImageReference newValue)
newValue - the new iconpublic void setTabRolloverEnabled(boolean newValue)
newValue - true if tab rollover effects should be enabledpublic void setTabRolloverFont(Font newValue)
newValue - the new rollover tab fontpublic void setTabRolloverForeground(Color newValue)
newValue - the new rollover tab foregroundpublic void setTabRolloverImageBorder(FillImageBorder newValue)
FillImageBorder used to draw rolled over tabs.
newValue - the new rollover image borderpublic void setTabSpacing(Extent newValue)
newValue - the new tab spacingpublic void setTabWidth(Extent newValue)
newValue - the new tab widthpublic void userTabClose(int tabIndex)
public void userTabSelect(int tabIndex)
|
NextApp Echo3 Extras v3.0.b8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||