public class FileEIConfigGUI extends EINodeConfigGUI implements java.awt.event.ActionListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected javax.swing.ButtonGroup |
bgroup |
protected static int |
DEFAULT_POLLING_INTERVAL |
protected static java.lang.String |
DEFAULT_PROCESSED_FILE_PREFIX |
protected static java.lang.String |
DEFAULT_PROCESSED_FILE_SUFFIX |
protected static java.lang.String |
DEFAULT_UNPROCESSED_FILE_SUFFIX |
static java.lang.String |
DELETE_LOCAL_FILES |
protected static java.lang.String |
DELETE_LOCAL_FILES_LABEL |
protected javax.swing.JCheckBox |
deleteLocalFilesCheckBox |
protected javax.swing.JLabel |
deleteLocalFilesPrompt |
static java.lang.String |
FILE_LOCATION |
protected static java.lang.String |
FILE_LOCATION_LABEL |
static java.lang.String |
FILE_PATTERN_MODE |
protected javax.swing.JLabel |
fileLocationPrompt |
protected javax.swing.JTextField |
fileLocationTextField |
static java.lang.String |
FTP_CONFIG_FILE |
protected static java.lang.String |
FTP_TAB_TITLE |
protected FtpConfigPanel |
ftpPanel |
protected java.awt.GridBagConstraints |
gbc |
protected java.awt.GridBagLayout |
gbl |
static java.lang.String |
Hours |
protected static long |
HOURS2MSECS |
static java.lang.String |
INTERVAL_UNITS |
protected static java.lang.String |
LOCAL_TAB_TITLE |
protected javax.swing.JPanel |
masterPanel |
protected static long |
MINS2MSECS |
static java.lang.String |
Minutes |
static java.lang.String |
POLLING_INTERVAL |
protected static java.lang.String |
POLLING_INTERVAL_LABEL |
protected SMGIntField |
pollingIntervalField |
protected javax.swing.JLabel |
pollingIntervalPrompt |
static java.lang.String |
PROCESSED_FILE_PREFIX |
protected static java.lang.String |
PROCESSED_FILE_PREFIX_LABEL |
static java.lang.String |
PROCESSED_FILE_SUFFIX |
protected static java.lang.String |
PROCESSED_FILE_SUFFIX_LABEL |
protected javax.swing.JLabel |
processedFilePrefixPrompt |
protected javax.swing.JTextField |
processedFilePrefixTextField |
protected javax.swing.JLabel |
processedFileSuffixPrompt |
protected javax.swing.JTextField |
processedFileSuffixTextField |
protected javax.swing.JRadioButton |
pullButton |
protected javax.swing.JRadioButton |
pushButton |
static java.lang.String |
Seconds |
protected static long |
SECS2MSECS |
protected javax.swing.JSeparator |
separator |
protected javax.swing.JComboBox |
unitsBox |
static java.lang.String |
UNPROCESSED_FILE_PREFIX |
static java.lang.String |
UNPROCESSED_FILE_REGEXP |
static java.lang.String |
UNPROCESSED_FILE_SUFFIX |
protected javax.swing.JLabel |
unprocessedFileSuffixPrompt |
static java.lang.String |
USE_FTP |
ADVANCED_TAB_TITLE, advancedPanel, expiryTime, FILE_DUPLICATE, FILE_EXPIRY_TIME, FILE_SEQUENCE, fileDuplicateCheck, fileDuplicateLabel, fileExpiryTimeBox, fileSequenceCheck, fileSequenceLabel, idleNARWriteTimeField, INPUT_BACKUP_DIR, MAXFILE_EXPIRY_TIME, MAXTHREAD_COUNT, MINFILE_EXPIRY_TIME, MINTHREAD_COUNT, MULTI_THREADED, multiThreadCheck, multiThreadLabel, NARsPerFileField, numThreads, ORDER_REQUIRED, orderRequiredCheck, orderRequiredLabel, THREAD_COUNT, threadCountBox
backupBox, backupLabel, bulkIOCheckBox, defaultFont, destGUI, fileLevelTransactionJLable, fileLevelTransactionLabel, fileLevelTransCheckBox, inputMonitorEnableField, inputMonitorTimeField, inputMonitorTimeUnitsField, narBackupBox, narBackupDaysField, narBackupDaysLabel, narBackupLabel, nodeConfig, nodeFieldsDirty, recordCountEnableField, tabbedPane
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FileEIConfigGUI() |
FileEIConfigGUI(DCNodeConfigData ncd) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
boolean |
allFieldsValid()
Check and warn the user if the Input Stream Monitoring interval will last
longer than one week.
|
void |
extendConfigGUI()
Default implementation.
|
void |
getNodeSpecificConfigData(DCNodeConfigData node_data)
Default implementation.
|
void |
setDefaults()
Default implementation.
|
protected void |
setDeleteWidgets(boolean delete) |
protected void |
setPushWidgets(boolean push) |
getDCNodeConfigData, getIdleWriteTimeValue, getMaxIdleWriteTime, getMaxNARsPerFile, getMinIdleWriteTime, getMinNARsPerFile, getNARsPerFileValue, hasDestinations, itemStateChanged, makeAdvancedPanel, makeNodePanel, setIdleWriteTimeValue, setInputBackUpDirConfigData, setMaxIdleWriteTime, setMaxNARsPerFile, setMaxValueForIdleWriteTime, setMaxValueForNARsPerFile, setMinIdleWriteTime, setMinNARsPerFile, setNARsPerFileValue, setRangeValues
addGUIComponents, addInputMonitoringFieldsToPanel, addNarBackupCheckbox, addPanel, addScrollPanel, defaultValue, defaultValue, disableBackupCheckbox, enableBackupCheckbox, getBackupValue, getConfigActionObject, getDebugLevel, getDestinations, getMaxLogFileSize, getMaxLogSizeValue, getMaxValue, getMinLogFileSize, getMinValue, getNarBackupDaysValue, getNarBackupValue, getNodeDestinationsGUI, getNodeId, init, isAnyConfigAction, makeIPAddressField, makeNumericTextField, makeNumericTextField, makeNumericTextField, makePanel, makePanel, makeTextField, makeTextField, setBackupValue, setConfigRange, setDebugLevel, setDestinations, setMaxLogFileSize, setMaxLogSizeValue, setMaxValueForLogSize, setMinLogFileSize, setNarBackupDaysValue, setNarBackupValue, setNodeId, setNodeInfo, setPanelsTab, validateConfig
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String USE_FTP
public static final java.lang.String POLLING_INTERVAL
public static final java.lang.String INTERVAL_UNITS
public static final java.lang.String FILE_LOCATION
public static final java.lang.String UNPROCESSED_FILE_SUFFIX
public static final java.lang.String UNPROCESSED_FILE_PREFIX
public static final java.lang.String UNPROCESSED_FILE_REGEXP
public static final java.lang.String FILE_PATTERN_MODE
public static final java.lang.String PROCESSED_FILE_PREFIX
public static final java.lang.String PROCESSED_FILE_SUFFIX
public static final java.lang.String FTP_CONFIG_FILE
public static final java.lang.String DELETE_LOCAL_FILES
protected static final java.lang.String LOCAL_TAB_TITLE
protected static final java.lang.String FTP_TAB_TITLE
protected static final java.lang.String POLLING_INTERVAL_LABEL
protected static final java.lang.String FILE_LOCATION_LABEL
protected static final java.lang.String PROCESSED_FILE_PREFIX_LABEL
protected static final java.lang.String PROCESSED_FILE_SUFFIX_LABEL
protected static final java.lang.String DELETE_LOCAL_FILES_LABEL
protected static final java.lang.String DEFAULT_UNPROCESSED_FILE_SUFFIX
protected static final java.lang.String DEFAULT_PROCESSED_FILE_PREFIX
protected static final java.lang.String DEFAULT_PROCESSED_FILE_SUFFIX
protected static final int DEFAULT_POLLING_INTERVAL
protected static final long SECS2MSECS
protected static final long MINS2MSECS
protected static final long HOURS2MSECS
protected java.awt.GridBagLayout gbl
protected java.awt.GridBagConstraints gbc
protected javax.swing.JPanel masterPanel
protected FtpConfigPanel ftpPanel
protected javax.swing.JRadioButton pullButton
protected javax.swing.JRadioButton pushButton
protected javax.swing.ButtonGroup bgroup
protected javax.swing.JSeparator separator
protected SMGIntField pollingIntervalField
protected javax.swing.JComboBox unitsBox
protected javax.swing.JTextField fileLocationTextField
protected javax.swing.JTextField processedFilePrefixTextField
protected javax.swing.JTextField processedFileSuffixTextField
protected javax.swing.JCheckBox deleteLocalFilesCheckBox
protected javax.swing.JLabel pollingIntervalPrompt
protected javax.swing.JLabel fileLocationPrompt
protected javax.swing.JLabel unprocessedFileSuffixPrompt
protected javax.swing.JLabel processedFilePrefixPrompt
protected javax.swing.JLabel processedFileSuffixPrompt
protected javax.swing.JLabel deleteLocalFilesPrompt
public static final java.lang.String Seconds
public static final java.lang.String Minutes
public static final java.lang.String Hours
public FileEIConfigGUI(DCNodeConfigData ncd)
public FileEIConfigGUI()
public boolean allFieldsValid()
DCNodeConfigGUI
allFieldsValid
in interface DCNodeConfigGUIIfc
allFieldsValid
in class DCNodeConfigGUI
true
if either the input stream monitoring interval
is less than one week, or that the user is OK with the interval
longer than one week.public void getNodeSpecificConfigData(DCNodeConfigData node_data)
EINodeConfigGUI
getNodeSpecificConfigData
in interface DCNodeConfigGUIIfc
getNodeSpecificConfigData
in class EINodeConfigGUI
public void setDefaults()
EINodeConfigGUI
setDefaults
in class EINodeConfigGUI
public void extendConfigGUI()
EINodeConfigGUI
extendConfigGUI
in interface DCNodeConfigGUIIfc
extendConfigGUI
in class EINodeConfigGUI
protected void setPushWidgets(boolean push)
protected void setDeleteWidgets(boolean delete)
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener