com.klg.jclass.field.validate
Class JCPopupEvent
java.lang.Object
|
+--com.klg.jclass.field.validate.JCPopupEvent
- public class JCPopupEvent
- extends Object
JCPopupEvent
is posted when the popup has either
a selected value or a cancel value.
Field Summary |
protected Object |
newValue
The new value selected in the popup |
protected Object |
source
The source object of the event. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
source
protected Object source
- The source object of the event.
newValue
protected Object newValue
- The new value selected in the popup
JCPopupEvent
public JCPopupEvent(Object source,
Object new_value)
- Constructs a popup event.
- Parameters:
source
- The source of the popup eventnew_value
- The newly selected value in the popup.
getSource
public Object getSource()
- Returns the value model in which the change is occurring.
getNewValue
public Object getNewValue()
- Returns the new value selected in the popup.