public class SearcherDialog extends JotyDialog implements SearcherPanel.SearcherPanelContainer
SearcherPanel
object in its layout.
Its descendant must instantiate a CriteriaPanel object and add it to the SearcherPanel.m_criteriaContainer member layout.
In order the resulting data to have further processing a key must be define in the constructor on the descendant by invoking addLongKeyElem.
The class may equips the data result grid with the ability to open a details
dialog. It is fulfilled by overriding the
JotyDialog.openDetailsDialog()
method in the descendant class,
invoking, there, the openDetailsDialog(JotyDialog dlg)
method with an
instance of the details dialog.
The implementation of the descendant of this class is a good candidate to be
instantiated by the TermContainerPanel.acquireSelectedValueFrom
method.
JotyDialog.CallContext
javax.swing.JDialog.AccessibleJDialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
SearcherPanel |
m_searcherPanel |
m_accessorMode, m_actionEnabled, m_activatedByWindowsMenu, m_app, m_btnCancel, m_btnClose, m_btnOk, m_buttonPane, m_callContext, m_canceling, m_className, m_contentPanel, m_currSheet, m_dataUpdate_pending, m_defaultButton, m_dialogOpeningMode, m_editOrNew_command, m_enforcedVisible, m_entityName, m_frozen, m_gotData, m_gridManager, m_gridSelChanging, m_guiUpdate_pending, m_initAction, m_initializing, m_is_deleting, m_isEntityNamed, m_isViewer, m_keyElems, m_listenForPanelActions, m_needsExplicitCloseCommand, m_new_command, m_newDocument, m_panelsTobeInited, m_parentDataPanel, m_progressiveAction, m_queryBuilder
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
SearcherDialog(java.lang.Object callContext,
java.lang.Object openingMode) |
Modifier and Type | Method and Description |
---|---|
void |
addLongKeyElem(java.lang.String name) |
void |
addStrKeyElem(java.lang.String name) |
protected void |
clearAppReferences() |
JotyButton |
getSelectorButton() |
boolean |
initChildren() |
protected boolean |
initDialog() |
SearcherPanel |
m_searcherPanel() |
void |
openDetailsDialog(JotyDialog dlg) |
void |
searchCallback() |
addIdentifierFromCallerToTitle, afterPerformed, appLang, buildButton, checkAndSetLook, checkEnableAction, checkForHooveringListener, checkForHooveringListener, checkIfFrozen, checkPanelForNewRec, close, closeDependentDialogs, componentsEnabledOnIdle, compoundDocument, contextParameter, create, criticalValidation, dialogStillLives, doActivationChange, getGridManager, getGridManager, getInstance, getInstance, getInstance, getInstance, getMainSetSize, getMode, getSearcherExpandButton, guiDataExch, imageIcon, initContext, IsCreatable, isEditing, isInitializing, isViewer, jotyLang, keyElem, masterGridManager, onCancel, onClose, onOK, openDetailsDialog, perform, preInitChildren, processFault, repaint, resetPanel, setBounds, setContextParam, setContextParam, setContextParam, setEntityName, setIconImages, setToModal, setValidationUncritical, showButton, showButton, showButton, showDirtyEffect, tryCreate, tryCreate, tryCreate, tryCreate, updateCommandButtons
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public SearcherPanel m_searcherPanel
public SearcherDialog(java.lang.Object callContext, java.lang.Object openingMode)
public void addLongKeyElem(java.lang.String name)
public void addStrKeyElem(java.lang.String name)
protected void clearAppReferences()
clearAppReferences
in class JotyDialog
public JotyButton getSelectorButton()
getSelectorButton
in class JotyDialog
public boolean initChildren()
initChildren
in class JotyDialog
protected boolean initDialog()
initDialog
in class JotyDialog
public SearcherPanel m_searcherPanel()
public void openDetailsDialog(JotyDialog dlg)
public void searchCallback()
searchCallback
in interface SearcherPanel.SearcherPanelContainer