Package adams.gui.event
Class RemoveItemsEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.event.RemoveItemsEvent
-
- All Implemented Interfaces:
Serializable
public class RemoveItemsEvent extends EventObject
Event that gets sent when items are to be deleted.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
m_Indices
the indices of the items that were removed.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description RemoveItemsEvent(Object src, int[] indices)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getIndices()
Returns the stored indices.boolean
hasIndices()
Checks whether there are indices stored for this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
RemoveItemsEvent
public RemoveItemsEvent(Object src, int[] indices)
Initializes the object.- Parameters:
src
- the source that triggered the eventindices
- the indices of the items to remove
-
-