public class PersonEditor extends KSJInternalFrame implements javax.swing.event.ListSelectionListener
Individual
's fields for
editing. It is an extension of KSJInternalFrame so it will appear in the View
menu.
NOTE: Those exception texts intended for debugging are not translated.
Modifier and Type | Class and Description |
---|---|
class |
PersonEditor.PEdListener |
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
javax.swing.JButton |
addPerson |
javax.swing.JPanel |
bFam |
javax.swing.JTextField |
birthDay |
javax.swing.JTextField |
birthMnth |
javax.swing.JTextField |
birthYr |
java.awt.Rectangle |
bnds |
Context |
ctxt |
static PersonEditor |
current |
javax.swing.JTextField |
dataAuth |
javax.swing.JTextField |
deathDay |
javax.swing.JTextField |
deathMnth |
javax.swing.JTextField |
deathYr |
javax.swing.JButton |
deletePerson |
javax.swing.JButton |
doneBtn |
boolean |
dupEditor |
javax.swing.JPanel |
editor |
java.lang.String |
edTitle |
javax.swing.JRadioButton |
female |
java.lang.String |
fieldFlag |
javax.swing.JTextField |
firstNames |
KSJInternalFrame |
genericEd |
javax.swing.JLabel |
hName |
Individual |
ind |
javax.swing.JTextField |
lastName |
PersonEditor.PEdListener |
listener |
javax.swing.JRadioButton |
male |
javax.swing.JPanel |
marriageBox |
javax.swing.JTextArea |
notes |
boolean |
rebuilding |
javax.swing.JLabel |
restrictLabel |
javax.swing.JComboBox |
spousePicker |
javax.swing.JLabel |
typLabel |
javax.swing.JPanel |
udBtns |
UserDefinedProperty |
udCopy |
javax.swing.JLabel |
udEdInstr |
javax.swing.JPanel |
udpArea |
javax.swing.JComboBox |
udPick |
javax.swing.JTextArea |
udpTextArea |
java.lang.Object[] |
udpValArray |
javax.swing.JList |
udpValList |
javax.swing.JTextField |
udpValText |
javax.swing.JLabel |
wName |
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
PersonEditor(Context cntxt,
KSJInternalFrame ctEd,
java.lang.String title,
Individual person,
java.lang.String fieldFlg,
int selUDP) |
Modifier and Type | Method and Description |
---|---|
void |
buildBFamRow() |
void |
buildEditor() |
void |
buildMarriageBox() |
void |
buildPersonBtnBox() |
void |
buildRestrictionBox() |
void |
buildUDPArea(int ndx) |
static java.lang.String[] |
genSpouseMenu(Individual ind,
java.util.ArrayList<java.lang.Object> unions) |
java.lang.String[] |
genUDPMenu() |
void |
selectUDPNmbr(int nmbr) |
void |
setTypeAndValue(UserDefinedProperty theUDP,
javax.swing.JLabel typLabel) |
void |
setTypeAndValue(UserDefinedProperty theUDP,
javax.swing.JLabel typLabel,
javax.swing.JTextField valText) |
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
actionPerformed, internalFrameActivated, internalFrameClosed, internalFrameClosing, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened
addImpl, addInternalFrameListener, createRootPane, dispose, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setTitle, setUI, show, toBack, toFront, 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, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, 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, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static PersonEditor current
public Context ctxt
public KSJInternalFrame genericEd
public PersonEditor.PEdListener listener
public Individual ind
public javax.swing.JTextField dataAuth
public javax.swing.JTextField firstNames
public javax.swing.JTextField lastName
public javax.swing.JTextField birthDay
public javax.swing.JTextField birthMnth
public javax.swing.JTextField birthYr
public javax.swing.JTextField deathDay
public javax.swing.JTextField deathMnth
public javax.swing.JTextField deathYr
public javax.swing.JTextField udpValText
public javax.swing.JTextArea notes
public javax.swing.JTextArea udpTextArea
public UserDefinedProperty udCopy
public boolean rebuilding
public boolean dupEditor
public javax.swing.JComboBox udPick
public javax.swing.JComboBox spousePicker
public javax.swing.JPanel editor
public javax.swing.JPanel udpArea
public javax.swing.JPanel udBtns
public javax.swing.JPanel marriageBox
public javax.swing.JPanel bFam
public javax.swing.JLabel typLabel
public javax.swing.JLabel restrictLabel
public javax.swing.JLabel udEdInstr
public javax.swing.JLabel wName
public javax.swing.JLabel hName
public javax.swing.JList udpValList
public java.lang.Object[] udpValArray
public javax.swing.JRadioButton male
public javax.swing.JRadioButton female
public javax.swing.JButton doneBtn
public javax.swing.JButton addPerson
public javax.swing.JButton deletePerson
public java.lang.String edTitle
public java.lang.String fieldFlag
public java.awt.Rectangle bnds
public PersonEditor(Context cntxt, KSJInternalFrame ctEd, java.lang.String title, Individual person, java.lang.String fieldFlg, int selUDP)
public void buildEditor()
public void setTypeAndValue(UserDefinedProperty theUDP, javax.swing.JLabel typLabel, javax.swing.JTextField valText)
public void setTypeAndValue(UserDefinedProperty theUDP, javax.swing.JLabel typLabel)
public void buildUDPArea(int ndx)
public java.lang.String[] genUDPMenu()
public void selectUDPNmbr(int nmbr)
public void buildBFamRow()
public void buildMarriageBox()
public static java.lang.String[] genSpouseMenu(Individual ind, java.util.ArrayList<java.lang.Object> unions)
public void buildRestrictionBox()
public void buildPersonBtnBox()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener