public abstract class PropertyAdministrationInlay extends MustContainer implements java.awt.event.ActionListener
AttributeList
,
Serialized FormModifier and Type | Class and Description |
---|---|
static interface |
PropertyAdministrationInlay.Owner |
MustContainer.Creator
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected MustButton |
buttonCancel |
protected MustButton |
buttonOk |
protected MustCheckBox |
checkRepeatedInput |
protected AttributeList |
currentAttributeList |
protected ChoiceManager |
lastChoiceManager |
protected java.awt.Component |
lastFocusOwner |
protected MustTabbedPane |
mustTabbedPane |
protected PropertyAdministrationInlay.Owner |
owner |
protected javax.swing.JPanel |
panelButtons |
protected AttributeList |
parkedAttributeList |
protected java.util.Vector<AttributeList> |
tabAttributeList |
protected int |
tabCount |
protected int |
tabSize |
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 |
---|
PropertyAdministrationInlay(PropertyAdministrationInlay.Owner owner)
Constructs a new property administration
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsClosingDueToInactivity() |
void |
actionPerformed(java.awt.event.ActionEvent e)
Controls action events like button pressed.
|
void |
addSeparator()
Adds a separator under the last attribute line.
|
protected void |
append(MustButton button)
Appends the passed button to the current AttributeList.
|
protected void |
append(java.lang.String infoExtension)
Adds a string to the line as previously used.
|
void |
beginGroup()
Begins grouping of GUI elements.
|
void |
beginGroup(java.lang.String title)
Begins grouping of GUI elements.
|
void |
closeInstance() |
protected void |
createMustTabbedPane() |
void |
detailClosed() |
void |
endGroup()
Ends grouping of GUI elements.
|
protected abstract void |
initCalledByPropertyAdministrationInlay() |
protected void |
newPanel()
Creates a new panel with an attribute list.
|
protected void |
newPanel(java.lang.String tabLabel)
Creates a new panel with an attribute list with default line size.
|
protected void |
newPanel(java.lang.String tabLabel,
javax.swing.JPanel panel)
Adds the specified panel to the tabbed pane.
|
protected boolean |
okButtonAction()
Does all the things necessary when user pushes OK button and returns true if
there was nothing rejected.
|
protected void |
optimizeLayout() |
void |
recover() |
protected void |
reestablishFieldFocus() |
protected void |
setFocusOnPreferredField() |
protected void |
setLayoutTolerance(int reduceWidthPercent,
int enlargeWidthPercent)
Sets the layout tolerance concerning length of last input fields to reducing variations of right input field endings.
|
protected void |
setPreferredFocusField(DataTextField newPreferredFocusField)
Sets the component to to gain focus preferred.
|
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 PropertyAdministrationInlay.Owner owner
protected boolean active
protected int tabSize
protected int tabCount
protected MustTabbedPane mustTabbedPane
protected java.util.Vector<AttributeList> tabAttributeList
protected AttributeList currentAttributeList
protected AttributeList parkedAttributeList
protected ChoiceManager lastChoiceManager
protected javax.swing.JPanel panelButtons
protected MustCheckBox checkRepeatedInput
protected MustButton buttonOk
protected MustButton buttonCancel
protected java.awt.Component lastFocusOwner
public PropertyAdministrationInlay(PropertyAdministrationInlay.Owner owner)
frameworkTextResource
- a resource for framework texts if not standard#creationEnding
protected abstract void initCalledByPropertyAdministrationInlay()
protected void setPreferredFocusField(DataTextField newPreferredFocusField)
newPreferredFocusField
- the component to to gain focus preferredprotected void setFocusOnPreferredField()
protected void newPanel()
AttributeList
protected void newPanel(java.lang.String tabLabel)
tabLabel
- the label of the new tabAttributeList
protected void newPanel(java.lang.String tabLabel, javax.swing.JPanel panel)
tabLabel
- the label of the new tabpanel
- the panel to addprotected void createMustTabbedPane()
public void addSeparator()
public void beginGroup()
public void beginGroup(java.lang.String title)
title
- the title specifying the grouppublic void endGroup()
protected void append(MustButton button)
button
- the button to addprotected void append(java.lang.String infoExtension)
infoExtension
- the information to addprotected void setLayoutTolerance(int reduceWidthPercent, int enlargeWidthPercent)
reduceWidthPercent
- how much percent length of last input field may be reduced to accomplish right alignment with previous text fieldenlargeWidthPercent
- how much percent length of last input field may be enlarged to accomplish right alignment with previous text fieldpublic void recover()
protected void reestablishFieldFocus()
protected void optimizeLayout()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the action event to be interpretedprotected boolean okButtonAction()
public boolean acceptsClosingDueToInactivity()
public void closeInstance()
public void detailClosed()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de