public abstract class ColumnDataListInlay extends AbstractDataListInlay
SimpleDataListFrame
,
Serialized FormAbstractDataListInlay.Owner, AbstractDataListInlay.Variant
MustContainer.Creator
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected RecordSelectTable |
selectTable |
protected RecordSelectTableModel |
selectTableModel |
protected TableIndiv |
tableIndiv |
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 |
---|
ColumnDataListInlay(AbstractDataListInlay.Owner owner)
Constructs a new frame for selecting data.
|
ColumnDataListInlay(AbstractDataListInlay.Owner owner,
AbstractDataListInlay.Variant variant)
Constructs a frame for data selection by using a table.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendListEntry()
Adds an entry at the end of the table.
|
protected void |
beginListExtension() |
protected void |
beginListFill()
Dummy due to SimpleDataListFrame.
|
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 TableIndiv |
createTableIndiv()
Returns individual table information.
|
void |
destroy() |
protected void |
endOfListThread()
Called when list thread ends.
|
protected java.lang.String[] |
getColumnNames() |
Identifier[] |
getIdentifiers()
Returns the identifiers of all listed items.
|
java.lang.String |
getItem(int index)
Returns a table row in format columnValue1 / columnValue2 / ...
|
protected int |
getListItemCount()
Returns the number of items in the table.
|
Identifier |
getNextIdentifier(boolean setSelection)
Returns the next item in sequence.
|
Identifier |
getPreviousIdentifier(boolean setSelection)
Returns the previous item in sequence.
|
protected java.lang.Object[] |
getRowObjects()
Returns the column objects to layout one row of the table to provide overview
information, which allows the user to identify the entry.
|
Identifier |
getSelectedIdentifier()
Returns the selected identifier.
|
java.util.Vector<Identifier> |
getSelectedIdentifierAsVector()
Returns the selected identifiers as vector.
|
Identifier[] |
getSelectedIdentifiers()
Returns the selected identifiers.
|
protected int |
getSelectedIndex()
Returns the index of the selected item.
|
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 |
initCalledByColumnDataListArea() |
protected void |
printAsShown(java.lang.String outputFolder)
Prints selected table rows in sort order and column position as shown via HTML.
|
protected void |
printAsShown(java.lang.String outputFolder,
java.lang.String fileName,
java.lang.String title,
java.lang.String generator)
Prints selected table rows in sort order and column position as shown via HTML.
|
protected void |
removeAllOfTheList()
Removes all items of the table.
|
protected void |
repaintSelectTable()
Repaints the select table.
|
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.
|
protected void |
setCellProperty(int column,
CellProperties cellProperties) |
void |
setMaxColumnWidth(int col,
int width)
Sets the maximum column width of a column as specified.
|
void |
setPreferredColumnWidth(int[] columnWidth)
Sets the preferred column width of all columns as specified.
|
void |
setPreferredColumnWidth(java.util.Vector<java.lang.Integer> columnWidth)
Sets the preferred column width of all columns as specified.
|
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, 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 TableIndiv tableIndiv
protected RecordSelectTable selectTable
protected RecordSelectTableModel selectTableModel
public ColumnDataListInlay(AbstractDataListInlay.Owner owner)
ownerFrame
- the frame form where this frame is calledpublic ColumnDataListInlay(AbstractDataListInlay.Owner owner, AbstractDataListInlay.Variant variant)
ownerFrame
- the owner framecolumnNames
- the names of the columns to be shown in the overview.
The number of columns must fit to the number of objects requested in
getRowObjects()
getRowObjects()
protected final void initCalledByAbstractDataListArea()
initCalledByAbstractDataListArea
in class AbstractDataListInlay
protected TableIndiv createTableIndiv()
protected java.lang.String[] getColumnNames()
protected abstract void initCalledByColumnDataListArea()
public void setPreferredColumnWidth(java.util.Vector<java.lang.Integer> columnWidth)
columnWidth
- the Integer Vector of column widths to usepublic void setPreferredColumnWidth(int[] columnWidth)
columnWidth
- the array of column widths to usepublic void setMaxColumnWidth(int col, int width)
col
- the column whose width shall be setwidth
- the new width of the columnprotected final void clearSelection()
clearSelection
in class AbstractDataListInlay
protected final void removeAllOfTheList()
removeAllOfTheList
in class AbstractDataListInlay
protected void beginListFill()
beginListFill
in class AbstractDataListInlay
AbstractDataListInlay.completeListFill()
protected void beginListExtension()
beginListExtension
in class AbstractDataListInlay
protected void completeListFill()
AbstractDataListInlay
completeListFill
in class AbstractDataListInlay
AbstractDataListInlay.beginListFill()
public Identifier getSelectedIdentifier()
getSelectedIdentifier
in class AbstractDataListInlay
public Identifier[] getSelectedIdentifiers()
getSelectedIdentifiers
in class AbstractDataListInlay
public java.util.Vector<Identifier> getSelectedIdentifierAsVector()
public final java.lang.String getSelectedItem()
getSelectedItem
in class AbstractDataListInlay
public java.lang.String getItem(int index)
index
- the index of the row to formatpublic java.lang.String[] getSelectedItems()
AbstractDataListInlay
getSelectedItems
in class AbstractDataListInlay
public boolean hasNext()
NextPreviousSupporter
public Identifier getNextIdentifier(boolean setSelection)
NextPreviousSupporter
public Identifier getPreviousIdentifier(boolean setSelection)
NextPreviousSupporter
protected void requestListingFocus()
requestListingFocus
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 void appendListEntry()
appendListEntry
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 int getListItemCount()
getListItemCount
in class AbstractDataListInlay
public Identifier[] getIdentifiers()
getIdentifiers
in class AbstractDataListInlay
protected void beginOfListThread()
beginOfListThread
in class AbstractDataListInlay
protected void endOfListThread()
AbstractDataListInlay
endOfListThread
in class AbstractDataListInlay
protected void repaintSelectTable()
protected java.lang.Object[] getRowObjects()
protected void setCellProperty(int column, CellProperties cellProperties)
protected void printAsShown(java.lang.String outputFolder)
outputFolder
- the output folderprotected void printAsShown(java.lang.String outputFolder, java.lang.String fileName, java.lang.String title, java.lang.String generator)
outputFolder
- the output folderfileName
- the output file name without extensiontitle
- the title of HTML file (tab name)generator
- the name of the generator (application name)public void destroy()
destroy
in class AbstractDataListInlay
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de