|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.qualifiers.QualifiersEditorFactory
public class QualifiersEditorFactory
Creates instances of QualifiersEditorInterface for the different combinations of UIs (JSP or Swing) and models (BusinessModel or BusinessQuery).
Field Summary | |
---|---|
static int |
BUSINESS_MODEL
|
static int |
BUSINESS_QUERY
|
static int |
SERVLET
|
static int |
SWING
|
Constructor Summary | |
---|---|
QualifiersEditorFactory()
|
Method Summary | |
---|---|
static com.sas.swing.dataselectors.editors.QualifiersEditorInterface |
newEditor(int editorType,
int modelType,
java.lang.Object model,
java.lang.String title)
Create a new editor. |
static com.sas.swing.dataselectors.editors.QualifiersEditorInterface |
newSwingEditor(com.sas.iquery.metadata.business.BusinessModel businessModel,
java.lang.String title)
Create a new Swing editor for a BusinessModel. |
static com.sas.swing.dataselectors.editors.QualifiersEditorInterface |
newSwingEditor(com.sas.iquery.metadata.business.BusinessQuery businessQuery,
java.lang.String title)
Create a new Swing editor for a BusinessQuery. |
static void |
setProperties(com.sas.swing.dataselectors.editors.QualifiersEditorInterface editor,
java.lang.String key,
java.util.Locale locale)
Set localized properties on a QualifiersEditor |
Field Detail |
---|
public static final int SWING
public static final int SERVLET
public static final int BUSINESS_MODEL
public static final int BUSINESS_QUERY
Constructor Detail |
---|
public QualifiersEditorFactory()
Method Detail |
---|
public static com.sas.swing.dataselectors.editors.QualifiersEditorInterface newEditor(int editorType, int modelType, java.lang.Object model, java.lang.String title)
editorType
- The GUI type of editor. Either SWING or SERVLETmodelType
- The type of model. Either BUSINESS_MODEL or BUSINESS_QUERYmodel
- The model, matching the modelType, either a BusinessModel or a BusinessQuerytitle
- The title to display on the editor dialog.
public static com.sas.swing.dataselectors.editors.QualifiersEditorInterface newSwingEditor(com.sas.iquery.metadata.business.BusinessQuery businessQuery, java.lang.String title)
businessQuery
- The model for the editor.title
- The title to display on the editor dialog.
public static com.sas.swing.dataselectors.editors.QualifiersEditorInterface newSwingEditor(com.sas.iquery.metadata.business.BusinessModel businessModel, java.lang.String title)
businessModel
- The model for the editor.title
- The title to display on the editor dialog.
public static void setProperties(com.sas.swing.dataselectors.editors.QualifiersEditorInterface editor, java.lang.String key, java.util.Locale locale)
editor
- The editor to set the properties onkey
- The key to find the properties. QualifiersEditorBQ or QualifiersEditorBMlocale
- The locale for the resources.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |