|
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.AccordionPane
public class AccordionPane
AccordionPane component: contains multiple children in vertically arranged tabs that slide up and down to reveal a
single child at a time. May contain multiple children. May contain Panes as children.
| Field Summary | |
|---|---|
static String |
ACTIVE_TAB_INDEX_CHANGED_PROPERTY
|
static int |
DEFAULT_ANIMATION_TIME
|
static String |
INPUT_TAB_SELECT
|
static String |
PROPERTY_ANIMATION_TIME
|
static String |
PROPERTY_DEFAULT_CONTENT_INSETS
|
static String |
PROPERTY_TAB_BACKGROUND
|
static String |
PROPERTY_TAB_BACKGROUND_IMAGE
|
static String |
PROPERTY_TAB_BORDER
|
static String |
PROPERTY_TAB_FONT
|
static String |
PROPERTY_TAB_FOREGROUND
|
static String |
PROPERTY_TAB_INSETS
|
static String |
PROPERTY_TAB_ROLLOVER_BACKGROUND
|
static String |
PROPERTY_TAB_ROLLOVER_BACKGROUND_IMAGE
|
static String |
PROPERTY_TAB_ROLLOVER_BORDER
|
static String |
PROPERTY_TAB_ROLLOVER_ENABLED
|
static String |
PROPERTY_TAB_ROLLOVER_FONT
|
static String |
PROPERTY_TAB_ROLLOVER_FOREGROUND
|
static String |
TAB_SELECTION_LISTENERS_CHANGED_PROPERTY
|
| Constructor Summary | |
|---|---|
AccordionPane()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addTabSelectionListener(TabSelectionListener l)
Adds a TabSelectionListener to receive event notifications. |
protected void |
fireTabSelected(int tabIndex)
Notifies TabSelectionListeners that the user has selected a tab. |
int |
getActiveTabIndex()
Returns the index of the active tab. |
int |
getAnimationTime()
Returns the animation time (in milliseconds). |
Insets |
getDefaultContentInsets()
Returns the default content inset margin. |
Color |
getTabBackground()
Returns the tab background color. |
FillImage |
getTabBackgroundImage()
Returns the tab background image. |
Border |
getTabBorder()
Returns the tab border. |
Font |
getTabFont()
Returns the tab font. |
Color |
getTabForeground()
Returns the tab foreground color. |
Insets |
getTabInsets()
Returns the tab inset margin. |
Color |
getTabRolloverBackground()
Returns the tab rollover background color. |
FillImage |
getTabRolloverBackgroundImage()
Returns the tab rollover background image. |
Border |
getTabRolloverBorder()
Returns the tab rollover border. |
Font |
getTabRolloverFont()
Returns the tab rollover font. |
Color |
getTabRolloverForeground()
Returns the tab rollover foreground color. |
boolean |
hasTabSelectionListeners()
Determines the any TabSelectionListeners are registered. |
boolean |
isTabRolloverEnabled()
Determines whether rollover effects are enabled. |
boolean |
isValidParent(Component c)
|
void |
processInput(String inputName,
Object inputValue)
|
void |
removeTabSelectionListener(TabSelectionListener l)
Removes a TabSelectionListener from receiving event notifications. |
void |
setActiveTabIndex(int newValue)
Sets the active tab index. |
void |
setAnimationTime(int newValue)
Sets the animation time (in milliseconds). |
void |
setDefaultContentInsets(Insets newValue)
Sets the default content inset margin. |
void |
setTabBackground(Color newValue)
Sets the tab background color. |
void |
setTabBackgroundImage(FillImage newValue)
Sets the tab background image. |
void |
setTabBorder(Border newValue)
Sets the tab border. |
void |
setTabFont(Font newValue)
Sets the tab font. |
void |
setTabForeground(Color newValue)
Sets the tab foreground color. |
void |
setTabInsets(Insets newValue)
Sets the tab inset margin. |
void |
setTabRolloverBackground(Color newValue)
Sets the tab rollover background color. |
void |
setTabRolloverBackgroundImage(FillImage newValue)
Sets the tab rollover background image. |
void |
setTabRolloverBorder(Border newValue)
Sets the tab rollover border. |
void |
setTabRolloverEnabled(boolean newValue)
Sets whether tab rollover effects are enabled. |
void |
setTabRolloverFont(Font newValue)
Sets the tab rollover font. |
void |
setTabRolloverForeground(Color newValue)
Sets the tab rollover foreground color. |
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 ACTIVE_TAB_INDEX_CHANGED_PROPERTY
public static final String TAB_SELECTION_LISTENERS_CHANGED_PROPERTY
public static final int DEFAULT_ANIMATION_TIME
public static final String INPUT_TAB_SELECT
public static final String PROPERTY_ANIMATION_TIME
public static final String PROPERTY_DEFAULT_CONTENT_INSETS
public static final String PROPERTY_TAB_BACKGROUND
public static final String PROPERTY_TAB_BACKGROUND_IMAGE
public static final String PROPERTY_TAB_BORDER
public static final String PROPERTY_TAB_FONT
public static final String PROPERTY_TAB_FOREGROUND
public static final String PROPERTY_TAB_INSETS
public static final String PROPERTY_TAB_ROLLOVER_BACKGROUND
public static final String PROPERTY_TAB_ROLLOVER_BACKGROUND_IMAGE
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
| Constructor Detail |
|---|
public AccordionPane()
| Method Detail |
|---|
public void addTabSelectionListener(TabSelectionListener l)
TabSelectionListener to receive event notifications.
l - the TabSelectionListener to addprotected void fireTabSelected(int tabIndex)
TabSelectionListeners that the user has selected a tab.
public int getActiveTabIndex()
public int getAnimationTime()
public Insets getDefaultContentInsets()
public Color getTabBackground()
public FillImage getTabBackgroundImage()
public Border getTabBorder()
public Font getTabFont()
public Color getTabForeground()
public Insets getTabInsets()
public Color getTabRolloverBackground()
public FillImage getTabRolloverBackgroundImage()
public Border getTabRolloverBorder()
public Font getTabRolloverFont()
public Color getTabRolloverForeground()
public boolean hasTabSelectionListeners()
TabSelectionListeners are registered.
TabSelectionListeners are registeredpublic 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 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 setAnimationTime(int newValue)
newValue - the new animation timepublic void setDefaultContentInsets(Insets newValue)
newValue - the new default content inset marginpublic void setTabBackground(Color newValue)
newValue - the new tab background colorpublic void setTabBackgroundImage(FillImage newValue)
newValue - the new tab background imagepublic void setTabBorder(Border newValue)
newValue - the new tab borderpublic void setTabFont(Font newValue)
newValue - the new tab fontpublic void setTabForeground(Color newValue)
newValue - the new tab foreground colorpublic void setTabInsets(Insets newValue)
newValue - the new tab inset marginpublic void setTabRolloverBackground(Color newValue)
newValue - the new tab rollover background colorpublic void setTabRolloverBackgroundImage(FillImage newValue)
newValue - the new tab rollover background imagepublic void setTabRolloverBorder(Border newValue)
newValue - the new tab rollover borderpublic void setTabRolloverEnabled(boolean newValue)
newValue - the new rollover effect statepublic void setTabRolloverFont(Font newValue)
newValue - the new tab rollover fontpublic void setTabRolloverForeground(Color newValue)
newValue - the new tab rollover foreground colorpublic void userTabSelect(int tabIndex)
tabIndex - the new tab index
|
NextApp Echo3 Extras v3.0.b8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||