public class ListInlay extends InputInlay implements MustTableCellRenderer.AdditionalRendering, NextPreviousSupporter
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected MustButton |
buttonChoose |
protected MustButton |
buttonCopy |
protected MustButton |
buttonDelete |
protected MustButton |
buttonPresent |
protected MustButton |
buttonPrint |
protected MustButton |
buttonProperties |
protected boolean |
currentlyExtending |
protected boolean |
furtherRowAvailable |
protected SearchListDetailGroup |
group |
protected RecordSelectTableModel |
selectTableModel |
additionalButton, attributeList, attrListScroll, currentComboBox, detailComponent, messageReceiver, mustTabbedPane, panelButtons, panelTop, rgcs, specialActionTarget, sublist, tabAttributeList, tabIdAndLabel, titleLabel, veto
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
ListInlay(java.lang.String tabIdAndLabel) |
ListInlay(java.lang.String tabIdAndLabel,
SearchListDetailGroup group) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Controls action events like button pressed.
|
protected void |
callServerAction(java.lang.String action,
Identifier identifier) |
protected void |
callServerAction(java.lang.String action,
java.lang.String ids) |
boolean |
extendList()
Extends the list dynamically.
|
void |
extendParams(java.util.Vector<KeyValuePairAlpha> params) |
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
Identifier |
getNextIdentifier(boolean setSelection)
Returns the next item in sequence.
|
Identifier |
getPreviousIdentifier(boolean setSelection)
Returns the previous item in sequence.
|
java.lang.String |
getSelectedIdentifiers()
Returns the selected identifiers.
|
protected java.lang.String |
getTabElementId() |
boolean |
hasNext()
Returns true if next item is available.
|
void |
perform(Action action) |
void |
render(MustTableCellRenderer renderer,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
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 |
setReadOnly(java.lang.String detail) |
protected void |
setRendererFor(int index,
java.lang.Class<?> colClass) |
contactServer, contactServer, createButton, generalActionBeginnung, generalActionEnding, getAdditionalButton, getRemotable, getSynchParams, getTranslation, hideGUI, presentFallback, recoverDetailComponent, setMessageReceiver
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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
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, 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, 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
protected SearchListDetailGroup group
protected RecordSelectTableModel selectTableModel
protected MustButton buttonPresent
protected MustButton buttonProperties
protected MustButton buttonChoose
protected MustButton buttonCopy
protected MustButton buttonPrint
protected MustButton buttonDelete
protected boolean currentlyExtending
protected boolean furtherRowAvailable
public ListInlay(java.lang.String tabIdAndLabel)
public ListInlay(java.lang.String tabIdAndLabel, SearchListDetailGroup group)
public void setReadOnly(java.lang.String detail)
public boolean extendList()
protected java.lang.String getTabElementId()
getTabElementId
in class InputInlay
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
focusGained
in class InputInlay
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
focusLost
in class InputInlay
public void perform(Action action)
perform
in class InputInlay
protected void setRendererFor(int index, java.lang.Class<?> colClass)
public void render(MustTableCellRenderer renderer, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
render
in interface MustTableCellRenderer.AdditionalRendering
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class InputInlay
e
- the action event to be interpretedprotected void callServerAction(java.lang.String action, Identifier identifier)
protected void callServerAction(java.lang.String action, java.lang.String ids)
public java.lang.String getSelectedIdentifiers()
public boolean hasNext()
NextPreviousSupporter
hasNext
in interface NextPreviousSupporter
public Identifier getNextIdentifier(boolean setSelection)
NextPreviousSupporter
getNextIdentifier
in interface NextPreviousSupporter
public Identifier getPreviousIdentifier(boolean setSelection)
NextPreviousSupporter
getPreviousIdentifier
in interface NextPreviousSupporter
protected final void selectListIndex(int indexToSelect)
indexToSelect
- the index of the entry to selectpublic void extendParams(java.util.Vector<KeyValuePairAlpha> params)
extendParams
in class InputInlay
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de