fr.ifremer.isisfish.ui.vcs
Class VCSGenerateSshKeyUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by fr.ifremer.isisfish.ui.vcs.VCSGenerateSshKeyUI
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject

public class VCSGenerateSshKeyUI
extends javax.swing.JDialog
implements jaxx.runtime.JAXXObject

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  java.util.List<java.lang.Object> $activeBindings
           
protected  java.util.Map<java.lang.String,java.lang.Object> $bindingSources
           
protected  java.util.Map<java.lang.String,java.lang.Object> $objectMap
           
 boolean cancel
           
protected  javax.swing.JButton cancelAction
           
protected  jaxx.runtime.JAXXContext delegateContext
           
 java.lang.Exception error
           
protected  boolean invalidPassPhrase
           
static org.apache.commons.logging.Log log
           
 boolean noPassPhrase
           
protected  javax.swing.JButton ok
           
protected  javax.swing.JPasswordField serverConfirmPassPhrase
           
protected  javax.swing.JLabel serverConfirmPassPhraseLabel
           
protected  javax.swing.JPasswordField serverPassPhrase
           
protected  javax.swing.JLabel serverPassPhraseLabel
           
protected  javax.swing.JTextField serverPrivateKeyFile
           
protected  javax.swing.JTextField serverPublicKeyFile
           
protected  java.lang.String vcsLogin
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
VCSGenerateSshKeyUI()
           
VCSGenerateSshKeyUI(jaxx.runtime.JAXXContext parentContext)
           
 
Method Summary
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
 void applyDataBinding(java.lang.String $binding)
           
protected  boolean check()
           
protected  void createCancelAction()
           
protected  void createOk()
           
protected  void createServerConfirmPassPhrase()
           
protected  void createServerConfirmPassPhraseLabel()
           
protected  void createServerPassPhrase()
           
protected  void createServerPassPhraseLabel()
           
protected  void createServerPrivateKeyFile()
           
protected  void createServerPublicKeyFile()
           
 void doActionPerformed__on__cancelAction(java.awt.event.ActionEvent event)
           
 void doActionPerformed__on__ok(java.awt.event.ActionEvent event)
           
protected  void doCheck()
           
protected  boolean doGenerate()
          Generate ssh key.
 void doKeyReleased__on__serverConfirmPassPhrase(java.awt.event.KeyEvent event)
           
 void doKeyReleased__on__serverPassPhrase(java.awt.event.KeyEvent event)
           
 void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
           
 java.util.List<java.lang.Object> get$activeBindings()
           
 java.util.Map<java.lang.String,java.lang.Object> get$bindingSources()
           
protected  java.lang.String get$jaxxObjectDescriptor()
           
protected  VCSGenerateSshKeyUI get$JDialog0()
           
protected  javax.swing.JLabel get$JLabel2()
           
protected  javax.swing.JLabel get$JLabel3()
           
protected  javax.swing.JPanel get$JPanel4()
           
 java.util.Map<java.lang.String,java.lang.Object> get$objectMap()
           
protected  java.util.Map get$previousValues()
           
protected  jaxx.runtime.swing.Table get$Table1()
           
protected  boolean getAllComponentsCreated()
           
 javax.swing.JButton getCancelAction()
           
protected  boolean getContextInitialized()
           
<T> T
getContextValue(java.lang.Class<T> clazz)
           
<T> T
getContextValue(java.lang.Class<T> clazz, java.lang.String name)
           
 jaxx.runtime.JAXXContext getDelegateContext()
           
static VCSGenerateSshKeyUI getInstance(javax.swing.JDialog parent)
           
protected  org.apache.commons.logging.Log getLog()
           
 java.lang.Object getObjectById(java.lang.String id)
           
 javax.swing.JButton getOk()
           
<O extends java.awt.Container>
O
getParentContainer(java.lang.Class<O> clazz)
           
<O extends java.awt.Container>
O
getParentContainer(java.lang.Object source, java.lang.Class<O> clazz)
           
 javax.swing.JPasswordField getServerConfirmPassPhrase()
           
 javax.swing.JLabel getServerConfirmPassPhraseLabel()
           
 javax.swing.JPasswordField getServerPassPhrase()
           
 javax.swing.JLabel getServerPassPhraseLabel()
           
 javax.swing.JTextField getServerPrivateKeyFile()
           
 javax.swing.JTextField getServerPublicKeyFile()
           
 void processDataBinding(java.lang.String dest)
           
 void processDataBinding(java.lang.String $dest, boolean $force)
           
<T> void
removeContextValue(java.lang.Class<T> clazz)
           
<T> void
removeContextValue(java.lang.Class<T> clazz, java.lang.String name)
           
 void removeDataBinding(java.lang.String $binding)
           
protected  void setColor(boolean invalid, javax.swing.JComponent component)
           
<T> void
setContextValue(T o)
           
<T> void
setContextValue(T o, java.lang.String name)
           
 void setData(java.lang.String vcsLogin, java.io.File privateKeyFile)
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log

$activeBindings

protected java.util.List<java.lang.Object> $activeBindings

$bindingSources

protected java.util.Map<java.lang.String,java.lang.Object> $bindingSources

$objectMap

protected java.util.Map<java.lang.String,java.lang.Object> $objectMap

cancelAction

protected javax.swing.JButton cancelAction

delegateContext

protected final jaxx.runtime.JAXXContext delegateContext

ok

protected javax.swing.JButton ok

serverConfirmPassPhrase

protected javax.swing.JPasswordField serverConfirmPassPhrase

serverConfirmPassPhraseLabel

protected javax.swing.JLabel serverConfirmPassPhraseLabel

serverPassPhrase

protected javax.swing.JPasswordField serverPassPhrase

serverPassPhraseLabel

protected javax.swing.JLabel serverPassPhraseLabel

serverPrivateKeyFile

protected javax.swing.JTextField serverPrivateKeyFile

serverPublicKeyFile

protected javax.swing.JTextField serverPublicKeyFile

cancel

public boolean cancel

noPassPhrase

public boolean noPassPhrase

error

public java.lang.Exception error

invalidPassPhrase

protected boolean invalidPassPhrase

vcsLogin

protected java.lang.String vcsLogin
Constructor Detail

VCSGenerateSshKeyUI

public VCSGenerateSshKeyUI()

VCSGenerateSshKeyUI

public VCSGenerateSshKeyUI(jaxx.runtime.JAXXContext parentContext)
Method Detail

getInstance

public static VCSGenerateSshKeyUI getInstance(javax.swing.JDialog parent)

setData

public void setData(java.lang.String vcsLogin,
                    java.io.File privateKeyFile)

doGenerate

protected boolean doGenerate()
Generate ssh key. Return true if error occurs.


check

protected boolean check()

doCheck

protected void doCheck()

setColor

protected void setColor(boolean invalid,
                        javax.swing.JComponent component)

$getJAXXObjectDescriptor

public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()

applyDataBinding

public void applyDataBinding(java.lang.String $binding)
Specified by:
applyDataBinding in interface jaxx.runtime.JAXXObject

firePropertyChange

public void firePropertyChange(java.lang.String propertyName,
                               java.lang.Object oldValue,
                               java.lang.Object newValue)
Specified by:
firePropertyChange in interface jaxx.runtime.JAXXObject
Overrides:
firePropertyChange in class java.awt.Component

get$objectMap

public java.util.Map<java.lang.String,java.lang.Object> get$objectMap()
Specified by:
get$objectMap in interface jaxx.runtime.JAXXObject

getObjectById

public java.lang.Object getObjectById(java.lang.String id)
Specified by:
getObjectById in interface jaxx.runtime.JAXXObject

processDataBinding

public void processDataBinding(java.lang.String dest)
Specified by:
processDataBinding in interface jaxx.runtime.JAXXObject

processDataBinding

public void processDataBinding(java.lang.String $dest,
                               boolean $force)

removeDataBinding

public void removeDataBinding(java.lang.String $binding)
Specified by:
removeDataBinding in interface jaxx.runtime.JAXXObject

getContextValue

public <T> T getContextValue(java.lang.Class<T> clazz)
Specified by:
getContextValue in interface jaxx.runtime.JAXXContext

getContextValue

public <T> T getContextValue(java.lang.Class<T> clazz,
                             java.lang.String name)
Specified by:
getContextValue in interface jaxx.runtime.JAXXContext

getDelegateContext

public jaxx.runtime.JAXXContext getDelegateContext()
Specified by:
getDelegateContext in interface jaxx.runtime.JAXXObject

getParentContainer

public <O extends java.awt.Container> O getParentContainer(java.lang.Class<O> clazz)
Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext

getParentContainer

public <O extends java.awt.Container> O getParentContainer(java.lang.Object source,
                                                           java.lang.Class<O> clazz)
Specified by:
getParentContainer in interface jaxx.runtime.JAXXContext

removeContextValue

public <T> void removeContextValue(java.lang.Class<T> clazz)
Specified by:
removeContextValue in interface jaxx.runtime.JAXXContext

removeContextValue

public <T> void removeContextValue(java.lang.Class<T> clazz,
                                   java.lang.String name)
Specified by:
removeContextValue in interface jaxx.runtime.JAXXContext

setContextValue

public <T> void setContextValue(T o)
Specified by:
setContextValue in interface jaxx.runtime.JAXXContext

setContextValue

public <T> void setContextValue(T o,
                                java.lang.String name)
Specified by:
setContextValue in interface jaxx.runtime.JAXXContext

doActionPerformed__on__cancelAction

public void doActionPerformed__on__cancelAction(java.awt.event.ActionEvent event)

doActionPerformed__on__ok

public void doActionPerformed__on__ok(java.awt.event.ActionEvent event)

doKeyReleased__on__serverConfirmPassPhrase

public void doKeyReleased__on__serverConfirmPassPhrase(java.awt.event.KeyEvent event)

doKeyReleased__on__serverPassPhrase

public void doKeyReleased__on__serverPassPhrase(java.awt.event.KeyEvent event)

get$activeBindings

public java.util.List<java.lang.Object> get$activeBindings()

get$bindingSources

public java.util.Map<java.lang.String,java.lang.Object> get$bindingSources()

getCancelAction

public javax.swing.JButton getCancelAction()

getOk

public javax.swing.JButton getOk()

getServerConfirmPassPhrase

public javax.swing.JPasswordField getServerConfirmPassPhrase()

getServerConfirmPassPhraseLabel

public javax.swing.JLabel getServerConfirmPassPhraseLabel()

getServerPassPhrase

public javax.swing.JPasswordField getServerPassPhrase()

getServerPassPhraseLabel

public javax.swing.JLabel getServerPassPhraseLabel()

getServerPrivateKeyFile

public javax.swing.JTextField getServerPrivateKeyFile()

getServerPublicKeyFile

public javax.swing.JTextField getServerPublicKeyFile()

get$JDialog0

protected VCSGenerateSshKeyUI get$JDialog0()

get$JLabel2

protected javax.swing.JLabel get$JLabel2()

get$JLabel3

protected javax.swing.JLabel get$JLabel3()

get$JPanel4

protected javax.swing.JPanel get$JPanel4()

get$Table1

protected jaxx.runtime.swing.Table get$Table1()

get$jaxxObjectDescriptor

protected java.lang.String get$jaxxObjectDescriptor()

get$previousValues

protected java.util.Map get$previousValues()

getAllComponentsCreated

protected boolean getAllComponentsCreated()

getContextInitialized

protected boolean getContextInitialized()

getLog

protected org.apache.commons.logging.Log getLog()

createCancelAction

protected void createCancelAction()

createOk

protected void createOk()

createServerConfirmPassPhrase

protected void createServerConfirmPassPhrase()

createServerConfirmPassPhraseLabel

protected void createServerConfirmPassPhraseLabel()

createServerPassPhrase

protected void createServerPassPhrase()

createServerPassPhraseLabel

protected void createServerPassPhraseLabel()

createServerPrivateKeyFile

protected void createServerPrivateKeyFile()

createServerPublicKeyFile

protected void createServerPublicKeyFile()


Copyright © 1999-2010 CodeLutin. All Rights Reserved.