|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.qualifiers.SwingQualifiersEditor
public class SwingQualifiersEditor
Is the QualifiersEditorInterface for Swing.
QualifiersEditorInterface| Field Summary | |
|---|---|
com.sas.dataselectors.qualifiers.QualifiersSelectorInterface |
adapter
The adapter used by the Qualifiers Editor |
QualifiersDialog |
dialog
The dialog that displays the user interface (UI) of the Qualifiers Editor |
| Constructor Summary | |
|---|---|
SwingQualifiersEditor(com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter,
java.lang.String title)
Constructor |
|
| Method Summary | |
|---|---|
void |
clearButtonText(java.lang.String text)
Set the text displayed by the "clear" button, e.g. |
void |
initialValues(java.util.Map values)
Set the initial values of the items |
boolean |
isEditOK()
Returns a status code specifying whether the user OK'ed or cancelled out of editor. |
void |
itemLabel(java.lang.String label)
Set the label of the item which the qualifiers apply to, e.g. |
void |
itemName(java.lang.String name)
Set the name of the item which the qualifiers apply to, e.g. |
void |
itemsLabel(java.lang.String label)
Set the label for the list of items which the qualifiers can be set to, e.g. |
void |
itemsListHeight(int height)
Sets the height of the list that displays the items, for Swing only, to be used together with preferredSize(). |
void |
itemsNameColumnLabel(java.lang.String label)
Set the label of the column of the item names in the list of items, e.g. |
void |
itemsValueColumnLabel(java.lang.String label)
Set the label of the column that contains the values of the qualifiers set on the items, in the list of items, e.g. |
java.util.Map |
selectedValues()
Returns the values that have been selected in the editor. |
void |
showEditor(java.lang.Object parent)
Displays the editor. |
void |
size(int width,
int height)
Set the size of the dialog being displayed, only for Swing |
void |
skipItem(java.lang.String itemID)
Set the index of the item not to be displayed in the list of items. |
| Field Detail |
|---|
public QualifiersDialog dialog
public com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter
| Constructor Detail |
|---|
public SwingQualifiersEditor(com.sas.dataselectors.qualifiers.QualifiersSelectorInterface adapter,
java.lang.String title)
adapter - The adapter used by the Qualifiers Editortitle - The title for the Qualifiers Editor| Method Detail |
|---|
public void showEditor(java.lang.Object parent)
EditorInterfaceuserData argument should be used to supply the editor with
the parent Frame.
showEditor in interface com.sas.swing.dataselectors.editors.EditorInterfacepublic boolean isEditOK()
EditorInterface
isEditOK in interface com.sas.swing.dataselectors.editors.EditorInterfacepublic void itemLabel(java.lang.String label)
QualifiersEditorInterface
itemLabel in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacelabel - - the item's labelpublic void itemName(java.lang.String name)
QualifiersEditorInterface
itemName in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacename - - the item's name.public void itemsLabel(java.lang.String label)
QualifiersEditorInterface
itemsLabel in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacelabel - - the items list labelpublic void itemsNameColumnLabel(java.lang.String label)
QualifiersEditorInterface
itemsNameColumnLabel in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacepublic void itemsValueColumnLabel(java.lang.String label)
QualifiersEditorInterface
itemsValueColumnLabel in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacepublic void clearButtonText(java.lang.String text)
QualifiersEditorInterface
clearButtonText in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacepublic void skipItem(java.lang.String itemID)
QualifiersEditorInterface
skipItem in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfaceitemID - - The id of the item not to be displayed in the list of itemspublic java.util.Map selectedValues()
QualifiersEditorInterface
selectedValues in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacepublic void initialValues(java.util.Map values)
QualifiersEditorInterface
initialValues in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacevalues - - The Map containing the initial values for the items.
In the Map there is an element for each item that has an initial value, the
element's key is the unique id of the item while the element's
value is the unique id of the initial value.
public void size(int width,
int height)
QualifiersEditorInterface
size in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterfacepublic void itemsListHeight(int height)
QualifiersEditorInterface
itemsListHeight in interface com.sas.swing.dataselectors.editors.QualifiersEditorInterface
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||