|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.developmentontheedge.application.dialog.OkCancelDialog
ru.biosoft.access.support.AbstractExportDialog
Abstract dialog for export.
| Nested Class Summary | |
protected class |
AbstractExportDialog.MPanel
Inner class for dialog panel implementation |
| Nested classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
| Nested classes inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected TextPaneAppender |
appender
|
static int |
AUTODETECT_FORMAT
Format identifier |
protected BrowseTextField |
browseTextField
Browse text |
protected static org.apache.log4j.Category |
cat
A category |
protected javax.swing.JCheckBox |
checkBoxCopyFile
copy file select box |
protected javax.swing.JCheckBox |
checkBoxExportSequence
|
protected javax.swing.JCheckBox |
checkBoxSortingSites
|
protected javax.swing.JComboBox |
comboBoxFormat
Format selection combobox |
protected JobControlPane |
controlPane
JobControlPane to control export process. |
protected static int |
exportResult
|
protected ApplicationFrame |
frame
A frame for dialog |
protected FunctionJobControl |
jobControl
|
protected javax.swing.JComboBox |
nameCombobox
Name selection combobox |
static int |
NONE_FORMAT
Format identifier |
| Fields inherited from class com.developmentontheedge.application.dialog.OkCancelDialog |
buttonPanel, cancelButton, ERROR, okButton, result, SUCCESS |
| Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
AbstractExportDialog(ApplicationFrame frame,
javax.swing.JDialog parent,
java.lang.String dialogName,
java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean haveCheckBox)
A constructor of AbstractExportDialog |
|
AbstractExportDialog(ApplicationFrame frame,
javax.swing.JFrame parent,
java.lang.String dialogName,
java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean haveCheckBox)
A constructor of AbstractExportDialog |
|
AbstractExportDialog(ApplicationFrame frame,
java.lang.String dialogName)
A constructor of AbstractIxportDialog |
|
AbstractExportDialog(ApplicationFrame frame,
java.lang.String dialogName,
java.lang.String[] formatList)
A constructor of AbstractExportDialog |
|
| Method Summary | |
protected void |
cancelPressed()
Invoked when "Cancel" button is pressed. |
protected abstract BrowseTextField |
createBrowseTextField()
|
protected abstract void |
doExport(int format,
java.lang.String filePath,
java.lang.String fileName,
boolean copyFile,
boolean sortSites,
boolean exportSequence,
FunctionJobControl jobControl)
Abstract function, which is called when ok button is pressed. |
protected void |
exportSuccess()
|
java.io.File |
getFile()
Get selected file |
java.lang.String |
getFileName()
Get input file name |
int |
getFormat()
Get format identifier |
JobControl |
getJobControl()
JobControl for Match - allows to control Match |
void |
init(java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean showCheckBoxCopyFile,
ApplicationFrame frame)
Initialization function |
boolean |
isCopyFile()
Do user want to copy file? |
protected void |
okPressed()
overrided okPressed function |
void |
setCopyFile(boolean f)
Set copy file checkbox value |
void |
setEnabled(boolean b)
|
void |
setFileName(java.lang.String name)
Set input file name |
void |
setFormat(int idx)
Set format index |
void |
setNameIndex(int index)
Set output dc name |
protected void |
tryAgain()
|
protected void |
updateOkButton()
|
| Methods inherited from class com.developmentontheedge.application.dialog.OkCancelDialog |
doModal, exited, getCancelButton, getOkButton, setContent |
| Methods inherited from class javax.swing.JDialog |
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
| Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, 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, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ApplicationFrame frame
protected BrowseTextField browseTextField
protected javax.swing.JComboBox comboBoxFormat
protected javax.swing.JComboBox nameCombobox
protected javax.swing.JCheckBox checkBoxCopyFile
protected javax.swing.JCheckBox checkBoxSortingSites
protected javax.swing.JCheckBox checkBoxExportSequence
public static final int NONE_FORMAT
public static final int AUTODETECT_FORMAT
protected JobControlPane controlPane
protected TextPaneAppender appender
protected static org.apache.log4j.Category cat
protected static int exportResult
protected FunctionJobControl jobControl
| Constructor Detail |
public AbstractExportDialog(ApplicationFrame frame,
java.lang.String dialogName)
frame - a framedialogName - a name of dialog
public AbstractExportDialog(ApplicationFrame frame,
java.lang.String dialogName,
java.lang.String[] formatList)
frame - a framedialogName - a name of dialogformatList - list of stings for format selection combobox
public AbstractExportDialog(ApplicationFrame frame,
javax.swing.JFrame parent,
java.lang.String dialogName,
java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean haveCheckBox)
frame - a frameparent - a dialog parentdialogName - a dialog nameformatList - list of stings for format selection comboboxhaveCheckBox - have checkbox....
public AbstractExportDialog(ApplicationFrame frame,
javax.swing.JDialog parent,
java.lang.String dialogName,
java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean haveCheckBox)
frame - a frameparent - a dialog parentdialogName - a dialog nameformatList - list of stings for format selection comboboxhaveCheckBox - have checkbox....| Method Detail |
protected abstract BrowseTextField createBrowseTextField()
public void init(java.lang.String[] formatList,
java.lang.String dcPath,
java.lang.String selectedProject,
boolean showCheckBoxCopyFile,
ApplicationFrame frame)
formatList - list of stings for format selection comboboxshowCheckBoxCopyFile - does dialog have checkboxframe - a frame
public java.io.File getFile()
throws java.lang.Exception
java.lang.Exceptionpublic int getFormat()
public java.lang.String getFileName()
throws java.lang.Exception
<{Exception}>
java.lang.Exceptionpublic boolean isCopyFile()
protected abstract void doExport(int format,
java.lang.String filePath,
java.lang.String fileName,
boolean copyFile,
boolean sortSites,
boolean exportSequence,
FunctionJobControl jobControl)
format - selected formatfilePath - a file path (with file name)fileName - a file namecopyFile - is file copiedsortSites - sort sites by thier positionsprotected void cancelPressed()
cancelPressed in class OkCancelDialogprotected void okPressed()
okPressed in class OkCancelDialogpublic void setEnabled(boolean b)
protected void tryAgain()
protected void exportSuccess()
public JobControl getJobControl()
public void setFileName(java.lang.String name)
name - a file namepublic void setNameIndex(int index)
public void setFormat(int idx)
idx - a indexpublic void setCopyFile(boolean f)
f - should file be copied?protected void updateOkButton()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||