org.intranet.elevator.model
Class FloorRequestPanel
java.lang.Object
org.intranet.elevator.model.FloorRequestPanel
- public class FloorRequestPanel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
floors
private final java.util.List floors
requestedFloors
private final java.util.List requestedFloors
listeners
private final java.util.List listeners
FloorRequestPanel
public FloorRequestPanel()
addServicedFloor
public final void addServicedFloor(Floor floor)
getServicedFloorsI
public final java.util.Iterator getServicedFloorsI()
getFloorAt
public final Floor getFloorAt(float height)
getServicedFloors
public java.util.List getServicedFloors()
getRequestedFloors
public java.util.List getRequestedFloors()
getMaxFloor
Floor getMaxFloor()
getMinFloor
Floor getMinFloor()
requestFloor
public final void requestFloor(Floor floor)
requestFulfilled
final void requestFulfilled(Floor floor)
addListener
public void addListener(FloorRequestPanel.Listener l)