|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.ontimize.gui.container.EJDialog
com.ontimize.gui.DetailForm
Form that is shown when user makes double click in a table component
| Nested Class Summary | |
protected class |
DetailForm.ActivationFormListener
|
| Nested classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
| Nested classes inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| 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 | |
protected DetailForm.ActivationFormListener |
activedFormListener
|
protected java.util.Hashtable |
cacheForms
|
protected java.awt.CardLayout |
cardLayout
|
boolean |
checkDataBeforeClose
|
protected java.util.Hashtable |
codValues
|
protected java.util.Hashtable |
data
|
protected boolean |
dataChangeEventProcessing
|
protected java.util.Vector |
fieldsKey
|
protected Form |
form
|
static java.lang.String |
M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES
|
protected java.util.Hashtable |
otherParentKeys
Deprecated. |
protected boolean |
packed
|
protected java.lang.String |
parentKeyName
Deprecated. |
protected java.util.Hashtable |
parentkeys
|
protected java.lang.Object |
parentKeyValue
Deprecated. |
protected java.util.Hashtable |
reverseCodValues
|
protected Table |
table
|
protected java.util.Hashtable |
tableKeys
|
protected java.lang.String |
title
|
protected int |
vectorIndex
|
| Fields inherited from class com.ontimize.gui.container.EJDialog |
actions, askQuestionEverOnClose, askQuestionOnEsc, autoPackOnOpen, closeQuestion, defaultValueAskQuestionOnClose, defaultValueAskQuestionOnEsc, focusSet, glassPanel, keys, keyStrokes, opaque, previousGlassPane, sizePositionPreference |
| Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| 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 | |
DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
Deprecated. |
|
DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
Deprecated. |
|
DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys)
|
|
DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
|
|
DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
Deprecated. |
|
DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
Deprecated. |
|
DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys)
|
|
DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
|
|
DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentKeys)
Deprecated. |
|
DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
Deprecated. |
|
DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentKeys)
|
|
DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
|
|
| Method Summary | |
void |
centerOnScreen()
|
void |
changeDynamicForm(java.util.Hashtable dynamicFormData)
|
void |
dataChanged(DataNavigationEvent e)
Notifies that the data in the form has changed. |
boolean |
dataWillChange(DataNavigationEvent e)
Called when a form is going to change the status. |
void |
forceUpdateMode()
|
boolean |
getCheckDataBeforeClose()
|
Form |
getForm()
|
protected java.lang.String |
getFormFieldName(java.lang.Object name)
|
protected java.lang.String |
getFormFieldName(java.lang.String name)
|
java.lang.String |
getParentKeyName()
Deprecated. |
java.lang.Object |
getParentKeyValue()
Deprecated. |
protected int |
getRecordCount()
|
Table |
getTable()
|
protected java.lang.String |
getTableFieldName(java.lang.Object name)
|
protected java.lang.String |
getTableFieldName(java.lang.String name)
|
java.util.Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated. |
void |
hideDetailForm()
|
protected void |
init(java.lang.String title,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
Deprecated. |
protected void |
init(java.lang.String title,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeyValues)
|
protected void |
initCodValues(java.util.Hashtable codValues)
|
protected void |
installButtonsListeners()
|
protected java.util.Vector |
listToForm(java.util.Vector list)
|
protected void |
processKeyEvent(java.awt.event.KeyEvent e)
|
protected void |
processWindowEvent(java.awt.event.WindowEvent e)
|
protected EntityResult |
query(int index)
|
protected void |
reload(Form f)
|
void |
resetEntityName()
|
void |
resetOthersParentKeys(java.util.Vector otherParentKeys)
Deprecated. |
void |
resetParentkeys(java.util.List parentKeys)
|
void |
setAttributeToFix(java.lang.Object attribute,
java.lang.Object value)
|
void |
setCheckDataWhenClose(boolean v)
|
void |
setComponentLocale(java.util.Locale l)
|
void |
setEntityName(java.lang.String name)
|
void |
setInsertMode()
|
void |
setKeys(java.util.Hashtable tableKeys,
int index)
This method sets the keys in the table records. |
void |
setOthersParentKeys(java.util.Hashtable otherKeys)
Deprecated. |
void |
setParentKeyValue(java.lang.Object value)
Deprecated. |
void |
setParentKeyValues(java.util.Hashtable parentKeyValues)
|
void |
setQueryInsertMode()
|
void |
setQueryMode()
|
void |
setResourceBundle(java.util.ResourceBundle res)
Sets the language resource bundle. |
void |
setUpdateMode()
|
void |
showDetailForm()
|
void |
showForm(java.lang.String formName)
|
void |
synchronize()
Clear the detail form data cache and set the primary keys of the table again. |
void |
updateDataCacheActualRecord()
|
protected void |
updateFieldsOthersParentKeys()
Deprecated. |
protected void |
updateFieldsParentkeys()
|
protected void |
updateNavigationButtonState()
|
void |
updateUI()
|
protected java.util.Hashtable |
valuesToForm(java.util.Hashtable values)
|
protected java.util.Hashtable |
valuesToTable(java.util.Hashtable values)
|
| Methods inherited from class com.ontimize.gui.container.EJDialog |
askCloseQuestion, dispose, getSizePositionPreference, initWindowListener, isAskOnClose, isAskOnEsc, pack, registerKeyBindings, setAction, setActionForKey, setAskOnClose, setAskOnEsc, setAutoPackOnOpen, setInitialFocus, setSizePositionPreference, setVisible, transparent |
| Methods inherited from class javax.swing.JDialog |
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
| Methods inherited from class java.awt.Dialog |
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
| Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES
protected java.util.Hashtable tableKeys
protected java.util.Vector fieldsKey
protected int vectorIndex
protected Form form
protected java.util.Hashtable data
protected java.lang.Object parentKeyValue
protected java.lang.String parentKeyName
protected java.util.Hashtable otherParentKeys
protected java.util.Hashtable parentkeys
protected Table table
protected java.lang.String title
protected java.awt.CardLayout cardLayout
protected java.util.Hashtable cacheForms
protected boolean dataChangeEventProcessing
public boolean checkDataBeforeClose
protected DetailForm.ActivationFormListener activedFormListener
protected boolean packed
protected java.util.Hashtable codValues
protected java.util.Hashtable reverseCodValues
| Constructor Detail |
public DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys)
public DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
public DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys)
public DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
public DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentKeys)
public DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeys,
java.util.Hashtable codValues)
public DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
public DetailForm(java.awt.Frame f,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
public DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
public DetailForm(java.awt.Dialog d,
java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
public DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentKeys)
public DetailForm(java.lang.String title,
boolean modal,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys,
java.util.Hashtable codValues)
| Method Detail |
protected void initCodValues(java.util.Hashtable codValues)
protected java.lang.String getFormFieldName(java.lang.Object name)
protected java.lang.String getFormFieldName(java.lang.String name)
protected java.lang.String getTableFieldName(java.lang.String name)
protected java.lang.String getTableFieldName(java.lang.Object name)
protected java.util.Hashtable valuesToForm(java.util.Hashtable values)
protected java.util.Hashtable valuesToTable(java.util.Hashtable values)
protected java.util.Vector listToForm(java.util.Vector list)
protected void init(java.lang.String title,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
java.lang.Object parentkeyValue,
java.lang.String parentkeyName,
Table sourceTable,
java.util.Hashtable otherParentkeys)
protected void init(java.lang.String title,
Form form,
java.util.Hashtable tableKeys,
java.util.Vector keyFields,
Table sourceTable,
java.util.Hashtable parentkeyValues)
public void showDetailForm()
public void hideDetailForm()
public Table getTable()
public void setKeys(java.util.Hashtable tableKeys,
int index)
tableKeys - index - protected EntityResult query(int index)
public void setInsertMode()
public void setUpdateMode()
public void forceUpdateMode()
public void setQueryInsertMode()
public void setQueryMode()
public java.lang.String getParentKeyName()
public java.lang.Object getParentKeyValue()
protected void updateFieldsOthersParentKeys()
public void resetOthersParentKeys(java.util.Vector otherParentKeys)
otherParentKeys - public void resetParentkeys(java.util.List parentKeys)
protected void updateFieldsParentkeys()
public void setAttributeToFix(java.lang.Object attribute,
java.lang.Object value)
public void setOthersParentKeys(java.util.Hashtable otherKeys)
otherKeys - public void setParentKeyValue(java.lang.Object value)
value - public void setParentKeyValues(java.util.Hashtable parentKeyValues)
public void synchronize()
public java.util.Vector getTextsToTranslate()
Internationalization
getTextsToTranslate in interface Internationalizationpublic void setResourceBundle(java.util.ResourceBundle res)
Internationalization
setResourceBundle in interface Internationalizationres - the new language bundle.public void setComponentLocale(java.util.Locale l)
setComponentLocale in interface Internationalizationpublic void updateUI()
public Form getForm()
protected int getRecordCount()
protected void updateNavigationButtonState()
protected void installButtonsListeners()
protected void processWindowEvent(java.awt.event.WindowEvent e)
processWindowEvent in class EJDialogprotected void processKeyEvent(java.awt.event.KeyEvent e)
processKeyEvent in class EJDialogpublic void changeDynamicForm(java.util.Hashtable dynamicFormData)
public boolean dataWillChange(DataNavigationEvent e)
DataNavigationListener
dataWillChange in interface DataNavigationListenere -
public void dataChanged(DataNavigationEvent e)
DataNavigationListener
dataChanged in interface DataNavigationListenere - public void updateDataCacheActualRecord()
public void centerOnScreen()
public void showForm(java.lang.String formName)
protected void reload(Form f)
public void setEntityName(java.lang.String name)
public void resetEntityName()
public void setCheckDataWhenClose(boolean v)
public boolean getCheckDataBeforeClose()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||