|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.openbp.swing.components.popupfield.PopupEvent
public class PopupEvent
This event occurrs when the popup menu of a JSelectionField is opened or closed.
| Field Summary | |
|---|---|
static int |
POPUP_CLOSED
Popup was closed |
static int |
POPUP_CLOSING
Popup is being closed |
static int |
POPUP_OPENED
Popup was opened |
static int |
POPUP_OPENING
Popup is being opened |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PopupEvent(javax.swing.JComponent source,
int cause)
Default constructor. |
|
| Method Summary | |
|---|---|
int |
getCause()
Gets the cause of the event ( POPUP_OPENED/POPUP_CLOSED). |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int POPUP_OPENING
public static final int POPUP_OPENED
public static final int POPUP_CLOSING
public static final int POPUP_CLOSED
| Constructor Detail |
|---|
public PopupEvent(javax.swing.JComponent source,
int cause)
source - Source of the event (the JSelectionField)cause - Cause of the event (POPUP_OPENING/POPUP_OPENED/POPUP_CLOSING/POPUP_CLOSED)| Method Detail |
|---|
public int getCause()
POPUP_OPENED/POPUP_CLOSED).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||