jSyncManager

org.jSyncManager.Conduit.Email
Class ConnectionsPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--org.jSyncManager.Conduit.Email.ConnectionsPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class ConnectionsPanel
extends javax.swing.JPanel

ConnectionsPanel.java

Author:
dingodave
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent, javax.swing.JComponent.ActionStandin, javax.swing.JComponent.IntVector, javax.swing.JComponent.KeyboardState
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock
 
Field Summary
(package private)  java.util.Vector conns
           
 
Fields inherited from class javax.swing.JComponent
_bounds, accessibleContext, listenerList, paintingChild, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
component, containerListener, layoutMgr, listeningBoundsChildren, listeningChildren, ncomponents, needsPaint
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListener, componentListenerK, componentOrientation, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ConnectionsPanel()
          Creates new form ConnectionsPanel.
ConnectionsPanel(java.util.Vector connections)
           
 
Method Summary
 javax.swing.ButtonGroup getBgConnType()
          Getter for property bgConnType.
 javax.swing.JButton getBtnAdd()
          Getter for property btnAdd.
 javax.swing.JButton getBtnMod()
          Getter for property btnMod.
 javax.swing.JButton getBtnRem()
          Getter for property btnRem.
 javax.swing.JPanel getButtonPanel()
          Getter for property ButtonPanel.
 javax.swing.JList getConnList()
          Getter for property connList.
 java.util.Vector getConns()
          Getter for property conns.
 javax.swing.JPanel getConnTypePanel()
          Getter for property ConnTypePanel.
 javax.swing.JLabel getLblConnType()
          Getter for property lblConnType.
 javax.swing.JLabel getLblFrom()
          Getter for property lblFrom.
 javax.swing.JLabel getLblHost()
          Getter for property lblHost.
 javax.swing.JLabel getLblName()
          Getter for property lblName.
 javax.swing.JLabel getLblPort()
          Getter for property lblPort.
 javax.swing.JLabel getLblPwd()
          Getter for property lblPwd.
 javax.swing.JLabel getLblUser()
          Getter for property lblUser.
 javax.swing.JRadioButton getRbPop3()
          Getter for property rbPop3.
 javax.swing.JRadioButton getRbSmtp()
          Getter for property rbSmtp.
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the class to use as the Conduits Resource Bundle.
 javax.swing.JPanel getSettingsPanel()
          Getter for property SettingsPanel.
 SmtpMail getSMTPConn()
          Getter for property conns, with SMTP set.
 javax.swing.JTextField getTxtFrom()
          Getter for property txtFrom.
 javax.swing.JTextField getTxtHost()
          Getter for property txtHost.
 javax.swing.JTextField getTxtName()
          Getter for property txtName.
 javax.swing.JTextField getTxtPort()
          Getter for property txtPort.
 javax.swing.JPasswordField getTxtPwd()
          Getter for property txtPwd.
 javax.swing.JTextField getTxtUser()
          Getter for property txtUser.
 boolean isPop3()
           
static void main(java.lang.String[] args)
           
 void setBgConnType(javax.swing.ButtonGroup bgConnType)
          Setter for property bgConnType.
 void setBtnAdd(javax.swing.JButton btnAdd)
          Setter for property btnAdd.
 void setBtnMod(javax.swing.JButton btnMod)
          Setter for property btnMod.
 void setBtnRem(javax.swing.JButton btnRem)
          Setter for property btnRem.
 void setButtonPanel(javax.swing.JPanel ButtonPanel)
          Setter for property ButtonPanel.
 void setConnList(javax.swing.JList connList)
          Setter for property connList.
 void setConns(java.util.Vector newconns)
          Setter for property conns.
 void setConnsFromProperties()
          Setter for property conns.
 void setConnTypePanel(javax.swing.JPanel ConnTypePanel)
          Setter for property ConnTypePanel.
 void setLblConnType(javax.swing.JLabel lblConnType)
          Setter for property lblConnType.
 void setLblFrom(javax.swing.JLabel lblFrom)
          Setter for property lblFrom.
 void setLblHost(javax.swing.JLabel lblHost)
          Setter for property lblHost.
 void setLblName(javax.swing.JLabel lblName)
          Setter for property lblName.
 void setLblPort(javax.swing.JLabel lblPort)
          Setter for property lblPort.
 void setLblPwd(javax.swing.JLabel lblPwd)
          Setter for property lblPwd.
 void setLblUser(javax.swing.JLabel lblUser)
          Setter for property lblUser.
 void setRbPop3(javax.swing.JRadioButton rbPop3)
          Setter for property rbPop3.
 void setRbSmtp(javax.swing.JRadioButton rbSmtp)
          Setter for property rbSmtp.
 void setSettingsPanel(javax.swing.JPanel SettingsPanel)
          Setter for property SettingsPanel.
 void setTxtFrom(javax.swing.JTextField txtFrom)
          Setter for property txtFrom.
 void setTxtHost(javax.swing.JTextField txtHost)
          Setter for property txtHost.
 void setTxtName(javax.swing.JTextField txtName)
          Setter for property txtName.
 void setTxtPort(javax.swing.JTextField txtPort)
          Setter for property txtPort.
 void setTxtPwd(javax.swing.JPasswordField txtPwd)
          Setter for property txtPwd.
 void setTxtUser(javax.swing.JTextField txtUser)
          Setter for property txtUser.
 java.lang.String writeEmailProperties()
          Setter for property email_connections.
 
Methods inherited from class javax.swing.JPanel
, getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
_paintImmediately, addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, alwaysOnTop, checkIfChildObscuredBySibling, componentInputMapChanged, computeVisibleRect, computeVisibleRect, compWriteObjectNotify, contains, createToolTip, disable, enable, enableSerialization, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getCreatedDoubleBuffer, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyBindings, processKeyBindingsForAllComponents, processKeyEvent, processMouseMotionEvent, putClientProperty, rectangleIsObscured, rectangleIsObscuredBySibling, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setCreatedDoubleBuffer, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPaintingChild, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, shouldDebugGraphics, superProcessMouseMotionEvent, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getLayout, getMouseEventTarget, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paintComponents, paintHeavyweightComponents, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFocusOwner, setLayout, transferFocus, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, constructComponentName, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getToolkit, getToolkitImpl, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isEnabledImpl, isLightweight, isRecursivelyVisible, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resetGC, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

conns

java.util.Vector conns
Constructor Detail

ConnectionsPanel

public ConnectionsPanel()
Creates new form ConnectionsPanel.

ConnectionsPanel

public ConnectionsPanel(java.util.Vector connections)
Method Detail

getBgConnType

public javax.swing.ButtonGroup getBgConnType()
Getter for property bgConnType.
Returns:
Value of property bgConnType.

setBgConnType

public void setBgConnType(javax.swing.ButtonGroup bgConnType)
Setter for property bgConnType.
Parameters:
bgConnType - New value of property bgConnType.

getBtnAdd

public javax.swing.JButton getBtnAdd()
Getter for property btnAdd.
Returns:
Value of property btnAdd.

setBtnAdd

public void setBtnAdd(javax.swing.JButton btnAdd)
Setter for property btnAdd.
Parameters:
btnAdd - New value of property btnAdd.

getButtonPanel

public javax.swing.JPanel getButtonPanel()
Getter for property ButtonPanel.
Returns:
Value of property ButtonPanel.

setButtonPanel

public void setButtonPanel(javax.swing.JPanel ButtonPanel)
Setter for property ButtonPanel.
Parameters:
ButtonPanel - New value of property ButtonPanel.

getConnList

public javax.swing.JList getConnList()
Getter for property connList.
Returns:
Value of property connList.

setConnList

public void setConnList(javax.swing.JList connList)
Setter for property connList.
Parameters:
connList - New value of property connList.

getConnTypePanel

public javax.swing.JPanel getConnTypePanel()
Getter for property ConnTypePanel.
Returns:
Value of property ConnTypePanel.

setConnTypePanel

public void setConnTypePanel(javax.swing.JPanel ConnTypePanel)
Setter for property ConnTypePanel.
Parameters:
ConnTypePanel - New value of property ConnTypePanel.

getLblConnType

public javax.swing.JLabel getLblConnType()
Getter for property lblConnType.
Returns:
Value of property lblConnType.

setLblConnType

public void setLblConnType(javax.swing.JLabel lblConnType)
Setter for property lblConnType.
Parameters:
lblConnType - New value of property lblConnType.

getLblHost

public javax.swing.JLabel getLblHost()
Getter for property lblHost.
Returns:
Value of property lblHost.

setLblHost

public void setLblHost(javax.swing.JLabel lblHost)
Setter for property lblHost.
Parameters:
lblHost - New value of property lblHost.

getLblName

public javax.swing.JLabel getLblName()
Getter for property lblName.
Returns:
Value of property lblName.

setLblName

public void setLblName(javax.swing.JLabel lblName)
Setter for property lblName.
Parameters:
lblName - New value of property lblName.

getLblPort

public javax.swing.JLabel getLblPort()
Getter for property lblPort.
Returns:
Value of property lblPort.

setLblPort

public void setLblPort(javax.swing.JLabel lblPort)
Setter for property lblPort.
Parameters:
lblPort - New value of property lblPort.

getLblPwd

public javax.swing.JLabel getLblPwd()
Getter for property lblPwd.
Returns:
Value of property lblPwd.

setLblPwd

public void setLblPwd(javax.swing.JLabel lblPwd)
Setter for property lblPwd.
Parameters:
lblPwd - New value of property lblPwd.

getLblUser

public javax.swing.JLabel getLblUser()
Getter for property lblUser.
Returns:
Value of property lblUser.

setLblUser

public void setLblUser(javax.swing.JLabel lblUser)
Setter for property lblUser.
Parameters:
lblUser - New value of property lblUser.

getRbPop3

public javax.swing.JRadioButton getRbPop3()
Getter for property rbPop3.
Returns:
Value of property rbPop3.

setRbPop3

public void setRbPop3(javax.swing.JRadioButton rbPop3)
Setter for property rbPop3.
Parameters:
rbPop3 - New value of property rbPop3.

getRbSmtp

public javax.swing.JRadioButton getRbSmtp()
Getter for property rbSmtp.
Returns:
Value of property rbSmtp.

setRbSmtp

public void setRbSmtp(javax.swing.JRadioButton rbSmtp)
Setter for property rbSmtp.
Parameters:
rbSmtp - New value of property rbSmtp.

getSettingsPanel

public javax.swing.JPanel getSettingsPanel()
Getter for property SettingsPanel.
Returns:
Value of property SettingsPanel.

setSettingsPanel

public void setSettingsPanel(javax.swing.JPanel SettingsPanel)
Setter for property SettingsPanel.
Parameters:
SettingsPanel - New value of property SettingsPanel.

getTxtHost

public javax.swing.JTextField getTxtHost()
Getter for property txtHost.
Returns:
Value of property txtHost.

setTxtHost

public void setTxtHost(javax.swing.JTextField txtHost)
Setter for property txtHost.
Parameters:
txtHost - New value of property txtHost.

getTxtName

public javax.swing.JTextField getTxtName()
Getter for property txtName.
Returns:
Value of property txtName.

setTxtName

public void setTxtName(javax.swing.JTextField txtName)
Setter for property txtName.
Parameters:
txtName - New value of property txtName.

getTxtPort

public javax.swing.JTextField getTxtPort()
Getter for property txtPort.
Returns:
Value of property txtPort.

setTxtPort

public void setTxtPort(javax.swing.JTextField txtPort)
Setter for property txtPort.
Parameters:
txtPort - New value of property txtPort.

getTxtPwd

public javax.swing.JPasswordField getTxtPwd()
Getter for property txtPwd.
Returns:
Value of property txtPwd.

setTxtPwd

public void setTxtPwd(javax.swing.JPasswordField txtPwd)
Setter for property txtPwd.
Parameters:
txtPwd - New value of property txtPwd.

getTxtUser

public javax.swing.JTextField getTxtUser()
Getter for property txtUser.
Returns:
Value of property txtUser.

setTxtUser

public void setTxtUser(javax.swing.JTextField txtUser)
Setter for property txtUser.
Parameters:
txtUser - New value of property txtUser.

getBtnMod

public javax.swing.JButton getBtnMod()
Getter for property btnMod.
Returns:
Value of property btnMod.

setBtnMod

public void setBtnMod(javax.swing.JButton btnMod)
Setter for property btnMod.
Parameters:
btnMod - New value of property btnMod.

getBtnRem

public javax.swing.JButton getBtnRem()
Getter for property btnRem.
Returns:
Value of property btnRem.

setBtnRem

public void setBtnRem(javax.swing.JButton btnRem)
Setter for property btnRem.
Parameters:
btnRem - New value of property btnRem.

getConns

public java.util.Vector getConns()
Getter for property conns.
Returns:
Value of property conns.

setConnsFromProperties

public void setConnsFromProperties()
Setter for property conns.
Parameters:
conns - New value of property conns.

setConns

public void setConns(java.util.Vector newconns)
Setter for property conns.
Parameters:
conns - New value of property conns.

isPop3

public boolean isPop3()

getSMTPConn

public SmtpMail getSMTPConn()
Getter for property conns, with SMTP set.

writeEmailProperties

public java.lang.String writeEmailProperties()
                                      throws java.io.FileNotFoundException,
                                             java.io.IOException
Setter for property email_connections.
Parameters:
email_connections - New value of property email_connections.

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle. This method should return a String containing the fully-qualified classname of the class to use for this jConduits textual resources. You may return null from this method, however if you do so you're expected to override the getConduitName and getConduitDescription methods to return suitable data. We suggest using Resource Bundles to ensure that your jConduits can be translated to other languages.
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

main

public static void main(java.lang.String[] args)

getLblFrom

public javax.swing.JLabel getLblFrom()
Getter for property lblFrom.
Returns:
Value of property lblFrom.

setLblFrom

public void setLblFrom(javax.swing.JLabel lblFrom)
Setter for property lblFrom.
Parameters:
lblFrom - New value of property lblFrom.

getTxtFrom

public javax.swing.JTextField getTxtFrom()
Getter for property txtFrom.
Returns:
Value of property txtFrom.

setTxtFrom

public void setTxtFrom(javax.swing.JTextField txtFrom)
Setter for property txtFrom.
Parameters:
txtFrom - New value of property txtFrom.

jSyncManager

Copyright (c) 1999 - 2003 Brad BARCLAY and others. All Rights Reserved.