JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.swing
Class JCPopupEvent

java.lang.Object
  |
  +--com.klg.jclass.util.swing.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.
 
Constructor Summary
JCPopupEvent(Object source, Object newValue)
          Constructs a popup event.
 
Method Summary
 Object getNewValue()
          Returns the new value selected in the popup.
 Object getSource()
          Returns the value model in which the change is occurring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected Object source
The source object of the event.


newValue

protected Object newValue
The new value selected in the popup.

Constructor Detail

JCPopupEvent

public JCPopupEvent(Object source,
                    Object newValue)
Constructs a popup event.

Parameters:
source - The source of the popup event
newValue - The newly selected value in the popup.
Method Detail

getSource

public Object getSource()
Returns the value model in which the change is occurring.

Returns:
the value model in which the change is occurring

getNewValue

public Object getNewValue()
Returns the new value selected in the popup.

Returns:
the new value selected in the popup

Copyright © 2004 Quest Software Inc..
All rights reserved.