public class FText extends FTextInputComponent implements java.awt.event.KeyListener, FormElementWithDisplayPropertyI
Modifier and Type | Field and Description |
---|---|
static java.util.LinkedHashMap |
myActions |
static java.util.HashMap |
myAttributes |
static java.util.HashMap |
myElements |
XMLConfigureInfo
inhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND
Constructor and Description |
---|
FText(FormContextI _ftx,
electric.xml.Element _confroot) |
FText(FormContextI _ftx,
electric.xml.Element _confroot,
boolean _skipBuilding) |
Modifier and Type | Method and Description |
---|---|
boolean |
action_showTranslationPopup_available() |
boolean |
action_showTranslationPopup_enabled() |
void |
action_showTranslationPopup(FormAction _action) |
void |
buildGUI() |
java.lang.Object |
calculateDisplayValue(AsyncRefreshRequestI r)
Calculates the value to display and possibly some settings for the
component.
|
void |
close() |
java.util.HashMap |
getAttributeMap() |
java.util.LinkedHashMap |
getDefaultActionMap() |
java.lang.String |
getDisplayProperty() |
java.lang.String |
getDisplayValue(AttributeI att,
BO bo) |
java.util.HashMap |
getElementMap() |
javax.swing.JComponent |
getJComponent() |
javax.swing.text.JTextComponent |
getTextComponent() |
void |
handleClassA(electric.xml.Attribute a) |
void |
handleDisabledA(electric.xml.Attribute a) |
void |
handleDisplayFormatA(electric.xml.Attribute a) |
void |
handleDisplayPropertyA(electric.xml.Attribute a) |
void |
handleFontA(electric.xml.Attribute a) |
void |
handleForegroundA(electric.xml.Attribute a) |
void |
handleFormatA(electric.xml.Attribute a) |
void |
handleInputFormatE(electric.xml.Element e) |
void |
handleLineWrapA(electric.xml.Attribute a) |
void |
handlePasswordA(electric.xml.Attribute a) |
void |
handleRoundingFormatA(electric.xml.Attribute a) |
void |
handleRowsA(electric.xml.Attribute a) |
void |
handleSyncOnWaitA(electric.xml.Attribute a) |
void |
handleSyncOnWaitDelayA(electric.xml.Attribute a) |
void |
handleTabSizeA(electric.xml.Attribute a) |
void |
handleTranslationAvailableA(electric.xml.Attribute a) |
void |
handleWrapStyleWordA(electric.xml.Attribute a) |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
lockDisplayValue() |
void |
registerActionImpl(FormAction a) |
void |
renderDisplayValue(AsyncRefreshRequestI r,
java.lang.Object displayValue)
Will be executed on EDT, displayValue is either the value returned from
calculateDisplayValue() or a caught Exception.
|
void |
restoreLockstateOfDisplayValue() |
void |
setBOValue(AttributeI att,
BO bo,
java.lang.String dt) |
void |
syncImpl() |
void |
updateIconPanel() |
_setText, disable, enable, focusGained, focusLost, getAlign, getColumns, getExplicitNullProperty, getFallbackProperty, getFontSize, getFontStyle, getInitialFocus, getProperty, getSelectedText, getSelectionEnd, getSelectionStart, getText, handleAlignA, handleAttributes, handleColumnsA, handleSelectAllWhenFocusedA, hasFocus, isSelectAllWhenFocused, postRefresh, postRefresh, refresh, refresh, requestFocusInWindow, selectAll, selectNone, setAlign, setColumns, setEditable, setEditable, setEnabled, setEnabled, setExplicitNullProperty, setFallbackProperty, setFontSize, setFontStyle, setProperty, setSelectAllWhenFocused, setText, setText, updateEditableStatus, updateEditableStatus
calculateMandatory, getAlsoMandatoryIf, handleAlsoMandatoryIfE
_refreshActions, action_editForm_available, action_editForm_enabled, action_editForm, action_refreshView_available, action_refreshView, action_reopenView_available, action_reopenView_enabled, action_reopenView, addBeanA, addFormElementListener, addHandleA, addHandleE, afterSave, afterSetValue, assureTransferHandler, beforeSave, beforeSetValue, calculationMightBeExpensive, callLog, cancelPendingRefreshRequests, checkEditable, checkVisible, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getActionsOfKind, getBO, getConfRoot, getCtx, getDebugName, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleElement, handleElements, handleElements, handleElements, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleNewElement, handleNewElement, handleNewElement, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, handleVisibleIfE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refreshActions, refreshActions, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefresh
getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexture
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, 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, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, 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, 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, transferFocusUpCycle
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getActionsOfKind, getConfRoot, getCtx, getDebugName, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isClosed, isDebug, isEditable, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postInit, postRefresh, refresh, refresh, removeFormElementListener, requestFocus, setEditable, sync, willCareForChildActions, willCareForChildRefresh
public static java.util.HashMap myAttributes
public static java.util.HashMap myElements
public static java.util.LinkedHashMap myActions
public FText(FormContextI _ftx, electric.xml.Element _confroot)
public FText(FormContextI _ftx, electric.xml.Element _confroot, boolean _skipBuilding)
public javax.swing.text.JTextComponent getTextComponent()
getTextComponent
in class FTextInputComponent
public javax.swing.JComponent getJComponent()
getJComponent
in class FTextInputComponent
public java.lang.String getDisplayProperty()
getDisplayProperty
in interface FormElementWithDisplayPropertyI
public void close()
close
in interface FormElementI
close
in class FTextInputComponent
public void buildGUI()
public void registerActionImpl(FormAction a)
registerActionImpl
in class FPanel
public void updateIconPanel()
public void handleDisabledA(electric.xml.Attribute a)
public void handlePasswordA(electric.xml.Attribute a)
public void handleLineWrapA(electric.xml.Attribute a)
public void handleWrapStyleWordA(electric.xml.Attribute a)
public void handleFontA(electric.xml.Attribute a)
public void handleTabSizeA(electric.xml.Attribute a)
public void handleClassA(electric.xml.Attribute a)
public void handleDisplayPropertyA(electric.xml.Attribute a)
public void handleRowsA(electric.xml.Attribute a)
public void handleFormatA(electric.xml.Attribute a)
public void handleDisplayFormatA(electric.xml.Attribute a)
public void handleRoundingFormatA(electric.xml.Attribute a)
public void handleForegroundA(electric.xml.Attribute a)
public void handleInputFormatE(electric.xml.Element e)
public void handleSyncOnWaitA(electric.xml.Attribute a)
public void handleSyncOnWaitDelayA(electric.xml.Attribute a)
public void handleTranslationAvailableA(electric.xml.Attribute a)
public java.util.HashMap getAttributeMap()
getAttributeMap
in interface FormElementI
getAttributeMap
in class FInputPanel
public java.util.HashMap getElementMap()
getElementMap
in interface FormElementI
getElementMap
in class FInputPanel
public java.util.LinkedHashMap getDefaultActionMap()
getDefaultActionMap
in class FInputPanel
public java.lang.Object calculateDisplayValue(AsyncRefreshRequestI r)
calculateDisplayValue
in interface AsyncRefreshExecutorI
public void renderDisplayValue(AsyncRefreshRequestI r, java.lang.Object displayValue)
renderDisplayValue
in interface AsyncRefreshExecutorI
public void lockDisplayValue()
lockDisplayValue
in interface AsyncRefreshExecutorI
public void restoreLockstateOfDisplayValue()
restoreLockstateOfDisplayValue
in interface AsyncRefreshExecutorI
public java.lang.String getDisplayValue(AttributeI att, BO bo)
public void setBOValue(AttributeI att, BO bo, java.lang.String dt)
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void action_showTranslationPopup(FormAction _action)
public boolean action_showTranslationPopup_available()
public boolean action_showTranslationPopup_enabled()
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.