public class FormExt extends Form
| Modifier and Type | Class and Description |
|---|---|
protected class |
FormExt.PrintingSetupWindow |
Form.Act, Form.ComponentConstraints, Form.FocusComparableComponent, Form.FormButton, Form.FormTitleLabel, Form.HelpPopup, Form.PermissionAction, Form.SelColumnsDialog, Form.StatusBar, Form.TableButton, Form.TableButtonIconJPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fireNavigationEvents
Conditions for dispatch the navigation events
|
static String |
INFO_PRINTING_SETUP_WINDOW_KEY
GUI Text
|
protected Vector |
queryRecordIndex
A list with the record indexes which has been queried
|
static String |
TITLE_PRINTING_SETUP_WINDOW_KEY
GUI Text
|
acceptButtonKey, accessFormComponentList, additionalTableViewColumns, associatedNode, associatedPath, attachment, ATTACHMENT, ATTACHMENT_COLUMNS_KEYS, ATTACHMENT_DATE, ATTACHMENT_ENTITY_NAME, ATTACHMENT_ID, ATTACHMENT_KEYS, ATTACHMENT_SOURCE_TABLE, attachmentButton, attachmentEntity, attachmentIcon, bodyPanel, borderbuttons, buttonList, buttonPanel, buttonPanelObjects, buttons, BUTTONS, cancelButtonKey, checkModifiedFieldList, clearDataFieldButton, COLLAPSIBLE_KEY, COLUMNS, componentList, CONFIRMATION, CORRECT, cTitleForeground, currencyComponentsList, currentIndex, currentTitle, CUSTOMFOCUS, DATABASE_BUNDLE, databaseBundle, databaseBundleButton, databaseBundleIcon, dataComponentList, dataNavigationListeners, dataRecordListeners, DEFAULT_ATTACHMENT, DEFAULT_DATABASE_BUNDLE, DEFAULT_FORM_MARGIN, DEFAULT_SCRIPT_ENABLED, DEFAULT_TABLEVIEW_MULTIPLEDATA, DEFAULT_TEMPLATES, defaultBorderButtons, defaultButtonPanelPosition, defaultButtonPosition, defaultFormButtonSize, defaultOpaqueButtons, defaultPermissionButton, defaultScriptButtonTip, defaultTableViewMinRowHeight, deleteButtonText, descendentOrderKey, DESCRIPTION_FILE, detailForm, dialog, DOCX_TEMPLATES, dynamicFormManager, enabledPermission, endButton, endButtonListener, endIcon, ENTITY, entityName, ePrintingTemplate, ERROR_MESSAGE, f11Button, f12Button, f7Button, f9Button, FIELD_NOT_FOUND, FILE_NAME, fileName, FORM, FORM_DATA, FORMBODYPANEL, formBuilder, FORMBUTTONPANEL, formManager, FORMSCROLLPANE, formTitleLabel, groupDataComponentList, headButtonKey, HELP_ID, helpButton, helpId, helpIdButton, helpKey, HELPKEY, helpPopup, INFORMATION_MESSAGE, INPUT, interactionManager, internationalizeList, keys, KEYS, listenerHighlightButtons, locale, M_RELOAD_FORM, MESSAGE, messageAddTemplate, messageCreateDocxTemplate, messageCreateOpenOfficeTemplate, messageCreateWordTemplate, messageDeletedTemplate, messageEmptyTemplate, messageErrorGeneratePDF, messageErrorInsert, messageHelpTemplate, messageInfoTemplate, messageInsertionSucessful, messageNameFieldTemplate, messageQueryDeleted, messageWindow, modalDialogTitleKey, MULTIPLE_DATA, multipleData, newButtonPanel, nextButton, nextButtonListener, nextIcon, NO, NOT_DATEDATAFIELD, opaquebuttons, orderAscendingKey, orderIcon, orderWindowTitleKey, ORIGINAL_FILE_NAME, originalButtonPosition, originalTitle, PARENT_KEYS, parentFrame, parentKeys, parentKeyValue, PERMISSION_BUTTON, permissionButton, permissionButtonApplicationPermission, permissionButtonEnabled, previousButton, previousButtonListener, previousIcon, PRINTABLE, printButton, printIcon, printingTemplateName, printListener, printTemplateButton, PRIVATE_ATTACHMENT, QUESTION_MESSAGE, refreshButton, refreshButtonListener, refreshIcon, RELOAD_BUTTON_VISIBLE, reloadButton, RESOURCES, resourcesFile, resourcesFileName, restricted, resultCountLabel, SCRIPT_ENABLED, scriptButton, scriptEnabled, scriptIcon, SCROLL, scrollPanel, selColumnsDialog, SET_VALUE_ORDER, setValuesOrder, SIZE, startButton, startButtonListener, startIcon, STATUS, STATUS_KEY, statusBar, subForm, table, TABLE_VIEW_SCROLL_H, tableButton, tableButtonListener, tableViewColumns, tableViewMinRowHeight, tableWindow, tableWindowKey, tabPane, TEMPLATE, TEMPLATE_DEFAULT, TEMPLATE_FORM, TEMPLATE_ID, TEMPLATE_NAME, TEMPLATE_PRIVATE, TEMPLATE_USER, TEMPLATE_WAREHOUSE, templateList, templates, TEMPLATES, TIP_TABLEVIEW_SAVEPREFERENCE, TITLE, TITLE_ON_TOP, titleBackgroundPaint, totalDataList, toUppercaseTitle, useModifiedFocusOrder, useOriginalButtonPosition, USER, vectorSize, visiblePermission, WARNING_MESSAGE, WORD_TEMPLATES, xmlEntityName, YESaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDEBUG_LANGUAGEEURO, PSTDESACTIVATE_COMPONENT_BY_PERMISSION_TIPNO_SUCH_PAGE, PAGE_EXISTSABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
FormExt(Hashtable parameters)
Creates a Form instance with the parameters establishes in
Hastable |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRecordFromFormCache(int index)
Deletes the record with this index from form cache
|
protected boolean |
existNoQueriedDataField()
Checks whether exist data fields that haven't been queried
|
protected void |
freeFormCache() |
Vector |
getAttributesToQuery()
Gets the attribute list that be used to perform the query.
|
protected void |
installButtonListeners()
Installs the navigation listeners
|
void |
printMultipleRecords(Hashtable keysValues)
Shows a window where the column list to print can be selected in.
|
void |
refreshCurrentDataRecord()
Refreshes the current data record that is displayed in the form, both the
record of the total data cache and all values that are displayed in each
data field.
|
protected void |
updateDataFields_Internal(int index)
Updates the form data field using the values stored in total data cache.
|
void |
updateDataFields(Hashtable data)
Updates the values of each form data field and the values of the total
data cache with the entry parameter.
|
void |
updateDataFields(Hashtable data,
int currentIndex)
Updates the values of each form data field and the values of the total
data cache with the data entry parameter.
|
protected void |
updateNavigationButtonState()
Updates the navigation button state depending on the current record index
and the total record count.
|
add, addColumnsToTableView, addComponentsToButtonPanel, addComponentsToInternationalizeList, addControls, addDataNavigationListener, addDataRecordListener, checkAccessPermission, checkApplicationBundleButton, checkApplicationPermissionButton, checkApplicationScriptButton, checkModifiedData, clearNotQueriedTabs, configureButton, createLists, createTableViewTable, deleteDataComponentList, deleteDataField, deleteDataFields, deleteDataFields, disableButton, disableButtons, disableDataField, disableDataField, disableDataFields, disableDataFields, disableHyperlinkComponents, disableSubForms, disableTables, enableButton, enableButtons, enableDataField, enableDataField, enableDataFields, enableDataFields, enableHyperlinkComponents, enableTables, existEmptyRequiredDataField, fillDocComb, fillDocSust, fillODT, fillPDF, finalize, findComponentInContainer, findComponentInTab, findVisibleComponentInContainer, fireDataChanged, fireDataRecordChange, fireDataWillChange, free, getArchiveName, getAssociatedNode, getAssociatedTreePath, getAttributeName, getBodyPanel, getButton, getButtonList, getButtonPanel, getButtons, getComponentList, getComponentsAndLabelsListInOrderTopDown, getComponentsInOrderFocus, getComponentsInOrderFocusInBody, getConstraints, getCurrentIndex, getDatabaseBundleButton, getDataComponentList, getDataComponents, getDataFieldAttributeList, getDataFieldReference, getDataFieldTemplateValues, getDataFieldText, getDataFieldText, getDataFieldText, getDataFieldValue, getDataFieldValueFromFormCache, getDataFieldValues, getDataFieldValues, getDataList, getDefaultColorTitle, getDefaultTitlePaint, getDefaultXMLTemplate, getDeleteButtonKey, getDetailComponent, getDynamicFormManager, getElementReference, getEmptyRequiredDataField, getEntityName, getFormCacheSize, getFormManager, getFormTitle, getGroupReference, getHelpIdString, getIndex, getInsertButtonKey, getInteractionManager, getJDialog, getKeys, getLayout, getLocationInForm, getNotQueriedDataFieldAttributes, getParentFrame, getParentKeys, getParentKeyValue, getParentKeyValues, getPermissionButton, getPrintingTemplateName, getQueryButtonKey, getResourceBundle, getResourceFileName, getScriptButton, getScrollPane, getSetValuesOrder, getSizeDialogPreferenceKey, getStatusBar, getSubForm, getTableFromTableView, getTableViewPreferenceKey, getTextsToTranslate, getTranslatedDataFieldLabel, getUpdateButtonKey, getVisibleDataComponentAttributes, hasDataAllFields, hideButton, hideDataField, hideElement, init, initPermissions, initPreferences, installAttachmentButton, installDatabaseBundleButton, installHelpId, installPermissionButton, installPrintingTemplatesButton, installScriptButton, isCreatedCheckModifiedFieldList, isCustomFocusEnabled, isEmpty, isFocusCycleRoot, isFocusTraversable, isRestricted, loadTableViewPreference, message, message, message, message, message, message, message, message, message, message, message, message, message, message, message, print, printingFormWithDefaultTemplate, printTemplate, printTemplate, processCollapsibleButton, putInModalDialog, putInModalDialog, putInModalDialog, putInModalDialog, putInModalDialog, putInModalDialog, putInModalDialog, query, query, query, question, question, registerApplicationPreferencesListener, registerKeyBindings, remove, removeDataRecordListener, requestDefaultFocus, requestFocusForFirstComponent, resetEntityName, resetFocusOrder, resetTableViewColumns, saveTableViewPreferenceForm, scanComponents, selectTableViewColumns, setAdvancedQueryMode, setAdvancedQueryModeAll, setAllModificable, setAssociatedNode, setCheckModifiedData, setCheckModifiedDataField, setComponentLocale, setCurrentDate, setCurrentIndex, setDataFieldValue, setDataFieldValues, setDataFieldValueToFormCache, setDefaultColorTitle, setDefaultTitlePaint, setDetailForm, setDynamicFormManager, setEntityName, setFileName, setFormBuilder, setFormManager, setFormTitle, setFormValues, setInteractionManager, setLinkedTreePath, setModifiable, setNormalConfiguration, setParentFrame, setParentKeys, setParentKeyValue, setParentKeyValues, setRequired, setResourceBundle, setStatusBarText, setStatusBarText, setTabEnabled, setTabEnabled, setTabVisible, setTabVisible, showAvaliableFonts, showButton, showCurrencyValue, showDataField, showElement, showMe, showTableView, supportsEuroSymbol, unregisterKeyBindings, updateDataFieldNavegationButton, updateDataFields, updateDataFieldsEDTh, updateDataListDataCurrentRecord, updateDataListDataCurrentRecord, updateReferencesLocator, useFontgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, getRootPane, 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, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, 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, updateadd, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, 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, getFocusCycleRootAncestor, 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, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitisEnabled, setEnabled, setVisiblepublic static final String TITLE_PRINTING_SETUP_WINDOW_KEY
public static final String INFO_PRINTING_SETUP_WINDOW_KEY
protected boolean fireNavigationEvents
protected Vector queryRecordIndex
protected void installButtonListeners()
protected void freeFormCache()
protected void updateNavigationButtonState()
public void updateDataFields(Hashtable data)
FormHashtable whose keys are the data field attributes and the
values are a Vector with the data for this attribute. If the
Vector has more than one record the first record will be
displayed.updateDataFields in class Formprotected void updateDataFields_Internal(int index)
FormupdateDataFields_Internal in class Formindex - a index of the data record for update.public Vector getAttributesToQuery()
protected boolean existNoQueriedDataField()
public void refreshCurrentDataRecord()
FormrefreshCurrentDataRecord in class Formpublic void printMultipleRecords(Hashtable keysValues)
keysValues - a Hashtable with the record keys to be printed.public void updateDataFields(Hashtable data, int currentIndex)
FormHashtable of which keys are the data field attributes and
the values are a Vector with the data for this attribute. If
the Vector has more than one record the record with index as
currentIndex will be displayed.updateDataFields in class Formpublic void deleteRecordFromFormCache(int index)
FormdeleteRecordFromFormCache in class Formindex - index of the record to be deletedCopyright © 2016 Imatia Innovation S.L.. All rights reserved.