public abstract class SimpleDataListInlay extends AbstractDataListInlay
ColumnDataListFrame
,
Serialized FormAbstractDataListInlay.Owner, AbstractDataListInlay.Variant
MustContainer.Creator
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected MustList |
centerList |
associatedPropertyAdministrationInlay, buttonChoose, buttonClose, buttonCopy, buttonDelete, buttonList, buttonNew, buttonPresent, buttonPresentSimple, buttonPrint, buttonProperties, cbVariant, currentAttributeList, currentMaxListEntries, expertSearchTextArea, globalSearchTextField, inquiryHistory, jSplitPane1, lastSelectionIdentifier, LIST_MODIFICATION_APPEND, LIST_MODIFICATION_REMOVE, LIST_MODIFICATION_UPDATE, LIST_REFRESH_OFF, LIST_REFRESH_PROCEEDING, LIST_REFRESH_SUSPENDED, listIndex, listIsToRefresh, listModification, listRefreshState, listScrollPane, listThread, logic, maxListEntries, mustTabbedPane1, owner, panelBottom, panelButtons, panelSelectButtons, panelTop, presentationCreator, presentationInstance, printInstance, refreshCausedByListButton, searchCombination, searchElements, THREAD_MODE_EXTEND, THREAD_MODE_FILL, THREAD_MODE_RESET, threadMode, variant
destroyed, dirty, header, sd, specialImageIcon, statusLabel
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
SimpleDataListInlay(AbstractDataListInlay.Owner owner)
Constructs a new simple data list frame.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendListEntry()
Adds an entry at the end of the list.
|
protected void |
beginListExtension() |
protected void |
beginListFill()
Beginning of list fills into a list model which is not currently assigned
to the view.
|
protected void |
beginOfListThread()
Called when the list thread begins.
|
protected void |
clearSelection()
Clears the selection.
|
protected void |
completeListFill()
Ending of list fills into a list model which is not currently assigned
to the view.
|
protected void |
endOfListThread()
Called when the list thread ends.
|
protected MustButton |
getDefaultButton() |
Identifier[] |
getIdentifiers()
Returns the identifiers of all listed items.
|
protected int |
getListItemCount()
Returns the number of items in the list.
|
Identifier |
getNextIdentifier(boolean setSelection)
Returns the next item in sequence.
|
Identifier |
getPreviousIdentifier(boolean setSelection)
Returns the previous item in sequence.
|
protected abstract java.lang.String |
getRowString()
Returns the row of the list with the overview information, which
allows the user to identify the entry.
|
protected Identifier |
getSelectedIdentifier()
Returns the selected identifier (in case of integer identification).
|
Identifier[] |
getSelectedIdentifiers()
Returns the identifiers (primary keys) of the selected rows.
|
protected int |
getSelectedIndex()
Returns the index of the selected item.
|
protected java.lang.String |
getSelectedItem()
Returns the selected item.
|
java.lang.String[] |
getSelectedItems()
Returns the selected items.
|
protected void |
handleDataChangeIndividually(DataChangedEvent dce)
Called from DataObject when data have been changed.
|
boolean |
hasNext()
Returns true if next item is available.
|
protected void |
initCalledByAbstractDataListArea() |
protected abstract void |
initCalledBySimpleDataListDetailArea() |
protected void |
removeAllOfTheList()
Removes all items of the list.
|
protected void |
requestListingFocus()
Request the focus to the list.
|
protected void |
selectListIndex(int indexToSelect)
Selects the entry of the list with the specified index and ensures, that
the entry is visible by scrolling to the entry.
|
void |
setSelectedIdentifier(Identifier identifier)
Selects an item of the list / a row by identifier.
|
acceptsClosingDueToInactivity, actionPerformed, append, buildStatusLabel, chooseButtonAction, closeInstance, copyButtonAction, createButton, createCheckBox, createCheckBox, createCleartextClassification, createComboBox, createComboBox, createComboBox, createComboBox, createComboBox, createComboBox, createDateField, createDateField, createFragmentExactChoice, createIntField, createIntField, createListDataObjectIfNull, createListDataObjects, createPropertyAdministrationInlay, createRadioButtons, createTextField, createTextField, createTextField, createTextField, createTextFieldForGlobalSearch, createTextFieldForGlobalSearch, createVariableChoice, createVariableChoice, createVariableChoice, createVariableChoice, createWhereCondition, dataChangePerformed, deactivate, delayedInititialActions, delete, deleteButtonAction, destroy, detailClosed, extendList, extendListAsThread, fillList, free, getAdditionalWhereConditionForGlobalSearch, getAssociatedPropertyAdministrationInlay, getDifferingIconName, getElaboratedWhereCondition, getInitialXLocation, getInitialYLocation, getListDataObject, getListModification, getListThreadPriority, getMaxListEntries, getNotFoundNotification, getOrderByFields, getPresentationCreator, getPrintClass, getPrivateWhereConditionNotExpert, getSelectedIdentifierVector, getSelectedTab, getSelectionFields, getTerritory, getTitle, getWhereCondition, getWhereCondtionnForPrepStmts, isChoosingAllowed, isClosingAllowed, isConnectionOpen, isCurrentListingCanceled, isEditable, isInputAccepted, isModificationAllowed, isNewItemCreationAllowed, isRealSearch, listButtonAction, newButtonAction, newDynamicSearchPanel, newDynamicSearchPanel, newPanel, newPanel, newPanel, newPanelWithExpertSearchTextArea, presentButtonAction, printButtonAction, propertyButtonAction, receive, recover, refreshList, refreshList, requestFocusInWindow, reset, resetExtensionMode, resetList, run, select, setAutoInitialListFill, setEditable, setFieldFocus, setInitialXLocation, setInitialYLocation, setListThreadPriority, setMaxListEntries, setOnChoice, setPresentationCreator, setSpecialNewEntryExpression
generalActionBeginnung, generalActionEnding, getAppResStr, getContentPane, getFrame, getHelpTarget, getHelpTopic, getImageIcon, getLocale, getRootPane, getTranslation, isCancelAllowed, isClosingAllowed, register, register, resetMessage, resetTemporaryMessage, setDefaultButton, setHelpContext, setHelpContext, setMessage, setMessageToKeep, setMessageToKeep, setTitle
addAncestorListener, 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, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, update, updateUI
add, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, 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, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, 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, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFrame
protected MustList centerList
public SimpleDataListInlay(AbstractDataListInlay.Owner owner)
ownerFrame
- the owner frameprotected final void initCalledByAbstractDataListArea()
initCalledByAbstractDataListArea
in class AbstractDataListInlay
protected abstract void initCalledBySimpleDataListDetailArea()
protected MustButton getDefaultButton()
protected final void clearSelection()
clearSelection
in class AbstractDataListInlay
protected final void removeAllOfTheList()
removeAllOfTheList
in class AbstractDataListInlay
protected void beginListFill()
AbstractDataListInlay
beginListFill
in class AbstractDataListInlay
AbstractDataListInlay.completeListFill()
protected void beginListExtension()
beginListExtension
in class AbstractDataListInlay
protected void completeListFill()
completeListFill
in class AbstractDataListInlay
beginListFill()
protected final Identifier getSelectedIdentifier()
getSelectedIdentifier
in class AbstractDataListInlay
public Identifier[] getSelectedIdentifiers()
AbstractDataListInlay
getSelectedIdentifiers
in class AbstractDataListInlay
protected final java.lang.String getSelectedItem()
getSelectedItem
in class AbstractDataListInlay
public java.lang.String[] getSelectedItems()
AbstractDataListInlay
getSelectedItems
in class AbstractDataListInlay
protected final int getListItemCount()
getListItemCount
in class AbstractDataListInlay
public Identifier[] getIdentifiers()
getIdentifiers
in class AbstractDataListInlay
protected void handleDataChangeIndividually(DataChangedEvent dce)
AbstractDataListInlay
handleDataChangeIndividually
in class AbstractDataListInlay
dce
- the data change eventDataChangeListener
,
DataObject
public void setSelectedIdentifier(Identifier identifier)
AbstractDataListInlay
setSelectedIdentifier
in class AbstractDataListInlay
identifier
- the identifier of the item to be selectedprotected final void appendListEntry()
appendListEntry
in class AbstractDataListInlay
public boolean hasNext()
NextPreviousSupporter
public Identifier getNextIdentifier(boolean setSelection)
NextPreviousSupporter
public Identifier getPreviousIdentifier(boolean setSelection)
NextPreviousSupporter
protected final void requestListingFocus()
requestListingFocus
in class AbstractDataListInlay
protected final int getSelectedIndex()
getSelectedIndex
in class AbstractDataListInlay
protected final void selectListIndex(int indexToSelect)
selectListIndex
in class AbstractDataListInlay
indexToSelect
- the index of the entry to selectprotected final void beginOfListThread()
beginOfListThread
in class AbstractDataListInlay
protected final void endOfListThread()
endOfListThread
in class AbstractDataListInlay
protected abstract java.lang.String getRowString()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de