Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jabbee.ui.panels
Class Connections  view Connections download Connections.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended byorg.jabbee.ui.panels.Connections
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public final class Connections
extends javax.swing.JPanel

Panels which specifies client & server connections to the jabber daemon.

Version:
0.01

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  javax.swing.JCheckBox authtimeCheckBox
           
private  javax.swing.JLabel authtimeLabel
           
private  javax.swing.JTextField authtimeTextField
           
private  javax.swing.JPanel c2sPanel
           
private  javax.swing.JPanel cAuthPanel
           
private  javax.swing.JCheckBox cKarmaCheckBox
           
private  javax.swing.JLabel cKarmaDecLabel
           
private  javax.swing.JTextField cKarmaDecTextField
           
private  javax.swing.JLabel cKarmaIncLabel
           
private  javax.swing.JTextField cKarmaIncTextField
           
private  javax.swing.JLabel cKarmaInitLabel
           
private  javax.swing.JTextField cKarmaInitTextField
           
private  javax.swing.JLabel cKarmaMaxLabel
           
private  javax.swing.JTextField cKarmaMaxTextField
           
private  javax.swing.JPanel cKarmaPanel
           
private  javax.swing.JLabel cKarmaPenaltyLabel
           
private  javax.swing.JTextField cKarmaPenaltyTextField
           
private  javax.swing.JLabel cKarmaRestoreLabel
           
private  javax.swing.JTextField cKarmaRestoreTextField
           
private  javax.swing.JTabbedPane connTabbedPane
           
private  javax.swing.JButton cPortAddButton
           
private  javax.swing.JPanel cPortPanel
           
private  javax.swing.JButton cPortRemButton
           
private  javax.swing.JScrollPane cPortScrollPane
           
private  javax.swing.table.DefaultTableModel cPortsModel
           
private  javax.swing.JTable cPortTable
           
private  javax.swing.JPanel cPthsockPanel
           
private  javax.swing.JLabel dialbackLabel
           
private  javax.swing.JPanel dialbackPanel
           
private  javax.swing.JTextField dialbackTextField
           
private  javax.swing.JPanel dnsPanel
           
private  javax.swing.JLabel jLabel1
           
private  javax.swing.JCheckBox legacyCheckBox
           
private  javax.swing.JPanel legacyPanel
           
private  org.jabbee.Jabbee parent
           
private  javax.swing.JComboBox portTypeComboBox
           
private  javax.swing.table.TableCellEditor portTypeEditor
           
private  javax.swing.JLabel pthsockClientLabel
           
private  javax.swing.JTextField pthsockClientTextField
           
private  javax.swing.JPanel s2sPanel
           
private  javax.swing.JCheckBox sKarmaCheckBox
           
private  javax.swing.JLabel sKarmaDecLabel
           
private  javax.swing.JTextField sKarmaDecTextField
           
private  javax.swing.JLabel sKarmaIncLabel
           
private  javax.swing.JTextField sKarmaIncTextField
           
private  javax.swing.JLabel sKarmaInitLabel
           
private  javax.swing.JTextField sKarmaInitTextField
           
private  javax.swing.JLabel sKarmaMaxLabel
           
private  javax.swing.JTextField sKarmaMaxTextField
           
private  javax.swing.JPanel sKarmaPanel
           
private  javax.swing.JLabel sKarmaPenaltyLabel
           
private  javax.swing.JTextField sKarmaPenaltyTextField
           
private  javax.swing.JLabel sKarmaRestoreLabel
           
private  javax.swing.JTextField sKarmaRestoreTextField
           
private  javax.swing.JButton sPortAddButton
           
private  javax.swing.JPanel sPortPanel
           
private  javax.swing.JButton sPortRemButton
           
private  javax.swing.JScrollPane sPortScrollPane
           
private  javax.swing.table.DefaultTableModel sPortsModel
           
private  javax.swing.JTable sPortTable
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, 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
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Connections(org.jabbee.Jabbee j)
          Creates new form Connections
 
Method Summary
private  void authtimeCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)
           
private  void cKarmaCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)
           
private  void cPortAddButtonActionPerformed(java.awt.event.ActionEvent evt)
           
private  void cPortRemButtonActionPerformed(java.awt.event.ActionEvent evt)
           
private  void enableClientKarmaItems(boolean bool)
           
private  void enableServerKarmaItems(boolean bool)
           
 java.lang.String[][] getClientPorts()
           
 java.lang.String[] getFieldValues()
           
 boolean getLegacy()
           
 java.lang.String[][] getServerPorts()
           
private  void initComponents()
          This method is called from within the constructor to initialize the form.
 void populateFields(java.lang.String[] values)
           
 void resetTab()
           
 void setClientPorts(java.util.ArrayList[] list)
           
 void setLegacy(boolean bool)
           
 void setServerPorts(java.util.ArrayList[] list)
           
private  void sKarmaCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)
           
private  void sPortAddButtonActionPerformed(java.awt.event.ActionEvent evt)
           
private  void sPortRemButtonActionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
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, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

authtimeLabel

private javax.swing.JLabel authtimeLabel

cKarmaDecLabel

private javax.swing.JLabel cKarmaDecLabel

sPortAddButton

private javax.swing.JButton sPortAddButton

cKarmaIncTextField

private javax.swing.JTextField cKarmaIncTextField

pthsockClientTextField

private javax.swing.JTextField pthsockClientTextField

cPortScrollPane

private javax.swing.JScrollPane cPortScrollPane

cKarmaInitLabel

private javax.swing.JLabel cKarmaInitLabel

cKarmaRestoreLabel

private javax.swing.JLabel cKarmaRestoreLabel

sKarmaDecLabel

private javax.swing.JLabel sKarmaDecLabel

dialbackPanel

private javax.swing.JPanel dialbackPanel

sKarmaIncTextField

private javax.swing.JTextField sKarmaIncTextField

sKarmaRestoreLabel

private javax.swing.JLabel sKarmaRestoreLabel

cPortPanel

private javax.swing.JPanel cPortPanel

sKarmaInitTextField

private javax.swing.JTextField sKarmaInitTextField

dialbackLabel

private javax.swing.JLabel dialbackLabel

cKarmaMaxLabel

private javax.swing.JLabel cKarmaMaxLabel

dnsPanel

private javax.swing.JPanel dnsPanel

authtimeTextField

private javax.swing.JTextField authtimeTextField

cKarmaDecTextField

private javax.swing.JTextField cKarmaDecTextField

cKarmaPenaltyLabel

private javax.swing.JLabel cKarmaPenaltyLabel

cKarmaInitTextField

private javax.swing.JTextField cKarmaInitTextField

sPortPanel

private javax.swing.JPanel sPortPanel

sKarmaMaxLabel

private javax.swing.JLabel sKarmaMaxLabel

cKarmaRestoreTextField

private javax.swing.JTextField cKarmaRestoreTextField

cPortRemButton

private javax.swing.JButton cPortRemButton

sKarmaDecTextField

private javax.swing.JTextField sKarmaDecTextField

sKarmaPenaltyLabel

private javax.swing.JLabel sKarmaPenaltyLabel

jLabel1

private javax.swing.JLabel jLabel1

sKarmaPanel

private javax.swing.JPanel sKarmaPanel

c2sPanel

private javax.swing.JPanel c2sPanel

cPthsockPanel

private javax.swing.JPanel cPthsockPanel

sKarmaRestoreTextField

private javax.swing.JTextField sKarmaRestoreTextField

legacyPanel

private javax.swing.JPanel legacyPanel

authtimeCheckBox

private javax.swing.JCheckBox authtimeCheckBox

sPortRemButton

private javax.swing.JButton sPortRemButton

cKarmaPanel

private javax.swing.JPanel cKarmaPanel

dialbackTextField

private javax.swing.JTextField dialbackTextField

cKarmaMaxTextField

private javax.swing.JTextField cKarmaMaxTextField

cKarmaPenaltyTextField

private javax.swing.JTextField cKarmaPenaltyTextField

s2sPanel

private javax.swing.JPanel s2sPanel

cPortTable

private javax.swing.JTable cPortTable

sKarmaMaxTextField

private javax.swing.JTextField sKarmaMaxTextField

cKarmaIncLabel

private javax.swing.JLabel cKarmaIncLabel

pthsockClientLabel

private javax.swing.JLabel pthsockClientLabel

sKarmaPenaltyTextField

private javax.swing.JTextField sKarmaPenaltyTextField

connTabbedPane

private javax.swing.JTabbedPane connTabbedPane

sPortTable

private javax.swing.JTable sPortTable

cAuthPanel

private javax.swing.JPanel cAuthPanel

sKarmaIncLabel

private javax.swing.JLabel sKarmaIncLabel

cKarmaCheckBox

private javax.swing.JCheckBox cKarmaCheckBox

cPortAddButton

private javax.swing.JButton cPortAddButton

legacyCheckBox

private javax.swing.JCheckBox legacyCheckBox

sPortScrollPane

private javax.swing.JScrollPane sPortScrollPane

sKarmaInitLabel

private javax.swing.JLabel sKarmaInitLabel

sKarmaCheckBox

private javax.swing.JCheckBox sKarmaCheckBox

parent

private org.jabbee.Jabbee parent

cPortsModel

private javax.swing.table.DefaultTableModel cPortsModel

sPortsModel

private javax.swing.table.DefaultTableModel sPortsModel

portTypeComboBox

private javax.swing.JComboBox portTypeComboBox

portTypeEditor

private javax.swing.table.TableCellEditor portTypeEditor
Constructor Detail

Connections

public Connections(org.jabbee.Jabbee j)
Creates new form Connections

Method Detail

initComponents

private void initComponents()
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.


sPortRemButtonActionPerformed

private void sPortRemButtonActionPerformed(java.awt.event.ActionEvent evt)

sPortAddButtonActionPerformed

private void sPortAddButtonActionPerformed(java.awt.event.ActionEvent evt)

cPortRemButtonActionPerformed

private void cPortRemButtonActionPerformed(java.awt.event.ActionEvent evt)

cPortAddButtonActionPerformed

private void cPortAddButtonActionPerformed(java.awt.event.ActionEvent evt)

sKarmaCheckBoxItemStateChanged

private void sKarmaCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)

authtimeCheckBoxItemStateChanged

private void authtimeCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)

cKarmaCheckBoxItemStateChanged

private void cKarmaCheckBoxItemStateChanged(java.awt.event.ItemEvent evt)

enableClientKarmaItems

private void enableClientKarmaItems(boolean bool)

enableServerKarmaItems

private void enableServerKarmaItems(boolean bool)

resetTab

public void resetTab()

populateFields

public void populateFields(java.lang.String[] values)

setClientPorts

public void setClientPorts(java.util.ArrayList[] list)

setServerPorts

public void setServerPorts(java.util.ArrayList[] list)

setLegacy

public void setLegacy(boolean bool)

getClientPorts

public java.lang.String[][] getClientPorts()

getServerPorts

public java.lang.String[][] getServerPorts()

getFieldValues

public java.lang.String[] getFieldValues()

getLegacy

public boolean getLegacy()