public class EINodeConfigGUI extends DCNodeConfigGUI implements java.awt.event.ItemListener
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ADVANCED_TAB_TITLE |
protected javax.swing.JPanel |
advancedPanel |
protected javax.swing.JLabel |
expiryTime |
static java.lang.String |
FILE_DUPLICATE |
static java.lang.String |
FILE_EXPIRY_TIME |
static java.lang.String |
FILE_SEQUENCE |
protected javax.swing.JCheckBox |
fileDuplicateCheck |
protected javax.swing.JLabel |
fileDuplicateLabel |
protected javax.swing.JTextField |
fileExpiryTimeBox |
protected javax.swing.JCheckBox |
fileSequenceCheck |
protected javax.swing.JLabel |
fileSequenceLabel |
protected javax.swing.JTextField |
idleNARWriteTimeField
Amount of time in seconds after which the current UDC Record
cache file will be moved to an archive and made available for
processing.
|
static java.lang.String |
INPUT_BACKUP_DIR |
static int |
MAXFILE_EXPIRY_TIME |
static int |
MAXTHREAD_COUNT |
static int |
MINFILE_EXPIRY_TIME |
static int |
MINTHREAD_COUNT |
static java.lang.String |
MULTI_THREADED |
protected javax.swing.JCheckBox |
multiThreadCheck |
protected javax.swing.JLabel |
multiThreadLabel |
protected javax.swing.JTextField |
NARsPerFileField
Number of UDC Records to be stored in a file for processing.
|
protected javax.swing.JLabel |
numThreads |
static java.lang.String |
ORDER_REQUIRED |
protected javax.swing.JCheckBox |
orderRequiredCheck |
protected javax.swing.JLabel |
orderRequiredLabel |
static java.lang.String |
THREAD_COUNT |
protected javax.swing.JTextField |
threadCountBox |
backupBox, backupLabel, bulkIOCheckBox, defaultFont, destGUI, fileLevelTransactionJLable, fileLevelTransactionLabel, fileLevelTransCheckBox, inputMonitorEnableField, inputMonitorTimeField, inputMonitorTimeUnitsField, narBackupBox, narBackupDaysField, narBackupDaysLabel, narBackupLabel, nodeConfig, nodeFieldsDirty, recordCountEnableField, tabbedPanelistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
EINodeConfigGUI()
Default constructor.
|
EINodeConfigGUI(DCNodeConfigData ncd)
Calls parent's constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
extendConfigGUI()
Default implementation.
|
DCNodeConfigData |
getDCNodeConfigData()
Calls parent's
getDCNodeConfigData method,
and populates the following additional fields: DCNodeConfigData.DATAFILESIZE with
the value from the "NARs per File:" field; and
DCNodeConfigData.PUSHTIME with
the value from the "Idle Write Time:" field. |
int |
getIdleWriteTimeValue()
Returns the value that the user has entered in the
"Idle Write Time:" field.
|
int |
getMaxIdleWriteTime() |
int |
getMaxNARsPerFile() |
int |
getMinIdleWriteTime() |
int |
getMinNARsPerFile() |
int |
getNARsPerFileValue()
Returns the value that the user has entered in the
"NARs Per File:" field.
|
void |
getNodeSpecificConfigData(DCNodeConfigData nodeData)
Default implementation.
|
boolean |
hasDestinations()
Indicates whether the node can send output to other nodes.
|
void |
itemStateChanged(java.awt.event.ItemEvent event)
Called when the user has made a selection in the 'Routing' JComboBox.
|
void |
makeAdvancedPanel() |
protected javax.swing.JPanel |
makeNodePanel()
Calls parent
makeNodePanel
method, adds the following text fields: "NARs per File:" |
void |
setDefaults()
Default implementation.
|
void |
setIdleWriteTimeValue(int value)
Sets the value that is displayed in the "Idle Write Time:" field.
|
void |
setInputBackUpDirConfigData(DCNodeConfigData node_data) |
void |
setMaxIdleWriteTime(int max) |
void |
setMaxNARsPerFile(int max) |
void |
setMaxValueForIdleWriteTime(int maxValue)
Sets the maximum value that the user may enter in the
"Idle Write Time:" field.
|
void |
setMaxValueForNARsPerFile(int maxValue)
Sets the maximum value that the user may enter in the
"NARs per File:" field.
|
void |
setMinIdleWriteTime(int min) |
void |
setMinNARsPerFile(int min) |
void |
setNARsPerFileValue(int value)
Sets the value that is displayed in the "NARs Per File:" field.
|
protected void |
setRangeValues()
Sets the min and max values for the "NARs per File" and
"Idle Write Time" fields.
|
addGUIComponents, addInputMonitoringFieldsToPanel, addNarBackupCheckbox, addPanel, addScrollPanel, allFieldsValid, 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, validateConfiggetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected javax.swing.JTextField NARsPerFileField
protected javax.swing.JTextField idleNARWriteTimeField
protected javax.swing.JPanel advancedPanel
protected javax.swing.JLabel multiThreadLabel
protected javax.swing.JCheckBox multiThreadCheck
protected javax.swing.JLabel numThreads
protected javax.swing.JTextField threadCountBox
protected javax.swing.JLabel orderRequiredLabel
protected javax.swing.JCheckBox orderRequiredCheck
protected javax.swing.JLabel fileDuplicateLabel
protected javax.swing.JCheckBox fileDuplicateCheck
protected javax.swing.JLabel expiryTime
protected javax.swing.JTextField fileExpiryTimeBox
protected javax.swing.JLabel fileSequenceLabel
protected javax.swing.JCheckBox fileSequenceCheck
public static final int MINTHREAD_COUNT
public static final int MAXTHREAD_COUNT
public static final int MINFILE_EXPIRY_TIME
public static final int MAXFILE_EXPIRY_TIME
public static final java.lang.String THREAD_COUNT
public static final java.lang.String MULTI_THREADED
public static final java.lang.String ORDER_REQUIRED
public static final java.lang.String FILE_DUPLICATE
public static final java.lang.String FILE_EXPIRY_TIME
public static final java.lang.String FILE_SEQUENCE
public static final java.lang.String INPUT_BACKUP_DIR
protected static final java.lang.String ADVANCED_TAB_TITLE
public EINodeConfigGUI()
public EINodeConfigGUI(DCNodeConfigData ncd)
public final boolean hasDestinations()
DCNodeConfigGUItrue for EI and Processor nodes. Default returns
false.hasDestinations in interface DCNodeConfigGUIIfchasDestinations in class DCNodeConfigGUItruepublic void setInputBackUpDirConfigData(DCNodeConfigData node_data)
public DCNodeConfigData getDCNodeConfigData()
getDCNodeConfigData method,
and populates the following additional fields: DCNodeConfigData.DATAFILESIZE with
the value from the "NARs per File:" field; and DCNodeConfigData.PUSHTIME with
the value from the "Idle Write Time:" field. getDCNodeConfigData in interface DCNodeConfigGUIIfcgetDCNodeConfigData in class DCNodeConfigGUIpublic int getNARsPerFileValue()
public void setNARsPerFileValue(int value)
public void setMaxValueForNARsPerFile(int maxValue)
public int getIdleWriteTimeValue()
public void setIdleWriteTimeValue(int value)
public void setMaxValueForIdleWriteTime(int maxValue)
protected javax.swing.JPanel makeNodePanel()
makeNodePanel
method, adds the following text fields: "NARs per File:", which populates
DCNodeConfigData.DATAFILESIZE; and "Idle Write Time:", which populates
DCNodeConfigData.PUSHTIME. makeNodePanel in class DCNodeConfigGUIprotected void setRangeValues()
setRangeValues in class DCNodeConfigGUIpublic void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListenerpublic int getMinNARsPerFile()
public int getMaxNARsPerFile()
public void setMinNARsPerFile(int min)
public void setMaxNARsPerFile(int max)
public int getMinIdleWriteTime()
public void setMinIdleWriteTime(int min)
public int getMaxIdleWriteTime()
public void setMaxIdleWriteTime(int max)
public void getNodeSpecificConfigData(DCNodeConfigData nodeData)
getNodeSpecificConfigData in interface DCNodeConfigGUIIfcgetNodeSpecificConfigData in class DCNodeConfigGUIpublic void extendConfigGUI()
extendConfigGUI in interface DCNodeConfigGUIIfcextendConfigGUI in class DCNodeConfigGUIpublic void setDefaults()
setDefaults in class DCNodeConfigGUIpublic void makeAdvancedPanel()