|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.dataselectors.qualifiers.QualifiersDialog
public class QualifiersDialog
Is the Swing dialog that displays the user interface (UI) of the Qualifiers Editor.
SwingQualifiersEditor,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sas.swing.visuals.OptionsDialog |
|---|
buttons |
| Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants |
|---|
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN |
| Constructor Summary | |
|---|---|
QualifiersDialog(java.awt.Frame parent,
java.lang.String title,
boolean modal)
Constructor |
|
QualifiersDialog(java.awt.Frame parent,
java.lang.String title,
boolean modal,
com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
To handle the click on the Ok and Clear JButtons |
void |
adapter(com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter)
Sets the adapter used by the Qualifiers Editor |
void |
clearButtonText(java.lang.String text)
|
void |
initialValues(java.util.Map values)
|
boolean |
isEditOK()
|
void |
itemLabel(java.lang.String label)
|
void |
itemName(java.lang.String name)
|
void |
itemsLabel(java.lang.String label)
|
void |
itemsListHeight(int height)
|
void |
itemsNameColumnLabel(java.lang.String label)
|
void |
itemsValueColumnLabel(java.lang.String label)
|
void |
onCancel()
Handles the "cancel" action which usually occurs whenever the button for the CommonButtons.CANCEL_BUTTON identifier is pressed. |
void |
onOK()
Handles the "ok" action. |
java.util.Map |
selectedValues()
|
void |
skipItem(java.lang.String itemID)
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
To handle the selection in the JTable. |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
To handle the selection of a node in the JTree. |
| Methods inherited from class com.sas.swing.visuals.OptionsDialog |
|---|
addButton, createButtons, getButton, getButtonLocation, getHelpID, getMainPanel, getPanel, onApply, onClose, onHelp, processWindowEvent, setButtonLocation, setButtons, setHelpID, setPanel, setVisible, updateButtonsForPanel, wasCancelled |
| Constructor Detail |
|---|
public QualifiersDialog(java.awt.Frame parent,
java.lang.String title,
boolean modal,
com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter)
parent - The parent Frametitle - The title of the Qualifiers Editormodal - to set to dialog to modal or non modaladapter - The adapter used by the Qualifiers Editor
public QualifiersDialog(java.awt.Frame parent,
java.lang.String title,
boolean modal)
parent - The parent Frametitle - The title of the Qualifiers Editormodal - to set to dialog to modal or non modal| Method Detail |
|---|
public void adapter(com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter)
adapter - The adapter used by the Qualifiers Editorpublic boolean isEditOK()
public void onOK()
OptionsDialogCommonButtons.OK_BUTTON identifier is pressed. This method first applies
any changes by calling the onApply() method and then it hides the dialog
by calling the onClose() method.
onOK in class OptionsDialogpublic void onCancel()
OptionsDialogCommonButtons.CANCEL_BUTTON identifier is pressed. This method hides the dialog
by calling the onClose() method. If this dialog hosts
an instance of PanelInterface
its onCancel() method will first be called.
onCancel in class OptionsDialogpublic void itemLabel(java.lang.String label)
public void itemName(java.lang.String name)
public void itemsLabel(java.lang.String label)
public void itemsNameColumnLabel(java.lang.String label)
public void itemsValueColumnLabel(java.lang.String label)
public void clearButtonText(java.lang.String text)
public void skipItem(java.lang.String itemID)
public void initialValues(java.util.Map values)
public java.util.Map selectedValues()
public void itemsListHeight(int height)
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class OptionsDialogJButton,
ActionListenerpublic void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListenerTreeSelectionListener,
JTablepublic void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged in interface javax.swing.event.TreeSelectionListenerTreeSelectionListener,
JTree
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||