org.vrjuggler.vrjconfig.commoneditors.placer
Class PlacerSelectionEvent
java.lang.Object
java.util.EventObject
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
|
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. |
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.
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.
Copyright © 1998–2005 Iowa State University. All rights reserved.