fipaos.tutorial.emarkets.agent.seller.gui
Class SellerGUI

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

public class SellerGUI
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
SellerGUI(FIPASubscribeInitiatorGUIAbility seller_ability, String name)
          Creates new form SellerGUI

Method Summary
 voidaddAgent(String agent_id)
           
 voidcloseGUI()
           
 voidGUIClosed()
           
 voidremoveAgent(String agent_id)
           
 voidremoveBuyers()
           
 VectorsearchForAgents(String service_type)
           
 voidsetCredits(int credits)
           
 voidsetEmarketID(String emarket_id)
           
 voidsetItems(int items)
           
 voidsetIteration(int iter)
           
 voidsetNegotiationID(String neg_id)
           
 voidsetTargetCredits(int credits)
           
 voidsubscribe(AgentID agent_id)
           
 voidunsubscribe(AgentID agent_id)
           
 voidupdateStatus(String buyer, 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

SellerGUI

public SellerGUI(FIPASubscribeInitiatorGUIAbility seller_ability, String name)
Creates new form SellerGUI
Method Detail

addAgent

public void addAgent(String agent_id)

closeGUI

public void closeGUI()

GUIClosed

public void GUIClosed()

removeAgent

public void removeAgent(String agent_id)

removeBuyers

public void removeBuyers()

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)

setTargetCredits

public void setTargetCredits(int credits)

subscribe

public void subscribe(AgentID agent_id)

unsubscribe

public void unsubscribe(AgentID agent_id)

updateStatus

public void updateStatus(String buyer, String state)

Association Links

to Class java.util.Vector

to Class java.util.Vector

to Class java.util.Vector

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

to Class java.lang.String

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

to Class javax.swing.JPanel

to Class javax.swing.JScrollPane

to Class javax.swing.JList

to Class javax.swing.JScrollPane

to Class javax.swing.JList

to Class javax.swing.JLabel

to Class javax.swing.JLabel

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