NextApp Echo3 Extras
v3.0.b4

nextapp.echo.extras.app
Class DropDownMenu

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by nextapp.echo.extras.app.menu.AbstractMenuComponent
          extended by nextapp.echo.extras.app.DropDownMenu
All Implemented Interfaces:
java.io.Serializable, nextapp.echo.app.RenderIdSupport

public class DropDownMenu
extends AbstractMenuComponent

EXPERIMENTAL: Under Development, API may change.

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTY_BACKGROUND_IMAGE
           
static java.lang.String PROPERTY_BORDER
           
static java.lang.String PROPERTY_DISABLED_BACKGROUND
           
static java.lang.String PROPERTY_DISABLED_BACKGROUND_IMAGE
           
static java.lang.String PROPERTY_DISABLED_EXPAND_ICON
           
static java.lang.String PROPERTY_DISABLED_FOREGROUND
           
static java.lang.String PROPERTY_EXPAND_ICON
           
static java.lang.String PROPERTY_EXPAND_ICON_WIDTH
           
static java.lang.String PROPERTY_HEIGHT
           
static java.lang.String PROPERTY_INSETS
           
static java.lang.String PROPERTY_LINE_WRAP
           
static java.lang.String PROPERTY_MENU_BACKGROUND
           
static java.lang.String PROPERTY_MENU_BACKGROUND_IMAGE
           
static java.lang.String PROPERTY_MENU_BORDER
           
static java.lang.String PROPERTY_MENU_EXPAND_ICON
           
static java.lang.String PROPERTY_MENU_FONT
           
static java.lang.String PROPERTY_MENU_FOREGROUND
           
static java.lang.String PROPERTY_MENU_HEIGHT
           
static java.lang.String PROPERTY_MENU_WIDTH
           
static java.lang.String PROPERTY_SELECTION_BACKGROUND
           
static java.lang.String PROPERTY_SELECTION_BACKGROUND_IMAGE
           
static java.lang.String PROPERTY_SELECTION_FOREGROUND
           
static java.lang.String PROPERTY_SELECTION_TEXT
           
static java.lang.String PROPERTY_WIDTH
           
static java.lang.String SELECTION_CHANGED_PROPERTY
           
static java.lang.String SELECTION_MODEL_CHANGED_PROPERTY
           
 
Fields inherited from class nextapp.echo.extras.app.menu.AbstractMenuComponent
ACTION_LISTENERS_CHANGED_PROPERTY, DEFAULT_ANIMATION_TIME, INPUT_ACTION, MODEL_CHANGED_PROPERTY, PROPERTY_ANIMATION_TIME, STATE_MODEL_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
DropDownMenu()
          Creates a new DropDownMenu with an empty DefaultMenuModel as its model and a.
DropDownMenu(MenuModel model)
          Creates a new DropDownMenu displaying the specified MenuModel and using a DefaultMenuStateModel to provide state information.
DropDownMenu(MenuModel model, MenuSelectionModel selectionModel)
           
DropDownMenu(MenuModel model, MenuStateModel stateModel)
          Creates a new DropDownMenu displaying the specified MenuModel and using the specified MenuStateModel to provide state information.
 
Method Summary
 void doAction(OptionModel optionModel)
          Programmatically performs a menu action.
 nextapp.echo.app.FillImage getBackgroundImage()
          Returns the background image that will be displayed in the DropDownMenu.
 nextapp.echo.app.Border getBorder()
          Returns the border that will be displayed around the DropDownMenu.
 nextapp.echo.app.Color getDisabledBackground()
          Returns the background color used to render disabled menu items.
 nextapp.echo.app.FillImage getDisabledBackgroundImage()
          Returns the background image used to render disabled menu items.
 nextapp.echo.app.ImageReference getDisabledExpandIcon()
          Returns the disabled expand icon.
 nextapp.echo.app.Color getDisabledForeground()
          Returns the foreground color used to render disabled menu items.
 nextapp.echo.app.ImageReference getExpandIcon()
          Returns the icon used to expand the drop down menu.
 nextapp.echo.app.Extent getExpandIconWidth()
          Returns the width of the expand icon.
 nextapp.echo.app.Extent getHeight()
          Returns the height of the drop down menu.
 nextapp.echo.app.Insets getInsets()
          Returns the insets.
 nextapp.echo.app.Color getMenuBackground()
          Returns the background color that will be displayed in pull-down menus.
 nextapp.echo.app.FillImage getMenuBackgroundImage()
          Returns the background image that will be displayed in pull-down menus.
 nextapp.echo.app.Border getMenuBorder()
          Returns the border that will be displayed around pull-down menus.
 nextapp.echo.app.ImageReference getMenuExpandIcon()
          Returns the icon used to expand pull-down menus.
 nextapp.echo.app.Font getMenuFont()
          Returns the font used to render the menu.
 nextapp.echo.app.Color getMenuForeground()
          Returns the foreground color that will be displayed in pull-down menus.
 nextapp.echo.app.Extent getMenuHeight()
          Returns the height of the expanded menu.
 nextapp.echo.app.Extent getMenuWidth()
          Returns the width of the expanded menu.
 nextapp.echo.app.Color getSelectionBackground()
          Returns the background color used to highlight the currently selected menu item.
 nextapp.echo.app.FillImage getSelectionBackgroundImage()
          Returns the background image used to highlight the currently selected menu item.
 nextapp.echo.app.Color getSelectionForeground()
          Returns the foreground color used to highlight the currently selected menu item.
 MenuSelectionModel getSelectionModel()
           
 java.lang.String getSelectionText()
          Gets the selection text that will be displayed when no item is selected.
 nextapp.echo.app.Extent getWidth()
          Returns the width of the drop down menu.
 boolean isLineWrap()
          Determines if the text of items should wrap in the event that horizontal space is limited.
 void processInput(java.lang.String name, java.lang.Object value)
           
 void setBackgroundImage(nextapp.echo.app.FillImage newValue)
          Sets the background image that will be displayed in the DropDownMenu.
 void setBorder(nextapp.echo.app.Border newValue)
          Sets the border that will be displayed around the DropDownMenu.
 void setDisabledBackground(nextapp.echo.app.Color newValue)
          Sets the background color used to render disabled menu items.
 void setDisabledBackgroundImage(nextapp.echo.app.FillImage newValue)
          Sets the background image used to render disabled menu items.
 void setDisabledExpandIcon(nextapp.echo.app.ImageReference newValue)
          Sets the disabled expand icon.
 void setDisabledForeground(nextapp.echo.app.Color newValue)
          Sets the foreground color used to render disabled menu items.
 void setExpandIcon(nextapp.echo.app.ImageReference newValue)
          Sets the icon used to expand the drop down menu.
 void setExpandIconWidth(nextapp.echo.app.Extent newValue)
          Sets the width of the expand icon.
 void setHeight(nextapp.echo.app.Extent newValue)
          Sets the height of the drop down menu.
 void setInsets(nextapp.echo.app.Insets newValue)
          Sets the insets.
 void setLineWrap(boolean newValue)
          Sets whether the text of items should wrap in the event that horizontal space is limited.
 void setMenuBackground(nextapp.echo.app.Color newValue)
          Sets the background color that will be displayed in pull-down menus.
 void setMenuBackgroundImage(nextapp.echo.app.FillImage newValue)
          Sets the background image that will be displayed in pull-down menus.
 void setMenuBorder(nextapp.echo.app.Border newValue)
          Sets the border that will be displayed around pull-down menus.
 void setMenuExpandIcon(nextapp.echo.app.ImageReference newValue)
          Sets the icon used to expand pull-down menus.
 void setMenuFont(nextapp.echo.app.Font newValue)
          Sets the font used to render the menu.
 void setMenuForeground(nextapp.echo.app.Color newValue)
          Sets the foreground color that will be displayed in pull-down menus.
 void setMenuHeight(nextapp.echo.app.Extent newValue)
          Sets the height of the expanded menu.
 void setMenuWidth(nextapp.echo.app.Extent newValue)
          Sets the width of the expanded menu.
 void setSelectionBackground(nextapp.echo.app.Color newValue)
          Sets the background color used to highlight the currently selected menu item.
 void setSelectionBackgroundImage(nextapp.echo.app.FillImage newValue)
          Sets the background image used to highlight the currently selected menu item.
 void setSelectionForeground(nextapp.echo.app.Color newValue)
          Sets the foreground color used to highlight the currently selected menu item.
 void setSelectionModel(MenuSelectionModel newValue)
          Sets the selection model to use.
 void setSelectionText(java.lang.String newValue)
          Sets the selection text that will be displayed when no item is selected.
 void setWidth(nextapp.echo.app.Extent newValue)
          Sets the width of the drop down menu.
 
Methods inherited from class nextapp.echo.extras.app.menu.AbstractMenuComponent
addActionListener, fireActionPerformed, getAnimationTime, getModel, getStateModel, hasActionListeners, removeActionListener, setAnimationTime, setModel, setStateModel
 
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, isValidParent, 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

PROPERTY_BACKGROUND_IMAGE

public static final java.lang.String PROPERTY_BACKGROUND_IMAGE
See Also:
Constant Field Values

PROPERTY_BORDER

public static final java.lang.String PROPERTY_BORDER
See Also:
Constant Field Values

PROPERTY_DISABLED_BACKGROUND

public static final java.lang.String PROPERTY_DISABLED_BACKGROUND
See Also:
Constant Field Values

PROPERTY_DISABLED_BACKGROUND_IMAGE

public static final java.lang.String PROPERTY_DISABLED_BACKGROUND_IMAGE
See Also:
Constant Field Values

PROPERTY_DISABLED_FOREGROUND

public static final java.lang.String PROPERTY_DISABLED_FOREGROUND
See Also:
Constant Field Values

PROPERTY_DISABLED_EXPAND_ICON

public static final java.lang.String PROPERTY_DISABLED_EXPAND_ICON
See Also:
Constant Field Values

PROPERTY_EXPAND_ICON

public static final java.lang.String PROPERTY_EXPAND_ICON
See Also:
Constant Field Values

PROPERTY_EXPAND_ICON_WIDTH

public static final java.lang.String PROPERTY_EXPAND_ICON_WIDTH
See Also:
Constant Field Values

PROPERTY_HEIGHT

public static final java.lang.String PROPERTY_HEIGHT
See Also:
Constant Field Values

PROPERTY_LINE_WRAP

public static final java.lang.String PROPERTY_LINE_WRAP
See Also:
Constant Field Values

PROPERTY_MENU_HEIGHT

public static final java.lang.String PROPERTY_MENU_HEIGHT
See Also:
Constant Field Values

PROPERTY_MENU_BACKGROUND

public static final java.lang.String PROPERTY_MENU_BACKGROUND
See Also:
Constant Field Values

PROPERTY_MENU_BACKGROUND_IMAGE

public static final java.lang.String PROPERTY_MENU_BACKGROUND_IMAGE
See Also:
Constant Field Values

PROPERTY_MENU_BORDER

public static final java.lang.String PROPERTY_MENU_BORDER
See Also:
Constant Field Values

PROPERTY_MENU_EXPAND_ICON

public static final java.lang.String PROPERTY_MENU_EXPAND_ICON
See Also:
Constant Field Values

PROPERTY_MENU_FOREGROUND

public static final java.lang.String PROPERTY_MENU_FOREGROUND
See Also:
Constant Field Values

PROPERTY_MENU_FONT

public static final java.lang.String PROPERTY_MENU_FONT
See Also:
Constant Field Values

PROPERTY_MENU_WIDTH

public static final java.lang.String PROPERTY_MENU_WIDTH
See Also:
Constant Field Values

PROPERTY_SELECTION_BACKGROUND

public static final java.lang.String PROPERTY_SELECTION_BACKGROUND
See Also:
Constant Field Values

PROPERTY_SELECTION_BACKGROUND_IMAGE

public static final java.lang.String PROPERTY_SELECTION_BACKGROUND_IMAGE
See Also:
Constant Field Values

PROPERTY_SELECTION_FOREGROUND

public static final java.lang.String PROPERTY_SELECTION_FOREGROUND
See Also:
Constant Field Values

PROPERTY_SELECTION_TEXT

public static final java.lang.String PROPERTY_SELECTION_TEXT
See Also:
Constant Field Values

PROPERTY_WIDTH

public static final java.lang.String PROPERTY_WIDTH
See Also:
Constant Field Values

PROPERTY_INSETS

public static final java.lang.String PROPERTY_INSETS
See Also:
Constant Field Values

SELECTION_CHANGED_PROPERTY

public static final java.lang.String SELECTION_CHANGED_PROPERTY
See Also:
Constant Field Values

SELECTION_MODEL_CHANGED_PROPERTY

public static final java.lang.String SELECTION_MODEL_CHANGED_PROPERTY
See Also:
Constant Field Values
Constructor Detail

DropDownMenu

public DropDownMenu()
Creates a new DropDownMenu with an empty DefaultMenuModel as its model and a. DefaultMenuStateModel to provide state information.


DropDownMenu

public DropDownMenu(MenuModel model)
Creates a new DropDownMenu displaying the specified MenuModel and using a DefaultMenuStateModel to provide state information.

Parameters:
model - the model

DropDownMenu

public DropDownMenu(MenuModel model,
                    MenuStateModel stateModel)
Creates a new DropDownMenu displaying the specified MenuModel and using the specified MenuStateModel to provide state information.

Parameters:
model - the model
stateModel - the selection model

DropDownMenu

public DropDownMenu(MenuModel model,
                    MenuSelectionModel selectionModel)
Method Detail

processInput

public void processInput(java.lang.String name,
                         java.lang.Object value)
Overrides:
processInput in class AbstractMenuComponent
See Also:
AbstractMenuComponent.processInput(java.lang.String, java.lang.Object)

doAction

public void doAction(OptionModel optionModel)
Description copied from class: AbstractMenuComponent
Programmatically performs a menu action.

Overrides:
doAction in class AbstractMenuComponent
Parameters:
optionModel - the OptionModel whose action is to be invoked
See Also:
AbstractMenuComponent.doAction(nextapp.echo.extras.app.menu.OptionModel)

getSelectionModel

public MenuSelectionModel getSelectionModel()

getSelectionText

public java.lang.String getSelectionText()
Gets the selection text that will be displayed when no item is selected.

Returns:
the selection text.

getBackgroundImage

public nextapp.echo.app.FillImage getBackgroundImage()
Returns the background image that will be displayed in the DropDownMenu. This background image will also be used around pull-down menus in the event that a menu background image is not specified.

Returns:
the default background image

getBorder

public nextapp.echo.app.Border getBorder()
Returns the border that will be displayed around the DropDownMenu. This border will also be used around pull-down menus in the event that a menu border is not specified.

Returns:
the default border

getDisabledBackground

public nextapp.echo.app.Color getDisabledBackground()
Returns the background color used to render disabled menu items.

Returns:
the disabled background

getDisabledBackgroundImage

public nextapp.echo.app.FillImage getDisabledBackgroundImage()
Returns the background image used to render disabled menu items.

Returns:
the disabled background image

getDisabledExpandIcon

public nextapp.echo.app.ImageReference getDisabledExpandIcon()
Returns the disabled expand icon.

Returns:
the disabled expand icon

getDisabledForeground

public nextapp.echo.app.Color getDisabledForeground()
Returns the foreground color used to render disabled menu items.

Returns:
the disabled foreground

getExpandIcon

public nextapp.echo.app.ImageReference getExpandIcon()
Returns the icon used to expand the drop down menu.

Returns:
the expand icon

getExpandIconWidth

public nextapp.echo.app.Extent getExpandIconWidth()
Returns the width of the expand icon.

Returns:
the width of the expand icon

getHeight

public nextapp.echo.app.Extent getHeight()
Returns the height of the drop down menu.

Returns:
the height

getMenuHeight

public nextapp.echo.app.Extent getMenuHeight()
Returns the height of the expanded menu.

Returns:
the height

getMenuWidth

public nextapp.echo.app.Extent getMenuWidth()
Returns the width of the expanded menu.

Returns:
the width

getInsets

public nextapp.echo.app.Insets getInsets()
Returns the insets.

Returns:
the insets
See Also:
setInsets(nextapp.echo.app.Insets)

getMenuBackground

public nextapp.echo.app.Color getMenuBackground()
Returns the background color that will be displayed in pull-down menus. Use this property only if a color different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "background" property").

Returns:
the menu background

getMenuBackgroundImage

public nextapp.echo.app.FillImage getMenuBackgroundImage()
Returns the background image that will be displayed in pull-down menus. Use this property only if an image different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "backgroundImage" property").

Returns:
the menu background image

getMenuBorder

public nextapp.echo.app.Border getMenuBorder()
Returns the border that will be displayed around pull-down menus. Use this property only if a border different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "border" property").

Returns:
the menu border

getMenuExpandIcon

public nextapp.echo.app.ImageReference getMenuExpandIcon()
Returns the icon used to expand pull-down menus.

Returns:
the menu expand icon

getMenuForeground

public nextapp.echo.app.Color getMenuForeground()
Returns the foreground color that will be displayed in pull-down menus. Use this property only if a color different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "foreground" property").

Returns:
the menu foreground

getMenuFont

public nextapp.echo.app.Font getMenuFont()
Returns the font used to render the menu.

Returns:
the menu font

getSelectionBackground

public nextapp.echo.app.Color getSelectionBackground()
Returns the background color used to highlight the currently selected menu item.

Returns:
the selection background

getSelectionBackgroundImage

public nextapp.echo.app.FillImage getSelectionBackgroundImage()
Returns the background image used to highlight the currently selected menu item.

Returns:
the selection background image

getSelectionForeground

public nextapp.echo.app.Color getSelectionForeground()
Returns the foreground color used to highlight the currently selected menu item.

Returns:
the selection foreground

getWidth

public nextapp.echo.app.Extent getWidth()
Returns the width of the drop down menu.

Returns:
the width

isLineWrap

public boolean isLineWrap()
Determines if the text of items should wrap in the event that horizontal space is limited. Default value is true.

Returns:
the line wrap state

setBackgroundImage

public void setBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image that will be displayed in the DropDownMenu. This background image will also be used around pull-down menus in the event that a menu background image is not specified.

Parameters:
newValue - the new default background image

setBorder

public void setBorder(nextapp.echo.app.Border newValue)
Sets the border that will be displayed around the DropDownMenu. This border will also be used around pull-down menus in the event that a menu border is not specified.

Parameters:
newValue - the new default border

setDisabledBackground

public void setDisabledBackground(nextapp.echo.app.Color newValue)
Sets the background color used to render disabled menu items.

Parameters:
newValue - the new disabled background

setDisabledBackgroundImage

public void setDisabledBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image used to render disabled menu items.

Parameters:
newValue - the new disabled background image

setDisabledExpandIcon

public void setDisabledExpandIcon(nextapp.echo.app.ImageReference newValue)
Sets the disabled expand icon.

Parameters:
newValue - the new disabled expand icon

setDisabledForeground

public void setDisabledForeground(nextapp.echo.app.Color newValue)
Sets the foreground color used to render disabled menu items.

Parameters:
newValue - the new disabled foreground

setExpandIcon

public void setExpandIcon(nextapp.echo.app.ImageReference newValue)
Sets the icon used to expand the drop down menu.

Parameters:
newValue - the new expand icon

setExpandIconWidth

public void setExpandIconWidth(nextapp.echo.app.Extent newValue)
Sets the width of the expand icon. This property only supports Extents with pixel units.

Parameters:
newValue - the new width of the expand icon

setHeight

public void setHeight(nextapp.echo.app.Extent newValue)
Sets the height of the drop down menu.

Parameters:
newValue - the new height

setLineWrap

public void setLineWrap(boolean newValue)
Sets whether the text of items should wrap in the event that horizontal space is limited. Default value is true.

Parameters:
newValue - the new line wrap state

setMenuHeight

public void setMenuHeight(nextapp.echo.app.Extent newValue)
Sets the height of the expanded menu.

Parameters:
newValue - the new height

setMenuWidth

public void setMenuWidth(nextapp.echo.app.Extent newValue)
Sets the width of the expanded menu.

Parameters:
newValue - the new width

setInsets

public void setInsets(nextapp.echo.app.Insets newValue)
Sets the insets. This insets will be rendered around the current selection. This property only supports Insets with pixel units.

Parameters:
newValue - the new height

setMenuBackground

public void setMenuBackground(nextapp.echo.app.Color newValue)
Sets the background color that will be displayed in pull-down menus. Use this property only if a color different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "background" property").

Parameters:
newValue - the new menu background

setMenuBackgroundImage

public void setMenuBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image that will be displayed in pull-down menus. Use this property only if an image different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "backgroundImage" property").

Parameters:
newValue - the new menu background image

setMenuBorder

public void setMenuBorder(nextapp.echo.app.Border newValue)
Sets the border that will be displayed around pull-down menus. Use this property only if a border different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "border" property").

Parameters:
newValue - the new menu border

setMenuExpandIcon

public void setMenuExpandIcon(nextapp.echo.app.ImageReference newValue)
Sets the icon used to expand pull-down menus.

Parameters:
newValue - the new menu expand icon

setMenuForeground

public void setMenuForeground(nextapp.echo.app.Color newValue)
Sets the foreground color that will be displayed in pull-down menus. Use this property only if a color different from the one used for the menu bar is desired for pull-down menus (otherwise use only the "foreground" property").

Parameters:
newValue - the new menu foreground

setMenuFont

public void setMenuFont(nextapp.echo.app.Font newValue)
Sets the font used to render the menu.

Parameters:
newValue - the new menu font

setSelectionBackground

public void setSelectionBackground(nextapp.echo.app.Color newValue)
Sets the background color used to highlight the currently selected menu item.

Parameters:
newValue - the new selection background

setSelectionBackgroundImage

public void setSelectionBackgroundImage(nextapp.echo.app.FillImage newValue)
Sets the background image used to highlight the currently selected menu item.

Parameters:
newValue - the new selection background image

setSelectionForeground

public void setSelectionForeground(nextapp.echo.app.Color newValue)
Sets the foreground color used to highlight the currently selected menu item.

Parameters:
newValue - the new selection foreground

setSelectionModel

public void setSelectionModel(MenuSelectionModel newValue)
Sets the selection model to use.

Parameters:
newValue - the new selection model

setSelectionText

public void setSelectionText(java.lang.String newValue)
Sets the selection text that will be displayed when no item is selected.

Parameters:
newValue - the new selection text

setWidth

public void setWidth(nextapp.echo.app.Extent newValue)
Sets the width of the drop down menu.

Parameters:
newValue - the new width

NextApp Echo3 Extras
v3.0.b4