public class ActionEvents extends Object implements Serializable
Constructor and Description |
---|
ActionEvents() |
ActionEvents(List<ActionEvent> actionEvents) |
Modifier and Type | Method and Description |
---|---|
void |
addActionEvent(ActionEvent vActionEvent) |
void |
addActionEvent(int index,
ActionEvent vActionEvent) |
Enumeration<ActionEvent> |
enumerateActionEvent()
Method enumerateActionEvent.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
ActionEvent[] |
getActionEvent()
Method getActionEvent.Returns the contents of the collection in an
Array.
|
ActionEvent |
getActionEvent(int index)
Method getActionEvent.
|
List<ActionEvent> |
getActionEventCollection()
Method getActionEventCollection.Returns a reference to
'_actionEventList'.
|
int |
getActionEventCount()
Method getActionEventCount.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
Iterator<ActionEvent> |
iterateActionEvent()
Method iterateActionEvent.
|
boolean |
removeActionEvent(ActionEvent vActionEvent)
Method removeActionEvent.
|
ActionEvent |
removeActionEventAt(int index)
Method removeActionEventAt.
|
void |
removeAllActionEvent() |
void |
setActionEvent(ActionEvent[] vActionEventArray) |
void |
setActionEvent(int index,
ActionEvent vActionEvent) |
void |
setActionEvent(List<ActionEvent> vActionEventList)
Sets the value of '_actionEventList' by copying the given Vector.
|
public ActionEvents()
public ActionEvents(List<ActionEvent> actionEvents)
public void addActionEvent(ActionEvent vActionEvent) throws IndexOutOfBoundsException
vActionEvent
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addActionEvent(int index, ActionEvent vActionEvent) throws IndexOutOfBoundsException
index
- vActionEvent
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Enumeration<ActionEvent> enumerateActionEvent()
public boolean equals(Object obj)
public ActionEvent getActionEvent(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic ActionEvent[] getActionEvent()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<ActionEvent> getActionEventCollection()
public int getActionEventCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public Iterator<ActionEvent> iterateActionEvent()
public boolean removeActionEvent(ActionEvent vActionEvent)
vActionEvent
- public ActionEvent removeActionEventAt(int index)
index
- public void removeAllActionEvent()
public void setActionEvent(int index, ActionEvent vActionEvent) throws IndexOutOfBoundsException
index
- vActionEvent
- IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setActionEvent(ActionEvent[] vActionEventArray)
vActionEventArray
- public void setActionEvent(List<ActionEvent> vActionEventList)
vActionEventList
- the Vector to copy.Copyright © 2017. All rights reserved.