public class BrowseFilterEntryField extends FillInGuiImpl
LightweightTextWidget.TextLineSelection
Modifier and Type | Field and Description |
---|---|
private BaseDataType |
backupValue
Backup value saved in order to be compared with the current value in order to determine if
the value has been changed.
|
private BrowseGuiImpl |
browse
Parent browse.
|
private ButtonGuiImpl |
resetToUnkButton
Linked "reset value to unknown" button.
|
disabledFore, disabledForeFixedColor
browseColumn, drawLine, editScroller, justActivated, leftAnchor, rightAnchor, selected, skipCursorActivation, useUnderline
config
location, mousePtr, nativeInsets, physicalLocation
Constructor and Description |
---|
BrowseFilterEntryField(FillInConfig cfg,
BrowseGuiImpl browse)
Creates an entry field using the specified config.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this widget.
|
(package private) ButtonGuiImpl |
getResetToUnknownButton()
Get the linked "reset value to unknown" button.
|
void |
mousePressed(java.awt.event.MouseEvent e)
Notification of a mouse pressed event occurred for this widget.
|
void |
processKeyEvent(KeyInput ke)
Process key events for this widget.
|
(package private) void |
resetValue()
Reset the value of the filter to "unknown value".
|
(package private) void |
saveBackupValue()
Save the current value as the backup value in order to be compared in the future with the
future current value in order to determine if the value has been changed.
|
(package private) void |
setResetToUnknownButton(ButtonGuiImpl resetToUnkButton)
Set linked "reset value to unknown" button.
|
protected java.lang.String |
toScreenValue(DisplayFormat.Presentation presentation)
Formats the data as a string that is ready for display.
|
activate, adjustEditScroller, blankScreenValue, convertToStreamable, createLeftAnchor, createMnemonic, createRightAnchor, display, draw, drawBorder, drawCaret, drawCaretInt, drawCursor, editableNativeDimension, focusAndSelect, getCursorColumnOffset, getCursorRowOffset, getFontCache, getInitialCursorPos, getInsertMode, getLastOffset, getNativeCursorPos, getScreenText, getScreenText, getScrollColumnOffset, getScrollRowOffset, getSelectedText, getTextLookAndFeel, getTextSelection, getValidCursorPos, initialize, initSelection, invalidateSelection, isAutoResize, isCharacterInGui, isDroppable, isRMBEntrySupported, isTextSelectionDisplayed, isZapToBeApplied, mouseActions, mouseClicked, mouseDragged, mouseReleased, mouseWheelMoved, moveCursorToLast, nativeHeight, nativeWidth, nativeWidth, processMnemonic, refresh, removeSelectedText, resetCaret, resetEditScroller, selectAll, setSelection, showPopupMenu, supportsCustomMousePointer, updateCursorOffsetValue, updateSize
activate, adjustCursor, afterConfigUpdate, canMovetoTop, clear, clear, clear, clearWidget, copyState, currentFocus, defaultFocus, draw, fireValueChanged, focusTraversable, getBrowse, getCurrentFormat, getCursorOffset, getDataEntryReturn, getDrawText, getEditScroller, getFirstInGroup, getFormat, getScreenValue, getText, getText, getTriggerWidget, getValue, getVariable, height, isAtField, isDrawLine, isFormatCheck, isInAutoReturn, isLeftEdgeWidget, isLinkedToBrowse, isRightAligned, isRightAlignedInt, isRightEdgeWidget, isSelected, isSelectionValid, isZapActive, refresh, requestFocus, reset, setAttrFormat, setBrowseColumn, setCursorOffset, setDataType, setEnabled, setForceLeft, setForceRight, setFormatCheck, setHeaderParm, setInAutoReturn, setInsertMode, setPendingNoZap, setSize, setTextGroup, setUnderline, setValue, setValue, setZapMode, setZapMode, silentActivation, toString, update, updateSize, updateZapState, validateDisplayValue, width
config, defaultMousePtr, getColon, getColumnLabelText, getColumnMnemonic, getLabelInstance, getLabelText, getMnemonic, getTo, isForceLabel, isModified, isNoLabels, postprocessConfig, setColumnMnemonic, setHidden, setLabelInstance, setMnemonic, setNoLabels, setVisible, setWasVisible, wasVisible
minimumSize, requestFocus
add, add, add, addContainerStateListener, addDirectly, belongsTo, checkWidget, childrenLocation, clipping, clipRectangle, currentFocus, cycleFocus, deregisterSelectedWidget, detach, dimension, doLayout, dumpCurrentWidgets, dumpWidgets, endSizeChange, findMouseSource, firstFocus, focus, focusWorker, formatDump, get, getAllSelectedWidgets, getClipRect, getEffectiveScrollableSize, getFocusInt, getIgnoreFocus, getLayout, getScrollableSize, getTabItemList, hasFocusable, insets, lastFocus, moveAfterTabItem, moveBeforeTabItem, moveToBottom, moveToBottomInClass, moveToTop, moveToTopInClass, moveToZpos, nextFocus, normalizeZOrder, onWidgetAdded, onWidgetRemoved, paintOnTop, parentOf, prepareWidgets, prevFocus, reflectAncestorChange, reflectLocationChange, registerSelectedWidget, remove, removeContainerStateListener, repaint, replace, requestFocus, setFocus, setFocusInt, setHeight, setIgnoreFocus, setInsets, setLayout, setSize, setTabItemList, setWidth, startSizeChange, triggerContainerStateRedrawEnabled, unrealize, updateSizeWorker, widgets, widgetsAsList, widgetStateChanged
_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clipRectangle, clipRectangle, clipWith, copyColors, createMouseHoverAction, deactivateDirectManipulation, debug, disable, disableTooltip, displayPhysicalLocation, enable, enableTooltip, enclosingFrame, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getPortableMouseEventCoordinates, getState, getTextHeight, getTextHeightNative, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hidden, hide, highlighted, ignoreAction, initialHeight, initialWidth, isCurrent, isDirectManipulationActive, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isFocusable, isHeader, isMouseDrag, isRealized, isRepaintDisabled, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, manageSystemActions, mouseEntered, mouseExited, mouseMoved, moveToBottom, moveToTop, name, navigable, oleDoDrop, oleDrag, oleDragging, oleStartDragging, onOleDragging, onOleDropEnd, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, prepParentLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyEventForSelectableWidget, processKeyListeners, processMnemonicImpl, processSystemKey, raiseLegacyMouseEvents, refresh, registerWidgetStateListener, repaint, repaint, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, sync, topLevelWindow, translate, unregisterWidgetStateListener, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
convertToStreamable
editPaste, isEditCanUndo
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, dimension, displayPhysicalLocation, enclosingFrame, enforceDefaultMousePtr, findMouseSource, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getState, getTriggerWidget, getVisiblePart, getZOrderClass, hasFocus, hasFocus, hidden, hide, highlighted, ignoreEnable, initialHeight, initialWidth, insets, isCurrent, isDirectManipulable, isDirectManipulationActive, isDisplayed, isEnabled, isFocusable, isHeader, isInitialValueLayout, isLegacyFocus, isRealized, isRepaintDisabled, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, oleDrag, parent, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyListeners, raiseLegacyMouseEvents, refreshWidget, registerWidgetStateListener, repaint, repaint, repaint, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, systemFocusGrabbed, topLevelWindow, unrealize, unregisterWidgetStateListener, widgetStateChanged, window
getMnemonicCharacter, getMnemonicKeyCode, getMnemonicLabel, isMnemonicSupported, updateMnemonic
widgetsAsList
private final BrowseGuiImpl browse
private ButtonGuiImpl resetToUnkButton
private BaseDataType backupValue
null
if the filter value is not set.BrowseFilterEntryField(FillInConfig cfg, BrowseGuiImpl browse)
cfg
- Config for the created widget.browse
- Parent browse.public void processKeyEvent(KeyInput ke)
processKeyEvent
in interface Widget<GuiOutputManager>
processKeyEvent
in class FillInGuiImpl
ke
- Key event structure.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class FillInGuiImpl
e
- The mouse event.protected java.lang.String toScreenValue(DisplayFormat.Presentation presentation)
toScreenValue
in class FillIn<GuiOutputManager,FillInConfig>
presentation
- Data presentation to be rendered.public void destroy()
destroy
in interface Widget<GuiOutputManager>
destroy
in class LabeledDataContainer<GuiOutputManager,FillInConfig>
void setResetToUnknownButton(ButtonGuiImpl resetToUnkButton)
resetToUnkButton
- Linked "reset value to unknown" button.ButtonGuiImpl getResetToUnknownButton()
null
if there is no linked
button.void saveBackupValue()
void resetValue()