|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.sasserver.RemoteObjectSelectorDialog
public abstract class RemoteObjectSelectorDialog
RemoteObjectSelector is a class that can serve as the base class of of a dialog that needs to create a connection to create remote objects. A dialog with an informational message is displayed while the createRemoteObjects method is run asynchronously.
Field Summary | |
---|---|
protected com.sas.rmi.Connection |
connection
Connection object for remote access. |
protected java.awt.Component |
owner
The owner of the RemoteObjectSelectorDialog. |
protected com.sas.collection.OrderedCollection |
remoteObjects
Registered RemoteBaseClient objects. |
protected com.sas.rmi.Rocf |
rocf
Rocf object used for remote object creation. |
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 | |
---|---|
RemoteObjectSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
boolean cloneConnection,
com.sas.rmi.Rocf rocf,
java.lang.String title)
Abstract class. |
|
RemoteObjectSelectorDialog(java.awt.Frame parent,
java.awt.Component owner,
com.sas.rmi.Connection connection,
com.sas.rmi.Rocf rocf,
java.lang.String title)
Abstract class. |
Method Summary | |
---|---|
protected void |
createRemoteObjects()
Creates an instance of Rocf. |
void |
dispose()
Called whenever the dialog is being destroyed. |
protected void |
disposeRemoteObjects()
Cleans up created remote objects. |
void |
initialize()
Initializes the RemoteObjectSelectorDialog. |
protected void |
registerRemoteBaseClient(com.sas.rmi.RemoteBaseClient rbc)
Registers a RemoteBaseClient. |
void |
setVisible(boolean newValue)
Sets the dialog visible. |
boolean |
wasCancelled()
Indicates whether or not the cancel button was pressed. |
boolean |
wasExceptionThrown()
Indicates whether or not an exception was thrown creating the remote objects. |
Methods inherited from class com.sas.visuals.OkCancelHelpDialog |
---|
actionPerformed, cancel, close, 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 |
---|
protected com.sas.rmi.Connection connection
protected com.sas.rmi.Rocf rocf
protected java.awt.Component owner
protected com.sas.collection.OrderedCollection remoteObjects
Constructor Detail |
---|
public RemoteObjectSelectorDialog(java.awt.Frame parent, java.awt.Component owner, com.sas.rmi.Connection connection, com.sas.rmi.Rocf rocf, java.lang.String title)
parent
- parent frame of the dialogowner
- owner of the dialog (may also be the parent)connection
- the connection objectrocf
- Rocf object used for remote object creationtitle
- the title of the dialogpublic RemoteObjectSelectorDialog(java.awt.Frame parent, java.awt.Component owner, com.sas.rmi.Connection connection, boolean cloneConnection, com.sas.rmi.Rocf rocf, java.lang.String title)
parent
- parent frame of the dialogowner
- owner of the dialog (may also be the parent)connection
- the connection objectrocf
- Rocf object used for remote object creationtitle
- the title of the dialogMethod Detail |
---|
protected void registerRemoteBaseClient(com.sas.rmi.RemoteBaseClient rbc)
rbc
- object to registerpublic void initialize()
initialize
in interface com.sas.ComponentInterface
initialize
in class DialogVisualComponent
ComponentInterface.initialize()
public void dispose()
dispose
in class Dialog
protected void disposeRemoteObjects()
public boolean wasCancelled()
wasCancelled
in class OkCancelHelpDialog
true
if the progress dialog was cancelled, false
otherwisepublic boolean wasExceptionThrown()
true
if the an exception was thrown creating the remote objects,
false
otherwisepublic void setVisible(boolean newValue)
setVisible
in interface VisualInterface
setVisible
in class OkCancelHelpDialog
newValue
- true
to set the dialog visible, false
otherwiseVisualInterface.setVisible(boolean)
protected void createRemoteObjects() throws java.lang.Exception
java.lang.Exception
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |