org.ofbiz.pos.screen
Class PosDialog

java.lang.Object
  extended by org.ofbiz.pos.screen.PosDialog

public class PosDialog
extends java.lang.Object


Field Summary
protected  java.awt.Window appWindow
           
protected  DialogCallback cb
           
protected  java.awt.Frame clientFrame
           
protected  net.xoetrope.swing.XButton closeBtn
           
protected  javax.swing.JDialog dialog
           
protected  boolean modal
           
static java.lang.String module
           
protected  net.xoetrope.swing.XTextArea output
           
protected  int padding
           
protected  net.xoetrope.xui.XPage page
           
protected  java.awt.Component parent
           
protected  boolean posDialogVisible
           
 
Constructor Summary
protected PosDialog(net.xoetrope.xui.XPage page, boolean modal, int padding)
           
 
Method Summary
protected  void close()
           
protected  void configure()
           
static PosDialog getInstance(net.xoetrope.xui.XPage page)
           
static PosDialog getInstance(net.xoetrope.xui.XPage page, boolean modal, int padding)
           
 java.lang.String getName()
           
 void posDialogSetVisible(boolean visible)
           
 void setText(java.lang.String text)
           
 void showDialog(java.awt.Container parent, DialogCallback cb, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module

clientFrame

protected final java.awt.Frame clientFrame

appWindow

protected final java.awt.Window appWindow

cb

protected DialogCallback cb

parent

protected java.awt.Component parent

dialog

protected javax.swing.JDialog dialog

output

protected net.xoetrope.swing.XTextArea output

closeBtn

protected net.xoetrope.swing.XButton closeBtn

page

protected net.xoetrope.xui.XPage page

modal

protected boolean modal

padding

protected int padding

posDialogVisible

protected boolean posDialogVisible
Constructor Detail

PosDialog

protected PosDialog(net.xoetrope.xui.XPage page,
                    boolean modal,
                    int padding)
Method Detail

getInstance

public static PosDialog getInstance(net.xoetrope.xui.XPage page)

getInstance

public static PosDialog getInstance(net.xoetrope.xui.XPage page,
                                    boolean modal,
                                    int padding)

configure

protected void configure()

showDialog

public void showDialog(java.awt.Container parent,
                       DialogCallback cb,
                       java.lang.String text)

setText

public void setText(java.lang.String text)

getName

public java.lang.String getName()

close

protected void close()

posDialogSetVisible

public void posDialogSetVisible(boolean visible)