C
- The type of component that represents this viewpublic interface MenuViewItem<C extends javax.swing.JComponent> extends ViewItem<C>
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds a listener which will be called if this view is triggered.
|
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes a listener from this view.
|
void addActionListener(java.awt.event.ActionListener listener)
listener
- the new listenervoid removeActionListener(java.awt.event.ActionListener listener)
listener
- the listener to remove