org.gscg.singleuser.interactionlayer.business
Class BusinessProduction

java.lang.Object
  extended bynl.tudelft.simulation.event.EventProducer
      extended byorg.gscg.singleuser.interactionlayer.business.BusinessProduction
All Implemented Interfaces:
AnnounceInterface, nl.tudelft.simulation.event.EventProducerInterface, java.io.Serializable

public class BusinessProduction
extends nl.tudelft.simulation.event.EventProducer
implements AnnounceInterface

The BusinessProduction manages all the server-side actions related to the production decisions of a player. It manages initializing and updating the production panel.

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.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/08/09 15:43:41 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
static nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_DAY
          updates the rows in a table
static nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_MONTH
          updates the rows in a table
static nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_WEEK
          updates the rows in a table
static nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PRODUCT_HEADERS
          updates the product headers and the number of required columns
 
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
BusinessProduction(SingleUserInteractionLayerInterface owner)
          constructs a new BusinessProduction
 
Method Summary
 void announce(nl.tudelft.simulation.event.EventType eventType, boolean announce)
          Method announce.
 
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

UPDATE_BUSINESS_PRODUCTION_PANEL_DAY

public static final nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_DAY
updates the rows in a table


UPDATE_BUSINESS_PRODUCTION_PANEL_WEEK

public static final nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_WEEK
updates the rows in a table


UPDATE_BUSINESS_PRODUCTION_PANEL_MONTH

public static final nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PANEL_MONTH
updates the rows in a table


UPDATE_BUSINESS_PRODUCTION_PRODUCT_HEADERS

public static final nl.tudelft.simulation.event.EventType UPDATE_BUSINESS_PRODUCTION_PRODUCT_HEADERS
updates the product headers and the number of required columns

Constructor Detail

BusinessProduction

public BusinessProduction(SingleUserInteractionLayerInterface owner)
constructs a new BusinessProduction

Parameters:
owner - the owner
Method Detail

announce

public void announce(nl.tudelft.simulation.event.EventType eventType,
                     boolean announce)
Description copied from interface: AnnounceInterface
Method announce.

Specified by:
announce in interface AnnounceInterface
Parameters:
eventType - the eventType
announce - indicates whether this is an announce
See Also:
AnnounceInterface.announce(nl.tudelft.simulation.event.EventType, boolean)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.