All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.reticular.agents.buyerSeller.SellerFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.reticular.agents.buyerSeller.SellerFrame

public class SellerFrame
extends Frame
implements Runnable, Cloneable
Description : Frame provides a simple interface for the message testing agent. This interface has a scrollable text area, a print button, and a quit button.


Variable Index

 o ACC_TEXT_FIELD_COLS
 o ACCOUNT_LABEL
 o EMPTY_STRING
 o FRAME_HEIGHT
 o FRAME_WIDTH
 o INV_TEXT_AREA_COLS
 o INV_TEXT_AREA_ROWS
 o INVENTORY_LABEL
 o LABEL_FONT_NAME
 o LABEL_FONT_SIZE
 o LABEL_FONT_STYLE
 o MSSG_TEXT_AREA_COLS
 o MSSG_TEXT_AREA_ROWS
 o QUANT_TEXT_FIELD_COLS
 o TEXT_FONT_NAME
 o TEXT_FONT_SIZE
 o TEXT_FONT_STYLE

Constructor Index

 o SellerFrame(String)
PUBLIC METHODS******************************** /** Description : SellerFrame constructor

Method Index

 o addProduct(Product)
Description : Adds an item to the choice
 o clone()
Description :
 o displayAccount(float)
Description : Convert the float to a string and display it in the text field.
 o displayInventory(Product)
Description : Append the string argument to the text area.
 o displayMessage(String)
Description : Append the string argument to the text area.
 o run()
Description :

Variables

 o FRAME_WIDTH
 public static final int FRAME_WIDTH
 o FRAME_HEIGHT
 public static final int FRAME_HEIGHT
 o INV_TEXT_AREA_ROWS
 public static final int INV_TEXT_AREA_ROWS
 o INV_TEXT_AREA_COLS
 public static final int INV_TEXT_AREA_COLS
 o MSSG_TEXT_AREA_ROWS
 public static final int MSSG_TEXT_AREA_ROWS
 o MSSG_TEXT_AREA_COLS
 public static final int MSSG_TEXT_AREA_COLS
 o QUANT_TEXT_FIELD_COLS
 public static final int QUANT_TEXT_FIELD_COLS
 o EMPTY_STRING
 public static final String EMPTY_STRING
 o INVENTORY_LABEL
 public static final String INVENTORY_LABEL
 o ACCOUNT_LABEL
 public static final String ACCOUNT_LABEL
 o ACC_TEXT_FIELD_COLS
 public static final int ACC_TEXT_FIELD_COLS
 o LABEL_FONT_NAME
 public static final String LABEL_FONT_NAME
 o LABEL_FONT_STYLE
 public static final int LABEL_FONT_STYLE
 o LABEL_FONT_SIZE
 public static final int LABEL_FONT_SIZE
 o TEXT_FONT_NAME
 public static final String TEXT_FONT_NAME
 o TEXT_FONT_STYLE
 public static final int TEXT_FONT_STYLE
 o TEXT_FONT_SIZE
 public static final int TEXT_FONT_SIZE

Constructors

 o SellerFrame
 public SellerFrame(String sellerName)
PUBLIC METHODS******************************** /** Description : SellerFrame constructor

Parameters:
sellerName - - String

Methods

 o displayMessage
 public void displayMessage(String string)
Description : Append the string argument to the text area.

Returns:
void
 o displayInventory
 public void displayInventory(Product product)
Description : Append the string argument to the text area.

Returns:
void
 o displayAccount
 public void displayAccount(float accountValue)
Description : Convert the float to a string and display it in the text field.

Returns:
void
 o addProduct
 public void addProduct(Product product)
Description : Adds an item to the choice

Returns:
void
 o run
 public void run()
Description :

Returns:
void
 o clone
 public Object clone()
Description :

Returns:
Object
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index