Ontimize 5.2072EN

com.ontimize.gui
Class DetailForm

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended bycom.ontimize.gui.container.EJDialog
                          extended bycom.ontimize.gui.DetailForm
All Implemented Interfaces:
javax.accessibility.Accessible, DataNavigationListener, java.util.EventListener, java.awt.image.ImageObserver, Internationalization, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class DetailForm
extends EJDialog
implements Internationalization, DataNavigationListener

Form that is shown when user makes double click in a table component

Version:
1.2 15/06/2001
See Also:
Serialized Form

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

M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES

public static final java.lang.String M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES
See Also:
Constant Field Values

tableKeys

protected java.util.Hashtable tableKeys

fieldsKey

protected java.util.Vector fieldsKey

vectorIndex

protected int vectorIndex

form

protected Form form

data

protected java.util.Hashtable data

parentKeyValue

protected java.lang.Object parentKeyValue
Deprecated.  


parentKeyName

protected java.lang.String parentKeyName
Deprecated.  


otherParentKeys

protected java.util.Hashtable otherParentKeys
Deprecated.  


parentkeys

protected java.util.Hashtable parentkeys

table

protected Table table

title

protected java.lang.String title

cardLayout

protected java.awt.CardLayout cardLayout

cacheForms

protected java.util.Hashtable cacheForms

dataChangeEventProcessing

protected boolean dataChangeEventProcessing

checkDataBeforeClose

public boolean checkDataBeforeClose

activedFormListener

protected DetailForm.ActivationFormListener activedFormListener

packed

protected boolean packed

codValues

protected java.util.Hashtable codValues

reverseCodValues

protected java.util.Hashtable reverseCodValues
Constructor Detail

DetailForm

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)

DetailForm

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)

DetailForm

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)

DetailForm

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)

DetailForm

public DetailForm(java.lang.String title,
                  boolean modal,
                  Form form,
                  java.util.Hashtable tableKeys,
                  java.util.Vector keyFields,
                  Table sourceTable,
                  java.util.Hashtable parentKeys)

DetailForm

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)

DetailForm

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)
Deprecated.  


DetailForm

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)
Deprecated.  


DetailForm

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)
Deprecated.  


DetailForm

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)
Deprecated.  


DetailForm

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)
Deprecated.  


DetailForm

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)
Deprecated.  

Method Detail

initCodValues

protected void initCodValues(java.util.Hashtable codValues)

getFormFieldName

protected java.lang.String getFormFieldName(java.lang.Object name)

getFormFieldName

protected java.lang.String getFormFieldName(java.lang.String name)

getTableFieldName

protected java.lang.String getTableFieldName(java.lang.String name)

getTableFieldName

protected java.lang.String getTableFieldName(java.lang.Object name)

valuesToForm

protected java.util.Hashtable valuesToForm(java.util.Hashtable values)

valuesToTable

protected java.util.Hashtable valuesToTable(java.util.Hashtable values)

listToForm

protected java.util.Vector listToForm(java.util.Vector list)

init

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.  


init

protected void init(java.lang.String title,
                    Form form,
                    java.util.Hashtable tableKeys,
                    java.util.Vector keyFields,
                    Table sourceTable,
                    java.util.Hashtable parentkeyValues)

showDetailForm

public void showDetailForm()

hideDetailForm

public void hideDetailForm()

getTable

public Table getTable()

setKeys

public void setKeys(java.util.Hashtable tableKeys,
                    int index)
This method sets the keys in the table records.
This keys are used to query the record values

Parameters:
tableKeys -
index -

query

protected EntityResult query(int index)

setInsertMode

public void setInsertMode()

setUpdateMode

public void setUpdateMode()

forceUpdateMode

public void forceUpdateMode()

setQueryInsertMode

public void setQueryInsertMode()

setQueryMode

public void setQueryMode()

getParentKeyName

public java.lang.String getParentKeyName()
Deprecated.  

Returns:

getParentKeyValue

public java.lang.Object getParentKeyValue()
Deprecated.  


updateFieldsOthersParentKeys

protected void updateFieldsOthersParentKeys()
Deprecated.  


resetOthersParentKeys

public void resetOthersParentKeys(java.util.Vector otherParentKeys)
Deprecated.  

Parameters:
otherParentKeys -

resetParentkeys

public void resetParentkeys(java.util.List parentKeys)

updateFieldsParentkeys

protected void updateFieldsParentkeys()

setAttributeToFix

public void setAttributeToFix(java.lang.Object attribute,
                              java.lang.Object value)

setOthersParentKeys

public void setOthersParentKeys(java.util.Hashtable otherKeys)
Deprecated.  

Parameters:
otherKeys -

setParentKeyValue

public void setParentKeyValue(java.lang.Object value)
Deprecated.  

Parameters:
value -

setParentKeyValues

public void setParentKeyValues(java.util.Hashtable parentKeyValues)

synchronize

public void synchronize()
Clear the detail form data cache and set the primary keys of the table again.
In this way all queries are executed when user uses the form navigation buttons.


getTextsToTranslate

public java.util.Vector getTextsToTranslate()
Description copied from interface: Internationalization
Returns all the texts in the element suitable for being translated.

Specified by:
getTextsToTranslate in interface Internationalization
Returns:
all the texts in the element suitable for being translated.

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle res)
Description copied from interface: Internationalization
Sets the language resource bundle. When the application changes the configured language, for all the objects that implement this interface this method must be called with the new file.
The method must translate all the elements that have texts in the GUI

Specified by:
setResourceBundle in interface Internationalization
Parameters:
res - the new language bundle.

setComponentLocale

public void setComponentLocale(java.util.Locale l)
Specified by:
setComponentLocale in interface Internationalization

updateUI

public void updateUI()

getForm

public Form getForm()

getRecordCount

protected int getRecordCount()

updateNavigationButtonState

protected void updateNavigationButtonState()

installButtonsListeners

protected void installButtonsListeners()

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
Overrides:
processWindowEvent in class EJDialog

processKeyEvent

protected void processKeyEvent(java.awt.event.KeyEvent e)
Overrides:
processKeyEvent in class EJDialog

changeDynamicForm

public void changeDynamicForm(java.util.Hashtable dynamicFormData)

dataWillChange

public boolean dataWillChange(DataNavigationEvent e)
Description copied from interface: DataNavigationListener
Called when a form is going to change the status. In order to allow the change, this method must return true.

Specified by:
dataWillChange in interface DataNavigationListener
Parameters:
e -
Returns:
true if the change can be done; false otherwise

dataChanged

public void dataChanged(DataNavigationEvent e)
Description copied from interface: DataNavigationListener
Notifies that the data in the form has changed.

Specified by:
dataChanged in interface DataNavigationListener
Parameters:
e -

updateDataCacheActualRecord

public void updateDataCacheActualRecord()

centerOnScreen

public void centerOnScreen()

showForm

public void showForm(java.lang.String formName)

reload

protected void reload(Form f)

setEntityName

public void setEntityName(java.lang.String name)

resetEntityName

public void resetEntityName()

setCheckDataWhenClose

public void setCheckDataWhenClose(boolean v)

getCheckDataBeforeClose

public boolean getCheckDataBeforeClose()

Ontimize