public abstract class PresentationInlay extends MustContainer implements java.awt.event.ActionListener
Modifier and Type | Class and Description |
---|---|
static interface |
PresentationInlay.Owner |
MustContainer.Creator
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected boolean |
alreadyPackedOnce |
protected MustButton |
buttonOk |
protected MustButton |
buttonPrint |
protected javax.swing.JScrollPane |
centerScrollPane |
protected AttributeList |
currentAttributeList |
protected de.must.wuic.PresentationInlay.DrawPanel |
drawPanel |
protected java.util.LinkedHashSet<de.must.wuic.PresentationInlay.ImageData> |
imageDataSet |
protected java.util.LinkedHashSet<de.must.wuic.PresentationInlay.Info> |
infos |
protected PresentationInlay.Owner |
owner |
protected javax.swing.JPanel |
panelButtons |
protected javax.swing.JPanel |
presentiationPanel |
protected DataPropertyPrint |
printInstance |
protected java.lang.String[] |
stringsToHighlight |
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 |
---|
PresentationInlay(PresentationInlay.Owner owner) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Controls action events like button pressed.
|
void |
addImage(java.awt.Image image,
int maxLabelWidth,
java.lang.String link,
java.lang.String toolTipText) |
void |
addImage(java.awt.Image image,
java.lang.String link,
java.lang.String toolTipTex) |
void |
append(java.lang.String label,
java.util.Date value)
Appends an attribute after suppressing strings for zero values.
|
void |
append(java.lang.String label,
int value)
Appends an attribute after suppressing strings for zero values.
|
void |
append(java.lang.String label,
java.lang.String value)
Appends an attribute after suppressing strings for zero values.
|
void |
appendInternetLink(java.lang.String label,
java.lang.String link) |
protected void |
apppendFileStreamPresenter(java.lang.String label,
java.lang.String assigendUniqueKeyName,
int assignedUniqueId,
DataObject fileDataObject,
java.lang.String columnNameForFileName,
java.lang.String columnNameForFileDate,
java.lang.String columnNameForBinaryData) |
protected void |
drawElement(java.awt.Graphics g,
java.lang.String element) |
protected java.lang.String |
getExtendedInfosLabel() |
protected javax.swing.JFrame |
getOwnerFrame() |
protected java.lang.Class<? extends DataPropertyPrint> |
getPrintClass()
Returns the print class - to be overridden by child if print class is available!
|
protected abstract void |
initCalledByDataPresentationInlay() |
protected void |
okButtonAction()
The task to be done associated with the OK button.
|
protected boolean |
okButtonToDisplay() |
protected void |
printButtonAction()
The task to be done associated with the print button.
|
protected void |
reset() |
protected void |
resetImage() |
void |
setStringsToHighlight(java.lang.String[] stringsToHighlight) |
destroy, free, generalActionBeginnung, generalActionEnding, getAppResStr, getContentPane, getFrame, getHelpTarget, getHelpTopic, getImageIcon, getLocale, getRootPane, getTranslation, isCancelAllowed, isClosingAllowed, isClosingAllowed, receive, 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, 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
protected PresentationInlay.Owner owner
protected javax.swing.JScrollPane centerScrollPane
protected de.must.wuic.PresentationInlay.DrawPanel drawPanel
protected AttributeList currentAttributeList
protected javax.swing.JPanel presentiationPanel
protected java.util.LinkedHashSet<de.must.wuic.PresentationInlay.Info> infos
protected java.util.LinkedHashSet<de.must.wuic.PresentationInlay.ImageData> imageDataSet
protected boolean alreadyPackedOnce
protected javax.swing.JPanel panelButtons
protected MustButton buttonOk
protected MustButton buttonPrint
protected DataPropertyPrint printInstance
protected java.lang.String[] stringsToHighlight
public PresentationInlay(PresentationInlay.Owner owner)
protected javax.swing.JFrame getOwnerFrame()
protected abstract void initCalledByDataPresentationInlay()
public void setStringsToHighlight(java.lang.String[] stringsToHighlight)
protected boolean okButtonToDisplay()
public void addImage(java.awt.Image image, java.lang.String link, java.lang.String toolTipTex)
public void addImage(java.awt.Image image, int maxLabelWidth, java.lang.String link, java.lang.String toolTipText)
protected void reset()
protected void resetImage()
public void append(java.lang.String label, java.lang.String value)
label
- the label of the new linevalue
- the attribute value to be displayedpublic void append(java.lang.String label, int value)
label
- the label of the new linevalue
- the attribute value to be displayedpublic void append(java.lang.String label, java.util.Date value)
label
- the label of the new linevalue
- the attribute value to be displayedpublic void appendInternetLink(java.lang.String label, java.lang.String link)
protected void apppendFileStreamPresenter(java.lang.String label, java.lang.String assigendUniqueKeyName, int assignedUniqueId, DataObject fileDataObject, java.lang.String columnNameForFileName, java.lang.String columnNameForFileDate, java.lang.String columnNameForBinaryData)
protected java.lang.Class<? extends DataPropertyPrint> getPrintClass()
protected void drawElement(java.awt.Graphics g, java.lang.String element)
protected java.lang.String getExtendedInfosLabel()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the action event to be interpretedprotected void okButtonAction()
protected void printButtonAction()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de