|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PopupButtonModel
Model for the popup area of JCommandButton
component.
Method Summary | |
---|---|
void |
addPopupActionListener(PopupActionListener l)
Adds an PopupActionListener to the model. |
boolean |
isPopupShowing()
Returns indication whether the associated popup is showing. |
void |
removePopupActionListener(PopupActionListener l)
Removes an PopupActionListener from the model. |
void |
setPopupShowing(boolean flag)
Sets indication on the visibility status of the associated popup. |
Methods inherited from interface javax.swing.ButtonModel |
---|
addActionListener, addChangeListener, addItemListener, getActionCommand, getMnemonic, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setRollover, setSelected |
Methods inherited from interface java.awt.ItemSelectable |
---|
getSelectedObjects |
Method Detail |
---|
void addPopupActionListener(PopupActionListener l)
PopupActionListener
to the model.
l
- the listener to addvoid removePopupActionListener(PopupActionListener l)
PopupActionListener
from the model.
l
- the listener to removevoid setPopupShowing(boolean flag)
flag
- The visibility status of the associated popup.boolean isPopupShowing()
true
if the associated popup is showing,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |