public class FtpConfigPanel
extends javax.swing.JPanel
implements java.awt.event.ActionListener
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JButton |
addButton |
static int |
CONFIG_STRING_SIZE |
protected int |
DEFAULTDELAY |
protected int |
DEFAULTINTERRUPTTIMERDELAY |
protected java.lang.String |
DEFAULTUNITS |
protected javax.swing.JCheckBox |
deleteBox |
protected javax.swing.JButton |
deleteButton |
protected boolean |
deleteFilesFlag |
protected javax.swing.JButton |
editButton |
protected static int |
FILEDIR_COLUMN |
protected int |
ftpDelay |
protected java.lang.String |
ftpDelayUnits |
protected java.lang.Object[][] |
ftpInfo |
protected java.awt.GridBagConstraints |
gbc |
protected java.awt.GridBagLayout |
gbl |
java.lang.String |
HR |
protected int |
interruptDelay |
protected javax.swing.JLabel |
interruptLabel |
protected javax.swing.JComboBox |
interruptUnitsBox |
protected SMGIntField |
intervalField |
protected javax.swing.JLabel |
intervalLabel |
protected static int |
IP_COLUMN |
protected javax.swing.JPanel |
mainPanel |
java.lang.String |
MIN |
protected javax.swing.JScrollPane |
outputScrollpane |
protected com.nt.udc.gui.SortedJTable |
outputTable |
protected javax.swing.JPanel |
panel23 |
protected static int |
PASSWORD_COLUMN |
protected static int |
PATTERN_COLUMN |
static java.lang.String |
REGEXP_MODE |
protected javax.swing.JCheckBox |
renameBox |
protected boolean |
renameFilesFlag |
static java.lang.String |
SIMPLE_MODE |
protected static int |
TYPE_COLUMN |
protected javax.swing.JComboBox |
unitsBox |
protected static int |
USERNAME_COLUMN |
protected java.awt.Window |
w |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FtpConfigPanel() |
FtpConfigPanel(java.lang.String ftpSetting) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
protected void |
addGUIComponents() |
protected void |
appendProperty(java.lang.StringBuffer sb,
java.lang.String key,
boolean value) |
protected void |
appendProperty(java.lang.StringBuffer sb,
java.lang.String key,
int value) |
protected void |
appendProperty(java.lang.StringBuffer sb,
java.lang.String key,
java.lang.String value) |
protected void |
enableAppropriateButtons() |
protected java.lang.Object[][] |
getArrayString(java.lang.String ftpSetting) |
java.lang.String |
getFtpInfoFromGUI() |
protected boolean |
isADuplicate(java.lang.String address,
java.lang.String dir,
FileFilterPattern pattern) |
boolean |
isFtpInfoEmpty() |
protected int |
validateDelay(java.lang.String s,
int i) |
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 final java.lang.String MIN
public final java.lang.String HR
protected javax.swing.JPanel mainPanel
protected javax.swing.JScrollPane outputScrollpane
protected com.nt.udc.gui.SortedJTable outputTable
protected javax.swing.JPanel panel23
protected javax.swing.JButton addButton
protected javax.swing.JButton deleteButton
protected javax.swing.JButton editButton
protected java.awt.Window w
protected javax.swing.JLabel intervalLabel
protected javax.swing.JLabel interruptLabel
protected SMGIntField intervalField
protected javax.swing.JComboBox unitsBox
protected javax.swing.JComboBox interruptUnitsBox
protected javax.swing.JCheckBox deleteBox
protected javax.swing.JCheckBox renameBox
protected java.awt.GridBagLayout gbl
protected java.awt.GridBagConstraints gbc
protected java.lang.Object[][] ftpInfo
public static final int CONFIG_STRING_SIZE
protected static final int TYPE_COLUMN
protected static final int IP_COLUMN
protected static final int FILEDIR_COLUMN
protected static final int PATTERN_COLUMN
protected static final int USERNAME_COLUMN
protected static final int PASSWORD_COLUMN
protected final int DEFAULTDELAY
protected final int DEFAULTINTERRUPTTIMERDELAY
protected final java.lang.String DEFAULTUNITS
protected int ftpDelay
protected int interruptDelay
protected java.lang.String ftpDelayUnits
protected boolean deleteFilesFlag
protected boolean renameFilesFlag
public static final java.lang.String SIMPLE_MODE
public static final java.lang.String REGEXP_MODE
public FtpConfigPanel()
public FtpConfigPanel(java.lang.String ftpSetting)
protected int validateDelay(java.lang.String s, int i)
protected java.lang.Object[][] getArrayString(java.lang.String ftpSetting)
protected void addGUIComponents()
protected boolean isADuplicate(java.lang.String address, java.lang.String dir, FileFilterPattern pattern)
protected void enableAppropriateButtons()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public boolean isFtpInfoEmpty()
protected void appendProperty(java.lang.StringBuffer sb, java.lang.String key, int value)
protected void appendProperty(java.lang.StringBuffer sb, java.lang.String key, boolean value)
protected void appendProperty(java.lang.StringBuffer sb, java.lang.String key, java.lang.String value)
public java.lang.String getFtpInfoFromGUI()