public class FEditor extends FPanel implements javax.swing.event.CaretListener, java.awt.event.MouseWheelListener, InitialFocusCandidateI, MiniLogI, FormElementWithDisplayPropertyI
XMLConfigureInfoinhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEATTOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTALL_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 |
|---|
FEditor(FormContextI _ftx,
electric.xml.Element _confroot) |
FEditor(FormContextI _ftx,
electric.xml.Element _confroot,
java.lang.String displayText) |
| Modifier and Type | Method and Description |
|---|---|
void |
action_decreaseFontSize() |
void |
action_find() |
void |
action_findmore() |
void |
action_goto() |
void |
action_increaseFontSize() |
void |
action_redo() |
void |
action_scrollCurrentLineToBottom() |
void |
action_scrollCurrentLineToTop() |
void |
action_tidyFormCode() |
void |
action_tidyXML() |
void |
action_undo() |
void |
buildGUI() |
void |
caretUpdate(javax.swing.event.CaretEvent e) |
void |
changeFontSize(int diff) |
void |
close() |
void |
debug(java.lang.String t) |
void |
err(java.lang.String t) |
void |
fatal(java.lang.String t) |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this FPanel.
|
java.lang.String |
getDisplayProperty() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
javax.swing.JComponent |
getInitialFocus() |
java.awt.Dimension |
getMaximumSize() |
java.awt.Dimension |
getMinimumSize() |
java.lang.String |
getSelectedText() |
static java.awt.Font |
getStandardEditorFont() |
javax.swing.JComponent |
getTextComponent() |
void |
gotoDocumentEnd() |
void |
gotoLine(int line) |
void |
gotoLine(int line,
boolean noThrow) |
void |
handleColumnsA(electric.xml.Attribute a) |
void |
handleDisplayPropertyA(electric.xml.Attribute a) |
void |
handleElectricScrollA(electric.xml.Attribute a) |
void |
handleFocusableA(electric.xml.Attribute a) |
void |
handleFontSizeA(electric.xml.Attribute a) |
void |
handleMaxLinesA(electric.xml.Attribute a) |
void |
handleMaxUndosA(electric.xml.Attribute a) |
void |
handleModeA(electric.xml.Attribute a) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleRowsA(electric.xml.Attribute a) |
void |
handleTabSizeA(electric.xml.Attribute a) |
void |
handleTextA(electric.xml.Attribute a) |
void |
info(java.lang.String t) |
void |
init() |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e) |
void |
print(java.lang.String t) |
void |
refresh(int from) |
void |
registerActionImpl(FormAction a) |
boolean |
requestFocusInWindow()
Requests that this component gets the keyboard focus, specifically within its own window.
|
void |
scrollCurrentLineToBottom() |
void |
scrollCurrentLineToBottom(int offset) |
void |
scrollCurrentLineToTop() |
void |
scrollCurrentLineToTop(int offset) |
void |
scrollFirstLineTo() |
void |
scrollFirstLineTo(int line) |
void |
setDisplayProperty(java.lang.String $13) |
boolean |
setEditable(boolean b) |
void |
setSelectedText(java.lang.String s) |
void |
setStatus(int row,
int col) |
void |
setText(java.lang.String s) |
void |
syncImpl() |
void |
trace(java.lang.String t) |
void |
updateEditableStatus() |
void |
updateEditableStatus(boolean otherConstraint) |
void |
warn(java.lang.String t) |
_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, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleAttributes, 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, postRefresh, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refreshActions, refreshActions, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, paintComponent, setScrollingMode, setTexturegetAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, 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, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, 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, validateaction, 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, 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, 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, transferFocusUpCycleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFormElementListener, 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, removeFormElementListener, requestFocus, sync, toDebugName, willCareForChildActions, willCareForChildRefreshpublic FEditor(FormContextI _ftx, electric.xml.Element _confroot)
public FEditor(FormContextI _ftx, electric.xml.Element _confroot, java.lang.String displayText)
public void close()
close in interface FormElementIclose in class FPanelpublic void buildGUI()
public void registerActionImpl(FormAction a)
registerActionImpl in class FPanelpublic void handlePropertyA(electric.xml.Attribute a)
public void handleDisplayPropertyA(electric.xml.Attribute a)
public void handleColumnsA(electric.xml.Attribute a)
public void handleRowsA(electric.xml.Attribute a)
public void handleModeA(electric.xml.Attribute a)
public void handleFontSizeA(electric.xml.Attribute a)
public void handleTabSizeA(electric.xml.Attribute a)
public void handleMaxLinesA(electric.xml.Attribute a)
public void handleElectricScrollA(electric.xml.Attribute a)
public void handleFocusableA(electric.xml.Attribute a)
public void handleMaxUndosA(electric.xml.Attribute a)
public void handleTextA(electric.xml.Attribute a)
public void init()
init in class de.ipcon.swing.IPanelpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic boolean setEditable(boolean b)
setEditable in interface FormElementIsetEditable in class FPanelpublic void updateEditableStatus()
public void updateEditableStatus(boolean otherConstraint)
public void setText(java.lang.String s)
public java.lang.String getSelectedText()
public void setSelectedText(java.lang.String s)
public java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FPanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FPanelpublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FPanelpublic void caretUpdate(javax.swing.event.CaretEvent e)
caretUpdate in interface javax.swing.event.CaretListenerpublic void setStatus(int row,
int col)
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouseWheelMoved in interface java.awt.event.MouseWheelListenerpublic void scrollCurrentLineToTop()
public void scrollCurrentLineToTop(int offset)
public void scrollCurrentLineToBottom()
public void scrollCurrentLineToBottom(int offset)
public void scrollFirstLineTo()
public void scrollFirstLineTo(int line)
public javax.swing.JComponent getTextComponent()
public void print(java.lang.String t)
public void gotoDocumentEnd()
public void gotoLine(int line)
public void gotoLine(int line,
boolean noThrow)
public void action_goto()
public void action_find()
public void action_findmore()
public void action_undo()
public void action_redo()
public void action_tidyXML()
public void action_tidyFormCode()
public void action_increaseFontSize()
public void action_decreaseFontSize()
public void changeFontSize(int diff)
public void action_scrollCurrentLineToTop()
public void action_scrollCurrentLineToBottom()
public javax.swing.JComponent getInitialFocus()
getInitialFocus in interface InitialFocusCandidateIpublic boolean requestFocusInWindow()
FPanelThis method overrides JComponent.requestFocusInWindow() and delegates
to the more specific FPanel.requestFocusInWindow(boolean) with "temporary" set to false.
requestFocusInWindow in class FPaneltrue if the focus request is likely to be granted, false otherwise.public static java.awt.Font getStandardEditorFont()
public java.awt.Dimension getMinimumSize()
getMinimumSize in class FPanelpublic java.awt.Dimension getMaximumSize()
getMaximumSize in class FPanelpublic java.lang.String getDisplayProperty()
getDisplayProperty in interface FormElementWithDisplayPropertyIpublic void setDisplayProperty(java.lang.String $13)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.