|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Parcel in |
Fields in Default Package declared as Parcel | |
Parcel[] |
Order.parcels
Parcels in this. |
protected Parcel |
ParcelView.model
Parcel data model for this view. |
protected Parcel |
Space.parcel
Parcel contained in this space. |
Methods in Default Package that return Parcel | |
Parcel |
Crane.add(Parcel p)
Sets the parcel at the current crane location to the given parcel. |
Parcel |
Crane.remove()
Removes and returns the parcel at the current crane location. |
protected Parcel |
Crane.getParcel()
Returns the parcel at the current crane location. |
protected Parcel |
Crane.setParcel(Parcel p)
Sets the parcel at the current crane location to the given parcel. |
Parcel |
Space.getParcel()
Returns the parcel contained in this space, or null if this space is empty. |
Parcel |
Warehouse.setParcel(int row,
int col,
Parcel p)
Sets the parcel stored in this warehouse in the space at the given row and column indices to the given parcel. |
Parcel |
Warehouse.getParcel(int row,
int col)
Returns the parcel stored in this warehouse in the space at the given row and column indices. |
Methods in Default Package with parameters of type Parcel | |
protected Point |
ACraneStrategy.getAddLocation(Parcel p)
Returns a location in the warehouse at which the given parcel should be added. |
protected void |
ACraneStrategy.parcelAdded(int aRow,
int aColumn,
Parcel aParcel)
Called when the given parcel has successfully been added to the warehouse at the given location. |
protected void |
ACraneStrategy.parcelRemoved(int aRow,
int aColumn,
Parcel aParcel)
Called when the given parcel has successfully been removed from the warehouse from the given location. |
protected Point |
CenterStrategy.getAddLocation(Parcel aParcel)
Returns an empty location near the center of the warehouse, or returns null if there are no empty locations. |
boolean |
Crane.contains(Parcel p)
Returns true if the current crane location
contains the given parcel, or false
if it does not contain the given parcel. |
Parcel |
Crane.add(Parcel p)
Sets the parcel at the current crane location to the given parcel. |
protected Parcel |
Crane.setParcel(Parcel p)
Sets the parcel at the current crane location to the given parcel. |
protected void |
Order.setParcels(Parcel[] p)
Sets the parcels for this to the given array. |
boolean |
Order.contains(Parcel p)
Returns whether or not this contains the given parcel. |
protected Point |
RandomStrategy.getAddLocation(Parcel aParcel)
Returns a random location at which to try to add the given parcel. |
protected Point |
RowsStrategy.getAddLocation(Parcel aParcel)
Returns the location to add the given parcel, or null if there is no such location. |
void |
Space.setParcel(Parcel p)
Sets the parcel contained in this space to the given parcel. |
Parcel |
Warehouse.setParcel(int row,
int col,
Parcel p)
Sets the parcel stored in this warehouse in the space at the given row and column indices to the given parcel. |
Constructors in Default Package with parameters of type Parcel | |
Order(int aNumber,
Parcel[] parcels)
Constructs an order with the given identifier and group of parcels. |
|
ParcelView(Parcel p)
Constructs a view for the given parcel. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |