javax.rad.ui.component
Interface IPopupMenuButton
- All Superinterfaces:
- IAlignmentConstants, IComponent, IIcon, ILabel, ILabeledIcon, INamedObject, IResource
- All Known Implementing Classes:
- SwingPopupMenuButton, UIPopupMenuButton
public interface IPopupMenuButton
- extends ILabeledIcon
Platform and technology independent popup menu button definition.
It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Methods inherited from interface javax.rad.ui.IComponent |
capture, eventComponentMoved, eventComponentResized, eventFocusGained, eventFocusLost, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyle, getTabIndex, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setStyle, setTabIndex, setToolTipText, setVisible |
setPopupMenu
void setPopupMenu(IPopupMenu pMenu)
- Sets the
IPopupMenu which should be shown.
- Parameters:
pMenu - the menu
getPopupMenu
IPopupMenu getPopupMenu()
- Gets the
IPopupMenu which can be shown.
- Returns:
- the menu
setDefaultMenuItem
void setDefaultMenuItem(IMenuItem pItem)
- Sets the default menu item. The default menu item will be used as action
for this button. The menu item should be an item of the configured menu.
If no default menu item is set, the full menu will be shown in case of
button click.
- Parameters:
pItem - the item to use as action item- See Also:
setPopupMenu(IPopupMenu)
getDefaultMenuItem
IMenuItem getDefaultMenuItem()
- Gets the default menu item.
- Returns:
- the menu item
- See Also:
setDefaultMenuItem(IMenuItem)
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.