|
|||||||||||
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.ConfirmedOrderHandler
Updates the number of orders based on the day in the interactive simulation. Whenever an order is received or is handled, accordingly the number is updated at the client side gui. This handler is used by the PURCHASE 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_ORDERCONFIRMED_RECEIVED_DAY
the event type for the amount of orders per product per day |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_MONTH
the event type for the amount of orders per product per month |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_UPDATE
the event type to update all the order commitments |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_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 | |
ConfirmedOrderHandler(SingleUserInteractionLayerInterface owner)
constructs a new ConfirmedOrderHandler |
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_ORDERCONFIRMED_RECEIVED_DAY
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_WEEK
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_MONTH
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCONFIRMED_RECEIVED_UPDATE
Constructor Detail |
public ConfirmedOrderHandler(SingleUserInteractionLayerInterface owner)
owner
- the ownerMethod Detail |
public void notify(nl.tudelft.simulation.event.EventInterface event) throws java.rmi.RemoteException
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
java.rmi.RemoteException
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
public void announce(nl.tudelft.simulation.event.EventType eventType, boolean announce)
AnnounceInterface
announce
in interface AnnounceInterface
eventType
- 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 |