|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkea.programs.jPrimrose.TargetCollection
public class TargetCollection
Stores target objects.
Constructor Summary | |
---|---|
TargetCollection()
Creates a new instance of TargetCollection . |
Method Summary | |
---|---|
void |
addTarget(Target target)
Adds target to collection. |
int |
getNumberSelected()
Returns number of selected targets within collection. |
Target[] |
getSelectedTargets()
Returns array of all target objects that are selected. |
int |
getSize()
Returns number of Target objects in collection. |
Target |
getTarget(int index)
Returns target at position specified. |
Target |
getTarget(kea.database.Record record)
Returns Target object corresponding to supplied Record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TargetCollection()
TargetCollection
.
Method Detail |
---|
public void addTarget(Target target)
target
- Target object to add.public Target getTarget(kea.database.Record record)
record
- Record object of required Target.
public Target getTarget(int index)
index
- Index number of required target.
public int getSize()
public int getNumberSelected()
public Target[] getSelectedTargets()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |