com.sas.sasserver
Class EISSelectorDialog

com.sas.sasserver.EISSelectorDialog
All Implemented Interfaces:
ContainerInterface, VisualInterface, com.sas.beans.PropertyChangeSource, com.sas.beans.VetoableChangeSource, com.sas.ComponentInterface, com.sas.DesignTimeDropTargetInterface, com.sas.lang.StringDataInterface, com.sas.LinkPropertiesInterface, com.sas.ModelInterface, ValidatorInterface, com.sas.ViewInterface, MultipleValueEventSourceInterface, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.ObjectInputValidation, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class EISSelectorDialog
implements java.awt.event.ItemListener

EISSelectorDialog is a dialog that allows selection of eis entries.

See Also:
Serialized Form

Field Summary
protected  ListBox catalogEntryListBox
          ListBox used to display the eis application entries.
protected  ListBox catalogListBox
          ListBox used to display catalogs.
protected  ListBox libraryListBox
          ListBox used to display libraries.
protected  com.sas.sasserver.metabaselist.MetabaseListInterface metabaseList
          MetabaseListInterface object used to retrieve eis application information.
static java.lang.String RB_KEY
           
 
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
EISSelectorDialog(java.awt.Frame parent, java.awt.Component owner, com.sas.rmi.Connection connection, boolean cloneConnection, com.sas.rmi.Rocf rocf, java.lang.String eisEntry)
          Constructs an EISSelectorDialog.
EISSelectorDialog(java.awt.Frame parent, java.awt.Component owner, com.sas.rmi.Connection connection, com.sas.rmi.Rocf rocf, java.lang.String eisEntry)
          Constructs an EISSelectorDialog.
EISSelectorDialog(java.awt.Frame parent, com.sas.rmi.Connection connection, com.sas.rmi.Rocf rocf, java.lang.String eisEntry)
          Deprecated. Use EISSelectorDialog(Frame, Component, Connection, Rocf, String)
 
Method Summary
protected  void createRemoteObjects()
          Creates an instance of MetabaseListInterface.
protected  void disposeRemoteObjects()
          Clears existing remote objects.
 java.lang.String getEISEntry()
          Returns the full name of the selected eis application entry.
 void initialize()
          Initializes the selector dialog.
 void itemStateChanged(java.awt.event.ItemEvent event)
          Handles 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, 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 class com.sas.awt.DialogContainerComponent
addNotify, clone, dragEnter, dragLeave, dragOver, drop, getContainerInterfaceSupportInfo, getErrorHandler, getInsets, getValidator, isIDEDnDDropBarrier, isIDEDnDDropTarget, isValid, removeNotify, setContainerInterfaceSupportInfo, setDefaultValues, setErrorHandler, setIDEDnDDropBarrier, setIDEDnDDropTarget, setInsets, setInsets, setValidator, superAddNotify, superGetInsets, superRemoveNotify, superSetDefaultValues
 
Methods inherited from class com.sas.awt.DialogVisualComponent
addLink, addPropertyChangeListener, addVetoableChangeListener, anyPropertyChangeListeners, attachModel, attachView, computePreferredSize, detachModel, detachView, dumpComponent, firePropertyChange, firePropertyChange, fireVetoableChange, getBackgroundColor, getBorder, getComponentDescription, getComponentSupportInfo, getEventMethod, getEventValues, getFont, getForegroundColor, getHeight, getHorizontalPosition, getLinkInfo, getMinimumSize, getModelInterface, getPreferredSize, getPrePainter, getRequiredInterfaces, getVerticalPosition, getViewInterfaceSupportInfo, getVisualInterfaceSupportInfo, getWidth, initializeComponent, isDesignTime, isEnabled, isFocus, isLinked, isTransparent, isVisible, paint, propertyChange, queryLinks, queryLinks, refresh, removeAllLinks, removeInterfaceTraps, removeLink, removePropertyChangeListener, removeVetoableChangeListener, setBackgroundColor, setBorder, setBounds, setComponentDescription, setComponentSupportInfo, setEnabled, setFocus, setFont, setForegroundColor, setHeight, setHorizontalPosition, setLinkInfo, setModelInterface, setPreferredSize, setPrePainter, setRequiredInterfaces, setTransparent, setVerticalPosition, setViewInterfaceSupportInfo, setVisualInterfaceSupportInfo, setWidth, superGetFont, superGetMinimumSize, superGetPreferredSize, superIsEnabled, superIsVisible, superPaint, superSetBounds, superSetEnabled, superSetFont, superSetVisible, superUpdate, supportsListenerInterface, supportsRequiredInterfaces, trapInterfaceEvents, update, validateObject
 
Methods inherited from interface com.sas.awt.ContainerInterface
getComponents, getLayout, invalidate, setLayout, validate
 
Methods inherited from interface com.sas.awt.VisualInterface
computePreferredSize, getBackgroundColor, getBorder, getFont, getForegroundColor, getHeight, getHorizontalPosition, getMinimumSize, getPreferredSize, getPrePainter, getVerticalPosition, getVisualInterfaceSupportInfo, getWidth, isEnabled, isFocus, isTransparent, isVisible, setBackgroundColor, setBorder, setBounds, setEnabled, setFocus, setFont, setForegroundColor, setHeight, setHorizontalPosition, setPreferredSize, setPrePainter, setTransparent, setVerticalPosition, setVisualInterfaceSupportInfo, setWidth, superGetFont, superGetMinimumSize, superGetPreferredSize, superIsEnabled, superIsVisible, superPaint, superSetBounds, superSetEnabled, superSetFont, superSetVisible, superUpdate
 

Field Detail

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values

metabaseList

protected com.sas.sasserver.metabaselist.MetabaseListInterface metabaseList
MetabaseListInterface object used to retrieve eis application information.


libraryListBox

protected ListBox libraryListBox
ListBox used to display libraries.


catalogListBox

protected ListBox catalogListBox
ListBox used to display catalogs.


catalogEntryListBox

protected ListBox catalogEntryListBox
ListBox used to display the eis application entries.

Constructor Detail

EISSelectorDialog

public EISSelectorDialog(java.awt.Frame parent,
                         com.sas.rmi.Connection connection,
                         com.sas.rmi.Rocf rocf,
                         java.lang.String eisEntry)
Deprecated. Use EISSelectorDialog(Frame, Component, Connection, Rocf, String)

Constructs an EISSelectorDialog.

Parameters:
parent - the parent frame
connection - the connection object
rocf - the rocf object used to create the remote objects
library - the initial library to select, may be null

EISSelectorDialog

public EISSelectorDialog(java.awt.Frame parent,
                         java.awt.Component owner,
                         com.sas.rmi.Connection connection,
                         com.sas.rmi.Rocf rocf,
                         java.lang.String eisEntry)
Constructs an EISSelectorDialog. The connection object argument is cloned before it is used.

Parameters:
parent - the parent frame
owner - the owner of the dialog, may also be the parent
connection - the connection object
rocf - the rocf object used to create the remote objects
library - the initial library to select, may be null

EISSelectorDialog

public EISSelectorDialog(java.awt.Frame parent,
                         java.awt.Component owner,
                         com.sas.rmi.Connection connection,
                         boolean cloneConnection,
                         com.sas.rmi.Rocf rocf,
                         java.lang.String eisEntry)
Constructs an EISSelectorDialog.

Parameters:
parent - the parent frame
owner - the owner of the dialog, may also be the parent
connection - the connection object
cloneConnection -
rocf - the rocf object used to create the remote objects
library - the initial library to select, may be null
Method Detail

initialize

public void initialize()
Initializes the selector dialog. This must be called.

Specified by:
initialize in interface com.sas.ComponentInterface
Overrides:
initialize in class RemoteObjectSelectorDialog
See Also:
RemoteObjectSelectorDialog.initialize()

createRemoteObjects

protected void createRemoteObjects()
                            throws java.lang.Exception
Creates an instance of MetabaseListInterface.

Overrides:
createRemoteObjects in class RemoteObjectSelectorDialog
Throws:
java.lang.Exception
See Also:
RemoteObjectSelectorDialog.createRemoteObjects()

disposeRemoteObjects

protected void disposeRemoteObjects()
Clears existing remote objects.

Overrides:
disposeRemoteObjects in class RemoteObjectSelectorDialog
See Also:
RemoteObjectSelectorDialog.disposeRemoteObjects()

getEISEntry

public java.lang.String getEISEntry()
Returns the full name of the selected eis application entry.

Returns:
the full name of the selected eis application entry.

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent event)
Handles ItemEvent processing.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener
See Also:
ItemListener.itemStateChanged(java.awt.event.ItemEvent)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.