fipaos.tutorial.emarkets.agent.buyer.gui
Class BuyerGUI

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--fipaos.tutorial.emarkets.agent.buyer.gui.BuyerGUI

public class BuyerGUI
extends JFrame
implements FIPASubscribeInitiatorGUIAbility, InitiatorGUI


Inner classes inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame

Inner classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame

Fields inherited from class javax.swing.JFrame
EXIT_ON_CLOSE

Fields inherited from class java.awt.Frame
DEFAULT_CURSOR, CROSSHAIR_CURSOR, TEXT_CURSOR, WAIT_CURSOR, SW_RESIZE_CURSOR, SE_RESIZE_CURSOR, NW_RESIZE_CURSOR, NE_RESIZE_CURSOR, N_RESIZE_CURSOR, S_RESIZE_CURSOR, W_RESIZE_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, NORMAL, ICONIFIED

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
BuyerGUI(FIPASubscribeInitiatorGUIAbility buyer_ability, String name)
          Creates new form BuyerGUI

Method Summary
 voidaddAgent(String agent)
           
 voidcloseGUI()
           
 voidGUIClosed()
           
 voidremoveAgent(String agent)
           
 VectorsearchForAgents(String service_type)
           
 voidsetCredits(int credits)
           
 voidsetEmarketID(String emarket_id)
           
 voidsetItems(int items)
           
 voidsetIteration(int iter)
           
 voidsetNegotiationID(String neg_id)
           
 voidsetSellerID(String seller_id)
           
 voidsetTargetItems(int items)
           
 voidsubscribe(AgentID agent_id)
           
 voidunsubscribe(AgentID agent_id)
           
 voidupdateStatus(String state)
           

Methods inherited from class javax.swing.JFrame
setDefaultCloseOperation, getDefaultCloseOperation, update, setJMenuBar, getJMenuBar, remove, setLayout, getRootPane, getContentPane, setContentPane, getLayeredPane, setLayeredPane, getGlassPane, setGlassPane, getAccessibleContext

Methods inherited from class java.awt.Frame
addNotify, getTitle, setTitle, getIconImage, setIconImage, getMenuBar, setMenuBar, isResizable, setResizable, setState, getState, remove, removeNotify, setCursor, getCursorType, getFrames

Methods inherited from class java.awt.Window
pack, show, hide, dispose, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, removeAll, getLayout, doLayout, layout, invalidate, validate, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, print, paintComponents, printComponents, addContainerListener, removeContainerListener, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Constructor Detail

BuyerGUI

public BuyerGUI(FIPASubscribeInitiatorGUIAbility buyer_ability, String name)
Creates new form BuyerGUI
Method Detail

addAgent

public void addAgent(String agent)

closeGUI

public void closeGUI()

GUIClosed

public void GUIClosed()

removeAgent

public void removeAgent(String agent)

searchForAgents

public Vector searchForAgents(String service_type)

setCredits

public void setCredits(int credits)

setEmarketID

public void setEmarketID(String emarket_id)

setItems

public void setItems(int items)

setIteration

public void setIteration(int iter)

setNegotiationID

public void setNegotiationID(String neg_id)

setSellerID

public void setSellerID(String seller_id)

setTargetItems

public void setTargetItems(int items)

subscribe

public void subscribe(AgentID agent_id)

unsubscribe

public void unsubscribe(AgentID agent_id)

updateStatus

public void updateStatus(String state)

Association Links

to Class java.lang.String

to Class fipaos.tutorial.emarkets.subscribe.gui.FIPASubscribeInitiatorGUIAbility

to Class fipaos.tutorial.emarkets.subscribe.gui.FIPASubscribeInitiatorGUI

to Class java.lang.String

to Class java.util.Vector

to Class javax.swing.JPanel

to Class javax.swing.JLabel

to Class javax.swing.JLabel

to Class javax.swing.JTextField

to Class javax.swing.JTextField

to Class javax.swing.JPanel

to Class javax.swing.JPanel

to Class javax.swing.JLabel

to Class javax.swing.JLabel

to Class javax.swing.JLabel

to Class javax.swing.JLabel

to Class javax.swing.JLabel

to Class javax.swing.JTextField

to Class javax.swing.JTextField

to Class javax.swing.JTextField

to Class javax.swing.JTextField

to Class javax.swing.JTextField

to Class javax.swing.JLabel

to Class javax.swing.JTextField

to Class javax.swing.JPanel

to Class javax.swing.JButton