|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--org.ssonet.examples.catalog.customer.OrderPanel
Catalogwindow with choice, productinfo, configuration, help and order
Nested Class Summary | |
(package private) class |
OrderPanel.ButtonPanel
|
(package private) class |
OrderPanel.OrderTableModel
|
Field Summary | |
(package private) javax.swing.JMenuItem |
about
|
(package private) org.ssonet.examples.catalog.customer.Catalog |
catalog
|
static java.lang.String |
CATALOG
|
(package private) javax.swing.JMenuItem |
catalogConfig
|
org.ssonet.examples.catalog.customer.Customer |
customer
|
(package private) java.util.Vector |
data
|
javax.swing.table.TableModel |
dataModel
|
(package private) javax.swing.JMenuItem |
exit
|
(package private) static java.lang.String[] |
Headlines
|
(package private) javax.swing.JMenuItem |
loadCatalog
|
(package private) javax.swing.JMenuBar |
mainMenuBar
|
(package private) javax.swing.JMenu |
menu1
|
(package private) javax.swing.JMenu |
menu2
|
(package private) javax.swing.JMenu |
menu3
|
(package private) javax.swing.JMenu |
menu4
|
(package private) int |
numberOfProducts
|
static java.lang.String |
ORDER
|
(package private) javax.swing.JButton |
orderButton
|
(package private) javax.swing.JMenuItem |
orderConfig
|
(package private) org.ssonet.examples.catalog.customer.OrderSumPanel |
orderSumPanel
|
(package private) org.ssonet.examples.catalog.customer.ProductPanel |
productPanel
|
(package private) javax.swing.JButton |
quitButton
|
static java.lang.String |
REQUEST
|
(package private) javax.swing.JMenuItem |
requestCatalog
|
(package private) org.ssonet.examples.catalog.customer.ProductTable |
tableView
|
(package private) javax.swing.JLabel |
validity
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
OrderPanel(org.ssonet.examples.catalog.customer.Customer customer)
creates a catalogwindow for the customer |
Method Summary | |
void |
about()
shows the info window |
void |
actionPerformed(java.awt.event.ActionEvent event)
handles ActionListener calls |
void |
addMenu(javax.swing.JApplet applet)
adds the menu to the upper edge of the window |
void |
changeConfig(java.lang.String action,
java.lang.String readableName)
changes customers ActionConfiguration for catalog receiving |
float |
getOrderSum(java.util.Vector paramVector)
Erzeugt die Liste |
(package private) void |
loadCatalogAction(java.awt.event.ActionEvent event)
calls loadLocalCatalog() and displays an error message when no catalog is available |
boolean |
loadLocalCatalog()
loads from Class |
(package private) void |
orderButtonAction()
An order will be issued. |
(package private) void |
OrderPanelWindowClosing()
close the order window |
(package private) void |
requestCatalogAction(org.ssonet.examples.catalog.customer.Customer customer)
creates a new MerchantListFrame for the customer |
void |
update()
Updates the customer window, as example when a new catalog is loaded |
void |
update(int row)
updates the subtotal price in column 5 and the total sum |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CATALOG
public static final java.lang.String ORDER
public static final java.lang.String REQUEST
public org.ssonet.examples.catalog.customer.Customer customer
org.ssonet.examples.catalog.customer.ProductTable tableView
javax.swing.JButton quitButton
javax.swing.JButton orderButton
javax.swing.JLabel validity
org.ssonet.examples.catalog.customer.Catalog catalog
int numberOfProducts
org.ssonet.examples.catalog.customer.ProductPanel productPanel
org.ssonet.examples.catalog.customer.OrderSumPanel orderSumPanel
public javax.swing.table.TableModel dataModel
java.util.Vector data
static final java.lang.String[] Headlines
javax.swing.JMenuBar mainMenuBar
javax.swing.JMenu menu1
javax.swing.JMenu menu2
javax.swing.JMenu menu3
javax.swing.JMenu menu4
javax.swing.JMenuItem catalogConfig
javax.swing.JMenuItem orderConfig
javax.swing.JMenuItem loadCatalog
javax.swing.JMenuItem requestCatalog
javax.swing.JMenuItem about
javax.swing.JMenuItem exit
Constructor Detail |
public OrderPanel(org.ssonet.examples.catalog.customer.Customer customer)
Method Detail |
public float getOrderSum(java.util.Vector paramVector)
public void addMenu(javax.swing.JApplet applet)
public boolean loadLocalCatalog()
all changeable values of the order
void OrderPanelWindowClosing()
public void about()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
void loadCatalogAction(java.awt.event.ActionEvent event)
void requestCatalogAction(org.ssonet.examples.catalog.customer.Customer customer)
public void update(int row)
public void changeConfig(java.lang.String action, java.lang.String readableName)
void orderButtonAction()
public void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |