|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.sasserver.MetabaseSelectorDialog
public class MetabaseSelectorDialog
MetabaseSelectorDialog is a dialog that allows selection of metabse and database entries.
| Field Summary | |
|---|---|
protected java.lang.String |
database
Current database selection. |
protected ListBox |
databaseListBox
ListBox used to display database entries. |
protected com.sas.collection.StringCollection |
databaseNames
|
protected java.lang.String |
metabase
Current metabase selection. |
protected java.lang.String |
metabaseDescription
Deprecated. No longer used. |
protected com.sas.sasserver.metabaselist.MetabaseListInterface |
metabaseList
MetabaseListInterface object used to retrieve metabase and database information. |
static java.lang.String |
RB_KEY
|
protected java.lang.String |
sasFile
Deprecated. No longer used. |
protected TreeView |
tree
TreeView used to display metabase entries. |
| Fields inherited from class com.sas.sasserver.RemoteObjectSelectorDialog |
|---|
connection, owner, remoteObjects, rocf |
| Fields inherited from class com.sas.visuals.OkCancelHelpDialog |
|---|
CANCEL, CLOSE, HELP |
| Fields inherited from class com.sas.visuals.ButtonDialog |
|---|
buttonPanel, buttons, panel |
| Fields inherited from class com.sas.awt.Dialog |
|---|
_cantUseSASModal, _inApplet, _modal, autoDispose, READY, setVisibleCalled, t |
| Constructor Summary | |
|---|---|
MetabaseSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
boolean cloneConnection,
com.sas.rmi.Rocf rocf,
java.lang.String metabase,
java.lang.String database)
Constructs a MetabaseSelectorDialog. |
|
MetabaseSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
com.sas.rmi.Rocf rocf,
java.lang.String metabase,
java.lang.String database)
Constructs a MetabaseSelectorDialog. |
|
| Method Summary | |
|---|---|
protected void |
close()
Called when the dialog is being closed. |
protected void |
createRemoteObjects()
Creates an instance of MetabaseListInterface. |
protected void |
disposeRemoteObjects()
Clears existing remote objects. |
java.lang.String |
getDatabase()
Returns the selected database. |
java.lang.String |
getDataSet()
Deprecated. Use getDatabase |
java.lang.String |
getMetabase()
Returns the selected metabase. |
java.lang.String |
getMetabaseDescription()
Deprecated. No longer used. |
void |
initialize()
Initializes the selector dialog. |
void |
itemStateChanged(java.awt.event.ItemEvent event)
Handle ItemEvent processing. |
| Methods inherited from class com.sas.sasserver.RemoteObjectSelectorDialog |
|---|
dispose, registerRemoteBaseClient, setVisible, wasCancelled, wasExceptionThrown |
| Methods inherited from class com.sas.visuals.OkCancelHelpDialog |
|---|
actionPerformed, cancel, help, isValidateBeforeClosing, setValidateBeforeClosing, windowClosing |
| Methods inherited from class com.sas.visuals.ButtonDialog |
|---|
getButtonPanel, getMainPanel, windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class com.sas.awt.Dialog |
|---|
center, centerOver, centerOverWindow, fireReadySignal, getAutoDispose, getDefaultHeight, getDefaultWidth, getExtendedBeanInfo, getText, hide, isSASModalEnabled, newDispatchThread, processWindowEvent, setAutoDispose, setDefaultHeight, setDefaultWidth, setModal, setResizable, setSASModalEnabled, setText, setTitle, setVisible, show, stopDispatchThread, waitForReadySignal, waitTilReady |
| Methods inherited from interface com.sas.awt.ContainerInterface |
|---|
getComponents, getLayout, invalidate, setLayout, validate |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
protected com.sas.sasserver.metabaselist.MetabaseListInterface metabaseList
protected java.lang.String sasFile
protected TreeView tree
protected ListBox databaseListBox
protected com.sas.collection.StringCollection databaseNames
protected java.lang.String database
protected java.lang.String metabase
protected java.lang.String metabaseDescription
| Constructor Detail |
|---|
public MetabaseSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
com.sas.rmi.Rocf rocf,
java.lang.String metabase,
java.lang.String database)
parent - the parent frameowner - the owner of the dialogconnection - the connection objectrocf - Rocf object used to create remote objectsmetabase - metabase to select, may be nulldatabase - database to select, may be null
public MetabaseSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
boolean cloneConnection,
com.sas.rmi.Rocf rocf,
java.lang.String metabase,
java.lang.String database)
parent - the parent frameowner - the owner of the dialogconnection - the connection objectrocf - Rocf object used to create remote objectsmetabase - metabase to select, may be nulldatabase - database to select, may be null| Method Detail |
|---|
protected void close()
close in class OkCancelHelpDialog
protected void createRemoteObjects()
throws java.lang.Exception
createRemoteObjects in class RemoteObjectSelectorDialogjava.lang.Exception - If an error occurs creating an instance of MetabaseListInterface.RemoteObjectSelectorDialog.createRemoteObjects()protected void disposeRemoteObjects()
disposeRemoteObjects in class RemoteObjectSelectorDialogRemoteObjectSelectorDialog.disposeRemoteObjects()public void initialize()
initialize in interface com.sas.ComponentInterfaceinitialize in class RemoteObjectSelectorDialogRemoteObjectSelectorDialog.initialize()public java.lang.String getDatabase()
public java.lang.String getDataSet()
public java.lang.String getMetabase()
public java.lang.String getMetabaseDescription()
public void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListenerItemListener.itemStateChanged(java.awt.event.ItemEvent)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||