public class Sol42EIConfigGUI extends FileEIConfigGUI implements java.awt.event.ActionListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FALSE |
static java.lang.String |
SCHEMA_FILE_NAME |
static java.lang.String |
TRUE |
bgroup, DEFAULT_POLLING_INTERVAL, DEFAULT_PROCESSED_FILE_PREFIX, DEFAULT_PROCESSED_FILE_SUFFIX, DEFAULT_UNPROCESSED_FILE_SUFFIX, DELETE_LOCAL_FILES, DELETE_LOCAL_FILES_LABEL, deleteLocalFilesCheckBox, deleteLocalFilesPrompt, FILE_LOCATION, FILE_LOCATION_LABEL, FILE_PATTERN_MODE, fileLocationPrompt, fileLocationTextField, FTP_CONFIG_FILE, FTP_TAB_TITLE, ftpPanel, gbc, gbl, Hours, HOURS2MSECS, INTERVAL_UNITS, LOCAL_TAB_TITLE, masterPanel, MINS2MSECS, Minutes, POLLING_INTERVAL, POLLING_INTERVAL_LABEL, pollingIntervalField, pollingIntervalPrompt, PROCESSED_FILE_PREFIX, PROCESSED_FILE_PREFIX_LABEL, PROCESSED_FILE_SUFFIX, PROCESSED_FILE_SUFFIX_LABEL, processedFilePrefixPrompt, processedFilePrefixTextField, processedFileSuffixPrompt, processedFileSuffixTextField, pullButton, pushButton, Seconds, SECS2MSECS, separator, unitsBox, UNPROCESSED_FILE_PREFIX, UNPROCESSED_FILE_REGEXP, UNPROCESSED_FILE_SUFFIX, unprocessedFileSuffixPrompt, USE_FTP
ADVANCED_TAB_TITLE, advancedPanel, expiryTime, FILE_DUPLICATE, FILE_EXPIRY_TIME, FILE_SEQUENCE, fileDuplicateCheck, fileDuplicateLabel, fileExpiryTimeBox, fileSequenceCheck, fileSequenceLabel, idleNARWriteTimeField, 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
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
Sol42EIConfigGUI(DCNodeConfigData ncd) |
Sol42EIConfigGUI(DCNodeConfigData ncd,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
allFieldsValid()
Check and warn the user if the Input Stream Monitoring interval will last
longer than one week.
|
void |
extendConfigGUI()
Default implementation.
|
ConfigActionIfc |
getConfigActionObject()
Be default returns false.
|
java.lang.String |
getConfigPath() |
void |
getNodeSpecificConfigData(DCNodeConfigData node_data)
Default implementation.
|
boolean |
isAnyConfigAction()
If user needs to perform any config action then this method needs to be
override in the NodeConfigGUI class to return true.
|
void |
setDefaults()
Default implementation.
|
boolean |
validateSchemaDirectroy(java.lang.String dirPath) |
actionPerformed, setDeleteWidgets, setPushWidgets
getDCNodeConfigData, getIdleWriteTimeValue, getMaxIdleWriteTime, getMaxNARsPerFile, getMinIdleWriteTime, getMinNARsPerFile, getNARsPerFileValue, hasDestinations, itemStateChanged, makeAdvancedPanel, makeNodePanel, setIdleWriteTimeValue, setMaxIdleWriteTime, setMaxNARsPerFile, setMaxValueForIdleWriteTime, setMaxValueForNARsPerFile, setMinIdleWriteTime, setMinNARsPerFile, setNARsPerFileValue, setRangeValues
addGUIComponents, addInputMonitoringFieldsToPanel, addNarBackupCheckbox, addPanel, addScrollPanel, defaultValue, defaultValue, disableBackupCheckbox, enableBackupCheckbox, getBackupValue, getDebugLevel, getDestinations, getMaxLogFileSize, getMaxLogSizeValue, getMaxValue, getMinLogFileSize, getMinValue, getNarBackupDaysValue, getNarBackupValue, getNodeDestinationsGUI, getNodeId, init, makeIPAddressField, makeNumericTextField, makeNumericTextField, makeNumericTextField, makePanel, makePanel, makeTextField, makeTextField, setBackupValue, setConfigRange, setDebugLevel, setDestinations, setMaxLogFileSize, setMaxLogSizeValue, setMaxValueForLogSize, setMinLogFileSize, setNarBackupDaysValue, setNarBackupValue, setNodeId, setNodeInfo, 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 SCHEMA_FILE_NAME
public static final java.lang.String TRUE
public static final java.lang.String FALSE
public Sol42EIConfigGUI(DCNodeConfigData ncd)
public Sol42EIConfigGUI(DCNodeConfigData ncd, java.lang.String name)
public boolean allFieldsValid()
DCNodeConfigGUI
allFieldsValid
in interface DCNodeConfigGUIIfc
allFieldsValid
in class FileEIConfigGUI
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 boolean isAnyConfigAction()
DCNodeConfigGUI
isAnyConfigAction
in interface DCNodeConfigGUIIfc
isAnyConfigAction
in class DCNodeConfigGUI
public ConfigActionIfc getConfigActionObject()
DCNodeConfigGUI
getConfigActionObject
in interface DCNodeConfigGUIIfc
getConfigActionObject
in class DCNodeConfigGUI
public void getNodeSpecificConfigData(DCNodeConfigData node_data)
EINodeConfigGUI
getNodeSpecificConfigData
in interface DCNodeConfigGUIIfc
getNodeSpecificConfigData
in class FileEIConfigGUI
public void extendConfigGUI()
EINodeConfigGUI
extendConfigGUI
in interface DCNodeConfigGUIIfc
extendConfigGUI
in class FileEIConfigGUI
public java.lang.String getConfigPath()
public boolean validateSchemaDirectroy(java.lang.String dirPath)
public void setDefaults()
EINodeConfigGUI
setDefaults
in class FileEIConfigGUI