public abstract class FwkDialogPane extends FwkPanel implements FwkDialogPaneInterface
,
Serialized Formjavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected FwkDialogInterface |
fwkDialog
The dialog.
|
protected java.lang.String |
helpId
The help id.
|
protected FwkIconInterface |
icon
The icon.
|
protected java.lang.String |
ident
The ident string of the pane.
|
protected java.lang.String |
tip
The tool tip text.
|
protected java.lang.String |
title
The title string of the pane.
|
static java.lang.String |
version |
bgImage, controller, descriptor, fwkItem, imgHeight, imgWidth, lineAppearance, newHeight, newWidth, pageFormat, readingDOM, text, textAppearance, xalign, yalignaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBOTTOM, CENTER, LEFT, RIGHT, TOPINFOBUS_SOURCEAUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Constructor and Description |
|---|
FwkDialogPane()
The constructor.
|
FwkDialogPane(java.lang.String title)
The constructor receiving the title string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyListener(FwkKeyListenerInterface listener)
�Add a KeyListener to the listener list.
|
void |
buttonCreated(int id,
javax.swing.JButton button)
This method will invoke whenever the dialog was constructed.
|
void |
cancelPerformed(java.awt.event.ActionEvent ev)
This method will be called when the cancel button is pressed.
|
void |
dialogWillClose(FwkDialogInterface dialog)
This method is called by the dialog if the it will close.
|
void |
dialogWillOpen(FwkDialogInterface dialog)
This method is called by the dialog if the it will open.
|
void |
fireKeyEvent(FwkKeyEventInterface evt)
Fire an existing key event to any registered listeners.
|
java.lang.String |
getHelpID()
Get the help ID of the panel.
|
FwkIconInterface |
getIcon()
Get the icon of the panel.
|
java.lang.String |
getIdent()
Get the ident string of the panel.
|
FwkArrayInterface |
getKeyListenerArray()
Get a vector containing the registered key listeners.
|
java.lang.String |
getParams()
This function returns a string containing all parameter of the object.
|
java.lang.String |
getTip()
Get the tool tip of the panel.
|
java.lang.String |
getTitle()
Get the current title.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isAllowedToConsume(java.util.EventObject evt)
This method return a boolean that indicates whether a keyboard event
should be considered by an keyboard listener.
|
boolean |
isScrollable()
This method returns a boolean, if the pane is scrollable.
|
boolean |
needsCancel()
This method returns a boolean whether the pane needs a CANCEL button.
|
boolean |
needsClose()
This method returns a boolean whether the pane needs a CLOSE button.
|
boolean |
needsHelp()
This method returns a boolean whether the pane needs a HELP button.
|
boolean |
needsOk()
This method returns a boolean whether the pane needs an OK button.
|
boolean |
needsReset()
This method returns a boolean whether the pane needs a RESET button.
|
void |
okPerformed(java.awt.event.ActionEvent ev)
This method will be called when the ok button is pressed.
|
void |
removeKeyListener(FwkKeyListenerInterface listener)
�Remove a KeyListener from the listener list.
|
void |
setDefaults()
This method sets all internal states to the default.
|
void |
setHelpID(java.lang.String id)
Set the help ID string.
|
void |
setIcon(FwkIconInterface icon)
Set the icon of the pane.
|
void |
setIdent(java.lang.String ident)
Set the ident string.
|
void |
setTip(java.lang.String tip)
Set the tool tip of the panel.
|
void |
setTitle(java.lang.String title)
Set the title of the pane.
|
java.lang.String |
toString()
This function returns a string containing the string
representation of the object.
|
addCommand, addCommand, addPropertyChangeListener, addPropertyChangeListener, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getClassName, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getController, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getDescriptor, getGroup, getIcon, getIconKey, getIconKey, getInstanceDescriptor, getName, getNumberOfPages, getPageFormat, getPersistentObjectNames, getPresentationString, getPresentationString, getPrintable, getPrintJobName, getProperty, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, getPropertyGroup, getSource, getSupportEMail, getTitleName, getTransferData, getTransferDataFlavors, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, isDataFlavorSupported, isPropertyChangeEventSuspended, lostOwnership, paintComponent, print, printPanel, readConstructor, readFromDOM, readingDOM, readingDOM, refresh, release, removeCommand, removeFromGroup, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBackgroundImage, setBuild, setClassName, setCommands, setCompany, setCompanyInternetAddress, setController, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIconKey, setIconKey, setLineAppearance, setName, setPageFormat, setProperty, setPropertyGroup, setSource, setSupportEMail, setText, setTextAlignment, setTextAppearance, setTitleName, suspendChangeManager, suspendPropertyChangeEvents, writeConstructor, writeToDOM, writeToXMLgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, 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, 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, updateadd, 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, validateTreeaction, 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, 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, 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, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSelectedValue, setSelectedValuereleaseaddpublic static final java.lang.String version
protected java.lang.String title
protected FwkIconInterface icon
protected java.lang.String tip
protected java.lang.String ident
protected java.lang.String helpId
protected FwkDialogInterface fwkDialog
public FwkDialogPane()
public FwkDialogPane(java.lang.String title)
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkPanelpublic void setTitle(java.lang.String title)
setTitle in interface FwkDialogPaneInterfacetitle - The new title string.public java.lang.String getTitle()
getTitle in interface FwkDescriptionInterfacegetTitle in interface FwkDialogPaneInterfacegetTitle in interface FwkPanelInterfacegetTitle in class FwkPanelpublic void setIcon(FwkIconInterface icon)
setIcon in interface FwkDescriptionInterfacesetIcon in interface FwkDialogPaneInterfacesetIcon in class FwkPanelicon - The icon of the panel.#getIcon(FwkIconInterface)public FwkIconInterface getIcon()
getIcon in interface FwkDescriptionInterfacegetIcon in interface FwkDialogPaneInterfacegetIcon in class FwkPanelFwkPanel.setIcon(FwkIconInterface)public void setTip(java.lang.String tip)
setTip in interface FwkDialogPaneInterfacetip - The new tool tip text.public java.lang.String getTip()
getTip in interface FwkDialogPaneInterfacepublic void setIdent(java.lang.String ident)
setIdent in interface FwkDialogPaneInterfaceident - The new ident string.public java.lang.String getIdent()
getIdent in interface FwkDialogPaneInterfacepublic void setHelpID(java.lang.String id)
setHelpID in interface FwkDialogPaneInterfaceid - The new help ID.public java.lang.String getHelpID()
getHelpID in interface FwkDialogPaneInterfacepublic void setDefaults()
public java.lang.String getParams()
toStringpublic java.lang.String toString()
toString in class java.awt.ComponentgetParamspublic FwkArrayInterface getKeyListenerArray()
getKeyListenerArray in interface FwkDialogPaneInterfacepublic void addKeyListener(FwkKeyListenerInterface listener)
addKeyListener in interface FwkDialogPaneInterfacelistener - The key listener.public void removeKeyListener(FwkKeyListenerInterface listener)
removeKeyListener in interface FwkDialogPaneInterfacelistener - The key listener to be removed.public void fireKeyEvent(FwkKeyEventInterface evt)
fireKeyEvent in interface FwkDialogPaneInterfaceevt - The message event.public boolean isAllowedToConsume(java.util.EventObject evt)
isAllowedToConsume in interface FwkDialogPaneInterfacepublic boolean needsOk()
needsOk in interface FwkDialogPaneInterfacepublic boolean needsReset()
needsReset in interface FwkDialogPaneInterfacepublic boolean needsCancel()
needsCancel in interface FwkDialogPaneInterfacepublic boolean needsClose()
needsClose in interface FwkDialogPaneInterfacepublic boolean needsHelp()
needsHelp in interface FwkDialogPaneInterfacepublic boolean isScrollable()
isScrollable in interface FwkDialogPaneInterfacepublic void dialogWillOpen(FwkDialogInterface dialog)
dialogWillOpen in interface FwkDialogPaneInterfacedialog - the dialog.public void dialogWillClose(FwkDialogInterface dialog)
dialogWillClose in interface FwkDialogPaneInterfacedialog - the dialog.public void buttonCreated(int id,
javax.swing.JButton button)
buttonCreated in interface FwkDialogPaneInterfaceid - The id of the button.button - The button.FwkDialogInterfacepublic void okPerformed(java.awt.event.ActionEvent ev)
okPerformed in interface FwkDialogPaneInterfaceev - the button eventpublic void cancelPerformed(java.awt.event.ActionEvent ev)
cancelPerformed in interface FwkDialogPaneInterfaceev - the button event