org.ofbiz.pos.screen
Class PaidInOut

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by net.xoetrope.xui.XPage
              extended by org.ofbiz.pos.screen.PaidInOut
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, net.xoetrope.xui.exception.XExceptionHandler, net.xoetrope.xui.PageSupport

public class PaidInOut
extends net.xoetrope.xui.XPage

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.xoetrope.xui.XPage
net.xoetrope.xui.XPage.IXDialog
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  boolean cancelled
           
protected  net.xoetrope.swing.XEdit m_amountEdit
           
protected  net.xoetrope.swing.XLabel m_amoutLabel
           
protected  net.xoetrope.swing.XButton m_cancel
           
protected  javax.swing.DefaultComboBoxModel m_comboModel
           
protected  net.xoetrope.swing.XDialog m_dialog
           
protected  net.xoetrope.swing.XButton m_ok
           
protected static PosScreen m_pos
           
protected  net.xoetrope.swing.XComboBox m_reasonCombo
           
protected  net.xoetrope.swing.XEdit m_reasonCommentEdit
           
protected  net.xoetrope.swing.XLabel m_reasonCommentLabel
           
protected  net.xoetrope.swing.XLabel m_reasonLabel
           
protected static PosTransaction m_trans
           
protected  java.lang.String m_type
           
static java.lang.String module
          To allow creating or choising a reason for a PAID IN or OUT
 
Fields inherited from class net.xoetrope.xui.XPage
ACTIVATED, adapter, ANNOTATEDIMAGE, antiAlias, BORDER_LAYOUT, BOX_LAYOUT, BUTTON, CARD_LAYOUT, CHECK, COLUMN_LAYOUT, COMBO, componentFactory, CREATED, DEACTIVATED, DISCARDED, DISPLAYED, EDIT, FLOW_LAYOUT, GRID_LAYOUT, GRIDBAG_LAYOUT, GROUP, GUIDE_LAYOUT, HOTSPOTIMAGE, IMAGE, IMAGEMAP, LABEL, LAYER_LAYOUT, LIST, LOADED, MENU, MENUBAR, MENUITEM, METACONTENT, NULL_LAYOUT, pageHelper, pageMgr, PANEL, PASSWORD, project, RADIO, rootModel, SCALE_LAYOUT, SCROLLABLEMETACONTENT, SCROLLPANE, SPLITPANE, SPRING_LAYOUT, TABLE, TABPANEL, TEXTAREA, UNKNOWN, UNKNOWN_PAGE_STATE, WMF, XUI_AWT_PACKAGE, XUI_HTML_PACKAGE, XUI_SWING_PACKAGE, XUI_SWT_PACKAGE
 
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
PaidInOut(PosTransaction trans, PosScreen page, java.lang.String type)
           
 
Method Summary
 void cancel()
           
 void editAmount()
           
 java.util.Map<java.lang.String,java.lang.String> openDlg()
           
 void verify()
           
 
Methods inherited from class net.xoetrope.xui.XPage
accumulateMessages, addBinding, addHandler, addHandler, addListener, addNotify, addValidation, addValidation, addValidation, checkValidations, clearValidations, evaluateAttribute, evaluatePath, findComponent, findComponent, getAttribute, getAttribute, getAttributes, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getDataBindingContext, getEventAttribute, getEventHandler, getExtension, getGraphics, getOwner, getPageName, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, layout, pageActivated, pageAdded, pageCreated, pageDeactivated, paint, paintSuper, removeBinding, saveBoundComponentValues, setAttribute, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setPageName, setStatus, setValidationFactory, showComponents, showHandCursor, showMessage, showMessage, showPage, showPage, showPrevious, stripAttributeValues, translate, update, updateBinding, updateBindings, updateBoundComponentValues, updateChildLayouts, validationHandler, wasMouseClicked, wasMouseDoubleClicked, wasMouseRightClicked
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.xoetrope.xui.PageSupport
doLayout, getName, setBackground, setLocation, setName, setSize, setVisible, validate
 

Field Detail

module

public static final java.lang.String module
To allow creating or choising a reason for a PAID IN or OUT


m_pos

protected static PosScreen m_pos

m_dialog

protected net.xoetrope.swing.XDialog m_dialog

m_amoutLabel

protected net.xoetrope.swing.XLabel m_amoutLabel

m_amountEdit

protected net.xoetrope.swing.XEdit m_amountEdit

m_reasonLabel

protected net.xoetrope.swing.XLabel m_reasonLabel

m_reasonCombo

protected net.xoetrope.swing.XComboBox m_reasonCombo

m_reasonCommentLabel

protected net.xoetrope.swing.XLabel m_reasonCommentLabel

m_reasonCommentEdit

protected net.xoetrope.swing.XEdit m_reasonCommentEdit

m_cancel

protected net.xoetrope.swing.XButton m_cancel

m_ok

protected net.xoetrope.swing.XButton m_ok

m_comboModel

protected javax.swing.DefaultComboBoxModel m_comboModel

m_trans

protected static PosTransaction m_trans

m_type

protected java.lang.String m_type

cancelled

protected boolean cancelled
Constructor Detail

PaidInOut

public PaidInOut(PosTransaction trans,
                 PosScreen page,
                 java.lang.String type)
Method Detail

openDlg

public java.util.Map<java.lang.String,java.lang.String> openDlg()

cancel

public void cancel()

verify

public void verify()

editAmount

public void editAmount()