public class DropDownItemHandle extends Object implements ActionListener
DropDownAction
Constructor and Description |
---|
DropDownItemHandle(DockAction item,
DropDownViewItem view,
Dockable dockable,
DropDownAction action)
Creates a new item.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
bind()
Connects the view.
|
DropDownViewItem |
getView()
Gets the view of the action.
|
void |
unbind()
Disconnects the view
|
public DropDownItemHandle(DockAction item, DropDownViewItem view, Dockable dockable, DropDownAction action)
item
- the actionview
- the view of item
dockable
- the dockable for which the item is usedaction
- the owner of the itempublic DropDownViewItem getView()
public void bind()
public void unbind()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener