public interface FwkDialogPaneInterface extends FwkInterface
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.
|
FwkDialogPaneValueInterface |
getSelectedValue()
Get the current selected value.
|
java.lang.String |
getTip()
Get the tool tip of the panel.
|
java.lang.String |
getTitle()
Get the current title.
|
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 |
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 |
setSelectedValue(FwkDialogPaneValueInterface value)
Set the selected value.
|
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.
|
getVersion, release
FwkDialogPaneValueInterface getSelectedValue()
void setSelectedValue(FwkDialogPaneValueInterface value)
value
- The value to be set as selected.void setTitle(java.lang.String title)
title
- The new title string.java.lang.String getTitle()
void setIcon(FwkIconInterface icon)
icon
- The icon of the panel.FwkIconInterface getIcon()
void setTip(java.lang.String tip)
tip
- The new tool tip text.java.lang.String getTip()
void setIdent(java.lang.String ident)
ident
- The new ident string.java.lang.String getIdent()
void setHelpID(java.lang.String id)
id
- The new help ID.java.lang.String getHelpID()
FwkArrayInterface getKeyListenerArray()
void addKeyListener(FwkKeyListenerInterface listener)
listener
- The key listener.void removeKeyListener(FwkKeyListenerInterface listener)
listener
- The key listener to be removed.void fireKeyEvent(FwkKeyEventInterface evt)
evt
- The message event.boolean isAllowedToConsume(java.util.EventObject evt)
boolean needsOk()
boolean needsReset()
boolean needsCancel()
boolean needsClose()
boolean needsHelp()
boolean isScrollable()
void dialogWillOpen(FwkDialogInterface dialog)
dialog
- the dialog.void dialogWillClose(FwkDialogInterface dialog)
dialog
- the dialog.void buttonCreated(int id, javax.swing.JButton button)
id
- The id of the button.button
- The button.FwkDialogInterface
void okPerformed(java.awt.event.ActionEvent ev)
ev
- the button eventvoid cancelPerformed(java.awt.event.ActionEvent ev)
ev
- the button event