|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
org.gscg.singleuser.handlers.CommittedOrderHandler
Updates the number of orders based on the day in the interactive simulation. Whenever an order is committed to a customer the number is updated at the client side gui. This handler is used by the SALES PANEL of a client-side gui.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_SENT_DAY
the event type for the amount of orders per product per day |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_SENT_MONTH
the event type for the amount of orders per product per month |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_SENT_UPDATE
the event type to update all the order commitments |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_SENT_WEEK
the event type for the amount of orders per product per week |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
CommittedOrderHandler(SingleUserInteractionLayerInterface owner)
constructs a new CommittedOrderHandler |
|
| Method Summary | |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
| Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_SENT_DAY
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_SENT_WEEK
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_SENT_MONTH
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_SENT_UPDATE
| Constructor Detail |
public CommittedOrderHandler(SingleUserInteractionLayerInterface owner)
owner - the owner| Method Detail |
public void notify(nl.tudelft.simulation.event.EventInterface event)
throws java.rmi.RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfacejava.rmi.RemoteExceptionEventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
public void announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
AnnounceInterface
announce in interface AnnounceInterfaceeventType - the eventTypeannounce - indicates whether this is an announceAnnounceInterface.announce(nl.tudelft.simulation.event.EventType,
boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||