VRJConfig UI API
v2.0


org.vrjuggler.vrjconfig.commoneditors.placer
Class PlacerSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.vrjuggler.vrjconfig.commoneditors.placer.PlacerSelectionEvent
All Implemented Interfaces:
Serializable

public class PlacerSelectionEvent
extends EventObject

Encapsulates information describing changes to a placer's selection used to notify placer selection listeners of that change.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PlacerSelectionEvent(Object source, int index, Object value)
          Creates a new event fired from the given source that has the given index and value selected.
 
Method Summary
 int getIndex()
          Gets the index of the item that is selected.
 Object getValue()
          Gets the value of the item that is selected.
 
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
 

Constructor Detail

PlacerSelectionEvent

public PlacerSelectionEvent(Object source,
                            int index,
                            Object value)
Creates a new event fired from the given source that has the given index and value selected.

Method Detail

getIndex

public int getIndex()
Gets the index of the item that is selected.

Returns:
the selected index or -1 if nothing is selected

getValue

public Object getValue()
Gets the value of the item that is selected.


VRJConfig UI API
v2.0


Copyright © 1998–2005 Iowa State University. All rights reserved.