HEADER

ru.biosoft.access.support
Class AbstractExportDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--com.developmentontheedge.application.dialog.OkCancelDialog
                                      |
                                      +--ru.biosoft.access.support.AbstractExportDialog

public abstract class AbstractExportDialog
extends OkCancelDialog

Abstract dialog for export.


Inner classes inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog

Inner classes inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog

Inner classes inherited from class java.awt.Window
Window.AccessibleAWTWindow

Inner classes inherited from class java.awt.Container
Container.AccessibleAWTContainer

Inner classes inherited from class java.awt.Component
Component.AccessibleAWTComponent

Field Summary
 final static intAUTODETECT_FORMAT
          Format identifier
 final static intNONE_FORMAT
          Format identifier

Fields inherited from class com.developmentontheedge.application.dialog.OkCancelDialog
ERROR, SUCCESS

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

Constructor Summary
AbstractExportDialog(ApplicationFrame frame, String dialogName)
          A constructor of AbstractIxportDialog
AbstractExportDialog(ApplicationFrame frame, String dialogName, String[] formatList)
          A constructor of AbstractExportDialog
AbstractExportDialog(ApplicationFrame frame, JFrame parent, String dialogName, String[] formatList, String dcPath, String selectedProject, boolean haveCheckBox)
          A constructor of AbstractExportDialog
AbstractExportDialog(ApplicationFrame frame, JDialog parent, String dialogName, String[] formatList, String dcPath, String selectedProject, boolean haveCheckBox)
          A constructor of AbstractExportDialog

Method Summary
 FilegetFile()
          Get selected file
 StringgetFileName()
          Get input file name
 intgetFormat()
          Get format identifier
 JobControlgetJobControl()
          JobControl for Match - allows to control Match
 voidinit(String[] formatList, String dcPath, String selectedProject, boolean showCheckBoxCopyFile, ApplicationFrame frame)
          Initialization function
 booleanisCopyFile()
          Do user want to copy file?
 voidsetCopyFile(boolean f)
          Set copy file checkbox value
 voidsetEnabled(boolean b)
           
 voidsetFileName(String name)
          Set input file name
 voidsetFormat(int idx)
          Set format index
 voidsetNameIndex(int index)
          Set output dc name

Methods inherited from class com.developmentontheedge.application.dialog.OkCancelDialog
doModal, getCancelButton, getOkButton, setContent

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

Methods inherited from class java.awt.Dialog
addNotify, isModal, setModal, getTitle, setTitle, show, hide, dispose, isResizable, setResizable

Methods inherited from class java.awt.Window
pack, 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, removeNotify, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, 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, remove, 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

Field Detail

AUTODETECT_FORMAT

public final static int AUTODETECT_FORMAT
Format identifier

NONE_FORMAT

public final static int NONE_FORMAT
Format identifier
Constructor Detail

AbstractExportDialog

public AbstractExportDialog(ApplicationFrame frame, String dialogName)
A constructor of AbstractIxportDialog
Parameters:
frame - a frame
dialogName - a name of dialog

AbstractExportDialog

public AbstractExportDialog(ApplicationFrame frame, String dialogName, String[] formatList)
A constructor of AbstractExportDialog
Parameters:
frame - a frame
dialogName - a name of dialog
formatList - list of stings for format selection combobox

AbstractExportDialog

public AbstractExportDialog(ApplicationFrame frame, JFrame parent, String dialogName, String[] formatList, String dcPath, String selectedProject, boolean haveCheckBox)
A constructor of AbstractExportDialog
Parameters:
frame - a frame
parent - a dialog parent
dialogName - a dialog name
formatList - list of stings for format selection combobox
haveCheckBox - have checkbox....

AbstractExportDialog

public AbstractExportDialog(ApplicationFrame frame, JDialog parent, String dialogName, String[] formatList, String dcPath, String selectedProject, boolean haveCheckBox)
A constructor of AbstractExportDialog
Parameters:
frame - a frame
parent - a dialog parent
dialogName - a dialog name
formatList - list of stings for format selection combobox
haveCheckBox - have checkbox....
Method Detail

getFile

public File getFile()
throws java.lang.Exception
Get selected file
Returns: a file
Throws:
Exception

getFileName

public String getFileName()
throws java.lang.Exception
Get input file name
Returns: a file name
Throws:
<{Exception}>

getFormat

public int getFormat()
Get format identifier
Returns: format identifier

getJobControl

public JobControl getJobControl()
JobControl for Match - allows to control Match

init

public void init(String[] formatList, String dcPath, String selectedProject, boolean showCheckBoxCopyFile, ApplicationFrame frame)
Initialization function
Parameters:
formatList - list of stings for format selection combobox
showCheckBoxCopyFile - does dialog have checkbox
frame - a frame

isCopyFile

public boolean isCopyFile()
Do user want to copy file?
Returns: is copy file selector choosed?

setCopyFile

public void setCopyFile(boolean f)
Set copy file checkbox value
Parameters:
f - should file be copied?

setEnabled

public void setEnabled(boolean b)

setFileName

public void setFileName(String name)
Set input file name
Parameters:
name - a file name

setFormat

public void setFormat(int idx)
Set format index
Parameters:
idx - a index

setNameIndex

public void setNameIndex(int index)
Set output dc name
Parameters:
name - a name

Association Links

to Class com.developmentontheedge.application.ApplicationFrame

A frame for dialog

to Class com.developmentontheedge.application.dialog.BrowseTextField

Browse text

to Class javax.swing.JComboBox

Format selection combobox

to Class javax.swing.JComboBox

Name selection combobox

to Class javax.swing.JCheckBox

copy file select box

to Class javax.swing.JCheckBox

to Class javax.swing.JCheckBox

to Class com.developmentontheedge.jobcontrol.JobControlPane

JobControlPane to control export process.

to Class com.developmentontheedge.log.TextPaneAppender

to Class org.apache.log4j.Category

A category

to Class java.util.Vector

to Class com.developmentontheedge.jobcontrol.FunctionJobControl


FOOTER

BOTTOM