org.apache.batik.util.gui
public class DropDownComponent extends JPanel
Nested Class Summary | |
---|---|
static class | DropDownComponent.DefaultScrollablePopupMenuItem
Default implementation of the scrollable popup menu item. |
static class | DropDownComponent.ScrollablePopupMenu
The Scrollable Popup Menu Component. |
static class | DropDownComponent.ScrollablePopupMenuAdapter
The adapter for the ScrollablePopupMenuListener. |
static class | DropDownComponent.ScrollablePopupMenuEvent
Event to pass to listener. |
static interface | DropDownComponent.ScrollablePopupMenuItem
The scrollable pop up menu item. |
static interface | DropDownComponent.ScrollablePopupMenuListener
The ScrollablePopupMenu listener. |
static interface | DropDownComponent.ScrollablePopupMenuModel
The scrollable popup menu model. |
Constructor Summary | |
---|---|
DropDownComponent(JButton mainButton)
Creates the dropdown menu with the given main button.
|
Method Summary | |
---|---|
DropDownComponent.ScrollablePopupMenu | getPopupMenu()
Gets the dropdown popup menu.
|
boolean | isEnabled() |
void | setEnabled(boolean enable) |
void | updateMainButtonTooltip(String newTooltip)
Sets new tooltip text to the main button.
|
Parameters: mainButton the components main button
Returns: ScrollablePopupMenu
Parameters: newTooltip the new tooltip text