public class ProcessorNodeConfigGUI extends DCNodeConfigGUI implements java.awt.event.ItemListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ADVANCED_TAB_TITLE |
static int |
MAXTHREAD_COUNT |
static int |
MINTHREAD_COUNT |
static java.lang.String |
MULTI_THREADED |
protected javax.swing.JCheckBox |
multiThreadCheck |
static java.lang.String |
ORDER_REQUIRED |
protected javax.swing.JCheckBox |
orderRequiredCheck |
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, tabbedPane
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
ProcessorNodeConfigGUI(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 |
getMaxReadTimer() |
int |
getMinIdleWriteTime() |
int |
getMinNARsPerFile() |
int |
getMinReadTimer() |
int |
getNARsPerFileValue()
Returns the value that the user has entered in the
"NARs Per File:" field.
|
void |
getNodeSpecificConfigData(DCNodeConfigData nodeData)
Default implementation.
|
int |
getReadTimerValue()
Returns the value that the user has entered in the
"Read Timer:" field.
|
boolean |
hasDestinations()
Indicates whether the node can send output to other nodes.
|
void |
itemStateChanged(java.awt.event.ItemEvent event) |
void |
makeAdvancedPanel() |
protected javax.swing.JPanel |
makeNodePanel()
Calls parent
makeNodePanel
method, and adds the following text fields: "NARs per File:" , which populates
;
"Idle Write Time:" , which populates
; and
"Read Timer:" , which populates
. |
void |
setDefaults()
Default implementation.
|
void |
setIdleWriteTimeValue(int value)
Sets the value that is displayed in the "Idle Write Time:" field.
|
void |
setMaxIdleWriteTime(int max) |
void |
setMaxNARsPerFile(int max) |
void |
setMaxReadTimer(int maxValue) |
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 |
setMaxValueForReadTimer(int maxValue)
Sets the maximum value that the user may enter in the
"Read Timer:" field.
|
void |
setMinIdleWriteTime(int min) |
void |
setMinNARsPerFile(int min) |
void |
setMinReadTimer(int minValue) |
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 "Read Timer", "NARs per File", and
"Idle Write Time" fields.
|
void |
setReadTimerValue(int value)
Sets the value that is displayed in the "Read Timer:" field.
|
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, 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 int MINTHREAD_COUNT
public static final int MAXTHREAD_COUNT
public static final java.lang.String THREAD_COUNT
public static final java.lang.String MULTI_THREADED
public static final java.lang.String ORDER_REQUIRED
protected static final java.lang.String ADVANCED_TAB_TITLE
protected javax.swing.JCheckBox multiThreadCheck
protected javax.swing.JTextField threadCountBox
protected javax.swing.JCheckBox orderRequiredCheck
public ProcessorNodeConfigGUI(DCNodeConfigData ncd)
public final boolean hasDestinations()
DCNodeConfigGUI
true
for EI and Processor nodes. Default returns
false
.hasDestinations
in interface DCNodeConfigGUIIfc
hasDestinations
in class DCNodeConfigGUI
true
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. DCNodeConfigData.PULLTIME
with
the value from the "Read Timer:" field. DCNodeConfigData.NARBACKUP
with
the state of the "Backup NAR files:" checkbox. DCNodeConfigData.NARBACKUPDAYS
with
the value from the "NAR file retention period:" field. getDCNodeConfigData
in interface DCNodeConfigGUIIfc
getDCNodeConfigData
in class DCNodeConfigGUI
public 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)
public int getReadTimerValue()
public void setReadTimerValue(int value)
public void setMaxValueForReadTimer(int maxValue)
protected javax.swing.JPanel makeNodePanel()
makeNodePanel
method, and adds the following text fields: "NARs per File:"
, which populates
DCNodeConfigData.DATAFILESIZE
; "Idle Write Time:"
, which populates
DCNodeConfigData.PUSHTIME
; and "Read Timer:"
, which populates
DCNodeConfigData.PULLTIME
. makeNodePanel
in class DCNodeConfigGUI
protected void setRangeValues()
setRangeValues
in class DCNodeConfigGUI
public void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged
in interface java.awt.event.ItemListener
public int getMinNARsPerFile()
public void setMinNARsPerFile(int min)
public int getMaxNARsPerFile()
public void setMaxNARsPerFile(int max)
public int getMinIdleWriteTime()
public void setMinIdleWriteTime(int min)
public int getMaxIdleWriteTime()
public void setMaxIdleWriteTime(int max)
public int getMinReadTimer()
public void setMinReadTimer(int minValue)
public int getMaxReadTimer()
public void setMaxReadTimer(int maxValue)
public void getNodeSpecificConfigData(DCNodeConfigData nodeData)
getNodeSpecificConfigData
in interface DCNodeConfigGUIIfc
getNodeSpecificConfigData
in class DCNodeConfigGUI
public void extendConfigGUI()
extendConfigGUI
in interface DCNodeConfigGUIIfc
extendConfigGUI
in class DCNodeConfigGUI
public void setDefaults()
setDefaults
in class DCNodeConfigGUI
public void makeAdvancedPanel()