org.genealogie.ihm.personne
Class NouveauMariageDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--org.genealogie.ihm.personne.NouveauMariageDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, LieuMariage, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class NouveauMariageDialog
extends javax.swing.JDialog
implements LieuMariage

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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
private  BrowseTree bt
           
private  javax.swing.JTextField civilField
           
private  javax.swing.JTextField femmeField
           
private  FichePersonne fp
           
private  org.genealogie.dao.GenealogieBean genealogie
           
private  org.genealogie.utils.CommuneUtils lieuCivil
           
private  javax.swing.JTextField lieuCivilField
           
private  org.genealogie.utils.CommuneUtils lieuReligieux
           
private  javax.swing.JTextField lieuReligieuxField
           
private  javax.swing.JTextField mariField
           
private  Menubar mb
           
private  Main parent
           
private  org.genealogie.utils.PersonneUtils personneFemme
           
private  org.genealogie.utils.PersonneUtils personneMari
           
private  javax.swing.JTextField religieuxField
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title
 
Fields inherited from class java.awt.Window
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, 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, name, nameExplicitlySet, newEventsOnly, ownedWindowK, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
Fields inherited from interface org.genealogie.ihm.LieuMariage
LIEU_CIVIL, LIEU_RELIGIEUX
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
NouveauMariageDialog(javax.swing.JFrame opener, FichePersonne fp)
           
 
Method Summary
 javax.swing.Action getActionRechercheCommuneCivil(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheCommuneReligieux(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheFemme(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheMari(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheTemoin1(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheTemoin2(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheTemoin3(javax.swing.ImageIcon iconFind)
           
 javax.swing.Action getActionRechercheTemoin4(javax.swing.ImageIcon iconFind)
           
private  int getAge(int idPersonne, java.sql.Date currentDate)
           
private  int getAge(org.genealogie.dao.PersonneBean personne, java.sql.Date currentDate)
           
private  boolean isDateApprochee(java.lang.String dateApp)
           
 void setFemme(org.genealogie.utils.PersonneUtils femme)
           
 void setLieuCivil(org.genealogie.utils.CommuneUtils commune)
           
 void setLieuReligieux(org.genealogie.utils.CommuneUtils commune)
           
 void setMari(org.genealogie.utils.PersonneUtils mari)
           
private  boolean verifierDates()
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, createRootPaneException, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
, addNotify, conditionalShow, constructComponentName, dispose, disposeImpl, getTitle, hide, hideAndDisposeHandler, initIDs, interruptBlocking, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, adjustListeningChildren, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, eventEnabled, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, readObject, removeOwnedWindow, removeWindowListener, resetGC, setCursor, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, numListening, paint, paintComponents, paintHeavyweightComponents, postsOldMouseEvents, preferredSize, print, printComponents, printHeavyweightComponents, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, 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, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

parent

private Main parent

fp

private FichePersonne fp

bt

private BrowseTree bt

mb

private Menubar mb

mariField

private javax.swing.JTextField mariField

femmeField

private javax.swing.JTextField femmeField

personneMari

private org.genealogie.utils.PersonneUtils personneMari

personneFemme

private org.genealogie.utils.PersonneUtils personneFemme

civilField

private javax.swing.JTextField civilField

lieuCivilField

private javax.swing.JTextField lieuCivilField

lieuCivil

private org.genealogie.utils.CommuneUtils lieuCivil

religieuxField

private javax.swing.JTextField religieuxField

lieuReligieuxField

private javax.swing.JTextField lieuReligieuxField

lieuReligieux

private org.genealogie.utils.CommuneUtils lieuReligieux

genealogie

private org.genealogie.dao.GenealogieBean genealogie
Constructor Detail

NouveauMariageDialog

public NouveauMariageDialog(javax.swing.JFrame opener,
                            FichePersonne fp)
Method Detail

getAge

private int getAge(org.genealogie.dao.PersonneBean personne,
                   java.sql.Date currentDate)

getAge

private int getAge(int idPersonne,
                   java.sql.Date currentDate)

verifierDates

private boolean verifierDates()
                       throws org.apache.regexp.RESyntaxException

isDateApprochee

private boolean isDateApprochee(java.lang.String dateApp)
                         throws org.apache.regexp.RESyntaxException

getActionRechercheFemme

public javax.swing.Action getActionRechercheFemme(javax.swing.ImageIcon iconFind)

getActionRechercheMari

public javax.swing.Action getActionRechercheMari(javax.swing.ImageIcon iconFind)

getActionRechercheTemoin1

public javax.swing.Action getActionRechercheTemoin1(javax.swing.ImageIcon iconFind)

getActionRechercheTemoin2

public javax.swing.Action getActionRechercheTemoin2(javax.swing.ImageIcon iconFind)

getActionRechercheTemoin3

public javax.swing.Action getActionRechercheTemoin3(javax.swing.ImageIcon iconFind)

getActionRechercheTemoin4

public javax.swing.Action getActionRechercheTemoin4(javax.swing.ImageIcon iconFind)

getActionRechercheCommuneCivil

public javax.swing.Action getActionRechercheCommuneCivil(javax.swing.ImageIcon iconFind)

getActionRechercheCommuneReligieux

public javax.swing.Action getActionRechercheCommuneReligieux(javax.swing.ImageIcon iconFind)

setMari

public void setMari(org.genealogie.utils.PersonneUtils mari)

setFemme

public void setFemme(org.genealogie.utils.PersonneUtils femme)

setLieuCivil

public void setLieuCivil(org.genealogie.utils.CommuneUtils commune)
Specified by:
setLieuCivil in interface LieuMariage

setLieuReligieux

public void setLieuReligieux(org.genealogie.utils.CommuneUtils commune)
Specified by:
setLieuReligieux in interface LieuMariage


Copyright © 2002 JGenea Ihm. All Rights Reserved.