Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class LoginDlg

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended byoracle.dacf.control.swing.LoginDlg
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, Control, javax.infobus.DataItemChangeListener, java.util.EventListener, java.awt.image.ImageObserver, InfoBusManagerListener, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class LoginDlg
extends javax.swing.JDialog
implements java.awt.event.ActionListener, Control, InfoBusManagerListener

Class to fetch login information from the user

Version:
PUBLIC
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface oracle.dacf.control.Control
DEFAULT_INFOBUS_NAME, EVENT_PROPERTY_ROW, EVENT_PROPERTY_ROW_CHANGE, EVENT_PROPERTY_ROW_COUNT, EVENT_PROPERTY_VIEW_CHANGE, EVENT_PROPERTY_VIEW_REFRESHED, EVENT_PROPERTY_VIEW_SCROLLED, EXCLUDE, HIDE, SHOW
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
LoginDlg()
          Constructor
LoginDlg(java.lang.String title)
          Constructor with a title
LoginDlg(java.lang.String title, java.awt.Frame f, java.lang.String[] databaseURL, java.lang.String[] driverType)
          Constructor Construct the login dialog, specify only the connect string and dirver type fileds.
LoginDlg(java.lang.String title, java.awt.Frame f, java.lang.String user, java.lang.String password)
          Constructor Construct the login dialog, specify only the user and password fields
LoginDlg(java.lang.String title, java.awt.Frame f, java.lang.String user, java.lang.String password, java.lang.String[] databaseURL, java.lang.String[] driverType)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addNavigatedListener(NavigatedListener listener)
          not supported
 void addNavigatingListener(NavigatingListener listener)
          not supported
 void dataItemAdded(javax.infobus.DataItemAddedEvent event)
          Not supported.
 void dataItemChanged(java.lang.Object oldDataItem, java.lang.Object newDataItem)
          Notifies the control that the bound InfoBus DataItem has changed.
 void dataItemDeleted(javax.infobus.DataItemDeletedEvent event)
          Not supported.
 void dataItemRevoked(javax.infobus.DataItemRevokedEvent event)
          Not supported.
 void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent event)
          Not supported.
 java.awt.Component getComponent()
          Returns the AWT component associated with this control.
 java.lang.String getConnectString()
          Deprecated. no longer used
 java.lang.Object getDataItem()
          Returns the InfoBus DataItem this control is bound to.
 java.lang.String getDataItemName()
          Returns the name of the InfoBus DataItem this control is bound to.
 int getDialogExitCode()
          Deprecated. showDialog() returns the final status
 java.lang.String getDriverType()
          Deprecated. no longer used
 int getDriverTypeIndex()
          Deprecated. no longer used
 javax.swing.Icon getImageIcon()
          get the icon currently in use
 java.lang.String getInfoBusName()
          Returns the name of the InfoBus this control is connected to.
 java.lang.String getPassword()
          Deprecated. no longer used
 java.lang.String getUser()
          Deprecated. no longer used
 boolean isFocusValidated()
          Determines whether focus into this control causes validation to occur.
 boolean isShowApplicationModuleClass()
          Returns whether the LoginDlg displays a ApplicationModuleClass entry field.
 boolean isShowApplicationModuleType()
          Deprecated. setting this no longer has any effect
 boolean isShowConnectionMode()
          Deprecated. setting this no longer has any effect
 boolean isShowConnectionNames()
          Returns whether the LoginDlg displays a ConnectionNames entry field.
 boolean isShowConnectionURL()
          Returns whether the LoginDlg displays a ConnectionURL entry field.
 boolean isShowConnectString()
          Deprecated. superceded by #isShowDatabaseURL
 boolean isShowDatabaseURL()
          Returns whether the LoginDlg displays a databaseURL field.
 boolean isShowDbAccessDescriptor()
          Deprecated. setting this no longer has any effect
 boolean isShowDeploymentPlatform()
          Deprecated. setting this no longer has any effect
 boolean isShowDriverClass()
          Deprecated.  
 boolean isShowDriverType()
          Returns whether the LoginDlg displays a DriverType entry field.
 boolean isShowIIOPConnectionNames()
          Returns whether the LoginDlg displays a IIOP ConnectionNames entry field.
 boolean isShowLockingMode()
          Returns whether the LoginDlg displays a LockingMode entry field.
 boolean isShowPassword()
          Returns whether the LoginDlg displays a Password entry field.
 boolean isShowRemoteApplicationPath()
          Returns whether the LoginDlg displays a RemoteApplicationPath entry field.
 boolean isShowRemoteHost()
          Deprecated.  
 boolean isShowRemoteHostPort()
          Deprecated.  
 boolean isShowServerTimeout()
          Returns whether the LoginDlg displays a ServerTimeout entry field.
 boolean isShowUser()
          Returns whether the LoginDlg displays a User entry field.
 void processNavigatedEvent(NavigatedEvent event)
          not supported
 void processNavigatingEvent(NavigatingEvent event)
          Not supported.
protected  void processWindowEvent(java.awt.event.WindowEvent e)
          This method is called when a window event occurs.
 void releaseResources(InfoBusManagerReleaseEvent e)
          A signalling method used to indicate the the control should free all resources and unregister any listeners that it has registered.
 void removeNavigatedListener(NavigatedListener listener)
          not supported
 void removeNavigatingListener(NavigatingListener listener)
          not supported
 void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent event)
          Not supported.
 void setDataItemName(java.lang.String dataItemName)
          specify the name of the SessionInfo to connect to.
 void setDialogIcon(javax.swing.Icon i)
          Specify icon to be used in the dialog
 void setEnabled(boolean b)
          An override of java.awt.Component.setEnabled.
 void setFocusValidated(boolean focusValidated)
          Sets whether focus into this control causes validation to occur.
 void setInfoBusName(java.lang.String infoBusName)
          Sets the name of the InfoBus this control is connected to.
 void setShowApplicationModuleClass(boolean display)
          Sets whether the LoginDlg displays a ApplicationModuleClass entry field.
 void setShowApplicationModuleType(boolean display)
          Deprecated. setting this no longer has any effect
 void setShowConnectionMode(boolean display)
          Deprecated. setting this no longer has any effect
 void setShowConnectionNames(boolean display)
          Sets whether the LoginDlg displays a ConnectionNames selection field.
 void setShowConnectionURL(boolean display)
          Sets whether the LoginDlg displays a ConnectionURL entry field.
 void setShowConnectString(boolean display)
          Deprecated. superceded by #setShowDatabaseURL
 void setShowDatabaseURL(boolean display)
          Sets whether the LoginDlg displays a DatabaseURL entry field.
 void setShowDbAccessDescriptor(boolean display)
          Deprecated. setting this no longer has any effect
 void setShowDeploymentPlatform(boolean display)
          Deprecated. setting this no longer has any effect
 void setShowDriverClass(boolean display)
          Deprecated.  
 void setShowDriverType(boolean display)
          Sets whether the LoginDlg displays a DriverType entry field.
 void setShowIIOPConnectionNames(boolean display)
          Sets whether the LoginDlg displays a IIOP ConnectionNames selection field.
 void setShowLockingMode(boolean display)
          Sets whether the LoginDlg displays a LockingMode entry field.
 void setShowPassword(boolean display)
          Sets whether the LoginDlg displays a Password entry field.
 void setShowRemoteApplicationPath(boolean display)
          Sets whether the LoginDlg displays a RemoteApplicationPath entry field.
 void setShowRemoteHost(boolean display)
          Deprecated.  
 void setShowRemoteHostPort(boolean display)
          Deprecated.  
 void setShowServerTimeout(boolean display)
          Sets whether the LoginDlg displays a ServerTimeout entry field.
 void setShowUser(boolean display)
          Sets whether the LoginDlg displays a User entry field.
 void show()
          display the dialog and ask input from user
 int showDialog()
          display the dialog and ask input from user If user clicks OK, user, password and connect string will be set to user specified values otherwise null
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginDlg

public LoginDlg()
Constructor


LoginDlg

public LoginDlg(java.lang.String title)
Constructor with a title

Parameters:
title - for the dialog

LoginDlg

public LoginDlg(java.lang.String title,
                java.awt.Frame f,
                java.lang.String user,
                java.lang.String password)
Constructor Construct the login dialog, specify only the user and password fields

Parameters:
title - title for our dialog
f - frame to use as dialog's parent
user - user name
password - password

LoginDlg

public LoginDlg(java.lang.String title,
                java.awt.Frame f,
                java.lang.String[] databaseURL,
                java.lang.String[] driverType)
Constructor Construct the login dialog, specify only the connect string and dirver type fileds.

Parameters:
title - title for our dialog
f - frame to use as dialog's parent

LoginDlg

public LoginDlg(java.lang.String title,
                java.awt.Frame f,
                java.lang.String user,
                java.lang.String password,
                java.lang.String[] databaseURL,
                java.lang.String[] driverType)
Constructor

Parameters:
title - title for our dialog
f - frame to use as dialog's parent
user - user name
password - password
Method Detail

showDialog

public int showDialog()
display the dialog and ask input from user If user clicks OK, user, password and connect string will be set to user specified values otherwise null

Returns:
what the user chose to exit the dialog. Possible values are JOptionPane.OK_OPTION and JOptionPane.CANCEL_OPTION

show

public void show()
display the dialog and ask input from user


getDialogExitCode

public int getDialogExitCode()
Deprecated. showDialog() returns the final status


getUser

public java.lang.String getUser()
Deprecated. no longer used


getPassword

public java.lang.String getPassword()
Deprecated. no longer used


getConnectString

public java.lang.String getConnectString()
Deprecated. no longer used


getDriverType

public java.lang.String getDriverType()
Deprecated. no longer used


getDriverTypeIndex

public int getDriverTypeIndex()
Deprecated. no longer used


isShowUser

public boolean isShowUser()
Returns whether the LoginDlg displays a User entry field. If true, the LoginDlg will display the current value of User, allowing the value to be changed if desired.


setShowPassword

public void setShowPassword(boolean display)
Sets whether the LoginDlg displays a Password entry field.

If true, the LoginDlg will display the current value of Password, allowing the value to be changed if desired.


isShowPassword

public boolean isShowPassword()
Returns whether the LoginDlg displays a Password entry field. If true, the LoginDlg will display the current value of Password, allowing the value to be changed if desired.


setShowUser

public void setShowUser(boolean display)
Sets whether the LoginDlg displays a User entry field.

If true, the LoginDlg will display the current value of User, allowing the value to be changed if desired.


isShowDatabaseURL

public boolean isShowDatabaseURL()
Returns whether the LoginDlg displays a databaseURL field. If true, the LoginDlg will display the current value of databaseURL and the other selections, allowing the value to be changed if desired.


isShowConnectString

public boolean isShowConnectString()
Deprecated. superceded by #isShowDatabaseURL


setShowDatabaseURL

public void setShowDatabaseURL(boolean display)
Sets whether the LoginDlg displays a DatabaseURL entry field.

If true, the LoginDlg will display the current value of DatabaseURL and the other selections, allowing the value to be changed if desired. DatabaseURL works in conjunction with #setDriverType to define the connectionURL for Oracle JDBC drivers. DriverType is mutually exclusive of the ConnectionURL and DriverClass fields. Enabling the display of this field will disable those.


setShowConnectString

public void setShowConnectString(boolean display)
Deprecated. superceded by #setShowDatabaseURL


isShowDriverType

public boolean isShowDriverType()
Returns whether the LoginDlg displays a DriverType entry field. If true, the LoginDlg will display the current value of DriverType, allowing the value to be changed if desired.


setShowDriverType

public void setShowDriverType(boolean display)
Sets whether the LoginDlg displays a DriverType entry field.

If true, the LoginDlg will display the current value of DriverType, allowing the value to be changed if desired. DriverType works in conjunction with #setDatabaseURL to define the connectionURL for Oracle JDBC drivers. DriverType is mutually exclusive of the ConnectionURL and DriverClass fields. Enabling the display of this field will disable those.


isShowConnectionURL

public boolean isShowConnectionURL()
Returns whether the LoginDlg displays a ConnectionURL entry field. If true, the LoginDlg will display the current value of ConnectionURL, allowing the value to be changed if desired.


setShowConnectionURL

public void setShowConnectionURL(boolean display)
Sets whether the LoginDlg displays a ConnectionURL entry field.

If true, the LoginDlg will display the current value of ConnectionURL, allowing the value to be changed if desired. ConnectionURL is mutually exclusive of the DatabaseURL and DriverType fields. Enabling the display of this field will disable those.


isShowDriverClass

public boolean isShowDriverClass()
Deprecated.  

Returns whether the LoginDlg displays a DriverClass entry field. If true, the LoginDlg will display the current value of DriverClass, allowing the value to be changed if desired.


setShowDriverClass

public void setShowDriverClass(boolean display)
Deprecated.  

Sets whether the LoginDlg displays a DriverClass entry field.

If true, the LoginDlg will display the current value of DriverClass, allowing the value to be changed if desired. DriverClass is mutually exclusive of the DatabaseURL and DriverType fields. Enabling this field will disable those.


isShowConnectionNames

public boolean isShowConnectionNames()
Returns whether the LoginDlg displays a ConnectionNames entry field. If true, the LoginDlg will display the current value of ConnectionName, allowing the value to be changed if desired.


setShowIIOPConnectionNames

public void setShowIIOPConnectionNames(boolean display)
Sets whether the LoginDlg displays a IIOP ConnectionNames selection field.

If true, the LoginDlg will display the available IIOP connection names.


isShowIIOPConnectionNames

public boolean isShowIIOPConnectionNames()
Returns whether the LoginDlg displays a IIOP ConnectionNames entry field. If true, the LoginDlg will display the current value of IIOP ConnectionName, allowing the value to be changed if desired.


setShowConnectionNames

public void setShowConnectionNames(boolean display)
Sets whether the LoginDlg displays a ConnectionNames selection field.

If true, the LoginDlg will display the available connection names.


isShowApplicationModuleType

public boolean isShowApplicationModuleType()
Deprecated. setting this no longer has any effect

Returns whether the LoginDlg displays a ApplicationModuleType entry field. If true, the LoginDlg will display the current value of ApplicationModuleType, allowing the value to be changed if desired.


setShowApplicationModuleType

public void setShowApplicationModuleType(boolean display)
Deprecated. setting this no longer has any effect

Sets whether the LoginDlg displays a ApplicationModuleType entry field.

If true, the LoginDlg will display the current value of ApplicationModuleType, allowing the value to be changed if desired.


isShowApplicationModuleClass

public boolean isShowApplicationModuleClass()
Returns whether the LoginDlg displays a ApplicationModuleClass entry field. If true, the LoginDlg will display the current value of ApplicationModuleClass, allowing the value to be changed if desired.


setShowApplicationModuleClass

public void setShowApplicationModuleClass(boolean display)
Sets whether the LoginDlg displays a ApplicationModuleClass entry field.

If true, the LoginDlg will display the current value of ApplicationModuleClass, allowing the value to be changed if desired.


isShowLockingMode

public boolean isShowLockingMode()
Returns whether the LoginDlg displays a LockingMode entry field. If true, the LoginDlg will display the current value of LockingMode, allowing the value to be changed if desired.


setShowLockingMode

public void setShowLockingMode(boolean display)
Sets whether the LoginDlg displays a LockingMode entry field.

If true, the LoginDlg will display the current value of LockingMode, allowing the value to be changed if desired.


isShowServerTimeout

public boolean isShowServerTimeout()
Returns whether the LoginDlg displays a ServerTimeout entry field. If true, the LoginDlg will display the current value of ServerTimeout, allowing the value to be changed if desired.


setShowServerTimeout

public void setShowServerTimeout(boolean display)
Sets whether the LoginDlg displays a ServerTimeout entry field.

If true, the LoginDlg will display the current value of ServerTimeout, allowing the value to be changed if desired.


isShowDeploymentPlatform

public boolean isShowDeploymentPlatform()
Deprecated. setting this no longer has any effect

Returns whether the LoginDlg displays a DeploymentPlatform entry field. If true, the LoginDlg will display the current value of DeploymentPlatform, allowing the value to be changed if desired.


setShowDeploymentPlatform

public void setShowDeploymentPlatform(boolean display)
Deprecated. setting this no longer has any effect

Sets whether the LoginDlg displays a DeploymentPlatform entry field.

If true, the LoginDlg will display the current value of DeploymentPlatform, allowing the value to be changed if desired.


isShowConnectionMode

public boolean isShowConnectionMode()
Deprecated. setting this no longer has any effect

Returns whether the LoginDlg displays a ConnectionMode entry field. If true, the LoginDlg will display the current value of ConnectionMode, allowing the value to be changed if desired.


setShowConnectionMode

public void setShowConnectionMode(boolean display)
Deprecated. setting this no longer has any effect

Sets whether the LoginDlg displays a ConnectionMode entry field.

If true, the LoginDlg will display the current value of ConnectionMode, allowing the value to be changed if desired.


isShowRemoteHost

public boolean isShowRemoteHost()
Deprecated.  

Returns whether the LoginDlg displays a RemoteHost entry field. If true, the LoginDlg will display the current value of RemoteHost, allowing the value to be changed if desired. This method is depreceated. Use isShowIIOPConnectionName


setShowRemoteHost

public void setShowRemoteHost(boolean display)
Deprecated.  

Sets whether the LoginDlg displays a RemoteHost entry field.

If true, the LoginDlg will display the current value of RemoteHost, allowing the value to be changed if desired. This method is depreceated. Use setShowIIOPConnectionName


isShowRemoteHostPort

public boolean isShowRemoteHostPort()
Deprecated.  

Returns whether the LoginDlg displays a RemoteHostPort entry field. If true, the LoginDlg will display the current value of RemoteHostPort, allowing the value to be changed if desired. This method is depreceated. Use isShowIIOPConnectionName


setShowRemoteHostPort

public void setShowRemoteHostPort(boolean display)
Deprecated.  

Sets whether the LoginDlg displays a RemoteHostPort entry field.

If true, the LoginDlg will display the current value of RemoteHostPort, allowing the value to be changed if desired. This method is depreceated. Use isShowIIOPConnectionName


isShowRemoteApplicationPath

public boolean isShowRemoteApplicationPath()
Returns whether the LoginDlg displays a RemoteApplicationPath entry field. If true, the LoginDlg will display the current value of RemoteApplicationPath, allowing the value to be changed if desired.


setShowRemoteApplicationPath

public void setShowRemoteApplicationPath(boolean display)
Sets whether the LoginDlg displays a RemoteApplicationPath entry field.

If true, the LoginDlg will display the current value of RemoteApplicationPath, allowing the value to be changed if desired.


setShowDbAccessDescriptor

public void setShowDbAccessDescriptor(boolean display)
Deprecated. setting this no longer has any effect

Sets whether the LoginDlg displays a DbAccess Descriptor entry field.

If true, the LoginDlg will display the current value of DbAccess Descriptor, allowing the value to be changed if desired.


isShowDbAccessDescriptor

public boolean isShowDbAccessDescriptor()
Deprecated. setting this no longer has any effect

Returns whether the LoginDlg displays a DbAccess descriptor entry field. If true, the LoginDlg will display the current value of DbAccess Descriptor, allowing the value to be changed if desired.


setDataItemName

public void setDataItemName(java.lang.String dataItemName)
specify the name of the SessionInfo to connect to. The LoginDlg will use the corresponding SessionInfo object to connect to the database.

Specified by:
setDataItemName in interface Control
Parameters:
dataItemName - : name of the session to connect to
See Also:
Control.getDataItem(), ControlSupport.setDataItemName(java.lang.String)

getDataItemName

public java.lang.String getDataItemName()
Description copied from interface: Control
Returns the name of the InfoBus DataItem this control is bound to.

Most controls should delegate this method to ControlSupport.

Specified by:
getDataItemName in interface Control
Returns:
name of the Session we are bound to
See Also:
Control.getDataItem(), ControlSupport.getDataItemName()

setDialogIcon

public void setDialogIcon(javax.swing.Icon i)
Specify icon to be used in the dialog

Parameters:
i - icon to be used in the dialog

getImageIcon

public javax.swing.Icon getImageIcon()
get the icon currently in use

Returns:
icon currently in use

releaseResources

public void releaseResources(InfoBusManagerReleaseEvent e)
Description copied from interface: InfoBusManagerListener
A signalling method used to indicate the the control should free all resources and unregister any listeners that it has registered.

Specified by:
releaseResources in interface InfoBusManagerListener

setEnabled

public void setEnabled(boolean b)
An override of java.awt.Component.setEnabled.

Specified by:
setEnabled in interface Control
Parameters:
b - boolean flag indicating whether the control is enabled

getInfoBusName

public java.lang.String getInfoBusName()
Returns the name of the InfoBus this control is connected to.

Specified by:
getInfoBusName in interface Control
Returns:
The name of the InfoBus this control is connected to.
See Also:
ControlSupport.getInfoBusName()

setInfoBusName

public void setInfoBusName(java.lang.String infoBusName)
Sets the name of the InfoBus this control is connected to.

By default, the control is connected to the default InfoBus, named DEFAULT_INFOBUS_NAME.

If the named InfoBus does not exist, it is created automatically.

If the control is already connected to an InfoBus, it is disconnected first.

Specified by:
setInfoBusName in interface Control
Parameters:
infoBusName - The name of the InfoBus to connect to.
See Also:
Control.DEFAULT_INFOBUS_NAME, ControlSupport.setInfoBusName(java.lang.String)

getDataItem

public java.lang.Object getDataItem()
Returns the InfoBus DataItem this control is bound to.

Most controls should delegate this method to ControlSupport.

Specified by:
getDataItem in interface Control
Returns:
The InfoBus DataItem this control is bound to, or null if the control is unbound.
See Also:
ControlSupport#getDataItem

dataItemChanged

public void dataItemChanged(java.lang.Object oldDataItem,
                            java.lang.Object newDataItem)
Notifies the control that the bound InfoBus DataItem has changed.

The control can safely ignore this notification.

Specified by:
dataItemChanged in interface Control
Parameters:
oldDataItem - The formerly bound DataItem (can be null).
newDataItem - The newly bound DataItem (can be null).

getComponent

public java.awt.Component getComponent()
Returns the AWT component associated with this control.

Specified by:
getComponent in interface Control
Returns:
The AWT component for this control.

isFocusValidated

public boolean isFocusValidated()
Determines whether focus into this control causes validation to occur.

Most controls should delegate this method to ControlSupport.

Specified by:
isFocusValidated in interface Control
Returns:
true if focus into this control causes validation to occur, false otherwise.
See Also:
ControlSupport#isFocusValidated

setFocusValidated

public void setFocusValidated(boolean focusValidated)
Sets whether focus into this control causes validation to occur.

Most controls should delegate this method to ControlSupport.

Specified by:
setFocusValidated in interface Control
Parameters:
focusValidated - If true, focus into this control will cause validation to occur.
See Also:
ControlSupport#setFocusValidated

addNavigatedListener

public void addNavigatedListener(NavigatedListener listener)
not supported

Specified by:
addNavigatedListener in interface Control
Parameters:
listener - The listener to add.
See Also:
ControlSupport.addNavigatedListener(oracle.dacf.control.NavigatedListener)

removeNavigatedListener

public void removeNavigatedListener(NavigatedListener listener)
not supported

Specified by:
removeNavigatedListener in interface Control
Parameters:
listener - The listener to remove.
See Also:
ControlSupport.removeNavigatedListener(oracle.dacf.control.NavigatedListener)

processNavigatedEvent

public void processNavigatedEvent(NavigatedEvent event)
not supported

Specified by:
processNavigatedEvent in interface Control
Parameters:
event - The navigated event.
See Also:
ControlSupport.processNavigatedEvent(oracle.dacf.control.NavigatedEvent)

addNavigatingListener

public void addNavigatingListener(NavigatingListener listener)
not supported

Specified by:
addNavigatingListener in interface Control
Parameters:
listener - The listener to add.
See Also:
ControlSupport.addNavigatedListener(oracle.dacf.control.NavigatedListener)

removeNavigatingListener

public void removeNavigatingListener(NavigatingListener listener)
not supported

Specified by:
removeNavigatingListener in interface Control
Parameters:
listener - The listener to remove.
See Also:
ControlSupport.removeNavigatedListener(oracle.dacf.control.NavigatedListener)

processNavigatingEvent

public void processNavigatingEvent(NavigatingEvent event)
                            throws NavigatingException
Not supported.

Specified by:
processNavigatingEvent in interface Control
Parameters:
event - The navigating event.
Throws:
NavigatingException - If the navigation is redirected to a different control.
See Also:
ControlSupport.processNavigatedEvent(oracle.dacf.control.NavigatedEvent)

rowsetCursorMoved

public final void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent event)
Not supported.

Specified by:
rowsetCursorMoved in interface javax.infobus.DataItemChangeListener
Parameters:
event - Contains details of the cursor move.
See Also:
DataItemChangeListener.rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent)

dataItemValueChanged

public final void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent event)
Not supported.

Specified by:
dataItemValueChanged in interface javax.infobus.DataItemChangeListener
Parameters:
event - Contains change information.
See Also:
DataItemChangeListener.dataItemValueChanged(javax.infobus.DataItemValueChangedEvent)

dataItemAdded

public final void dataItemAdded(javax.infobus.DataItemAddedEvent event)
Not supported.

Specified by:
dataItemAdded in interface javax.infobus.DataItemChangeListener
Parameters:
event - Contains details of the addition.
See Also:
DataItemChangeListener.dataItemAdded(javax.infobus.DataItemAddedEvent)

dataItemDeleted

public final void dataItemDeleted(javax.infobus.DataItemDeletedEvent event)
Not supported.

Specified by:
dataItemDeleted in interface javax.infobus.DataItemChangeListener
Parameters:
event - Contains details of the deletion.
See Also:
DataItemChangeListener.dataItemDeleted(javax.infobus.DataItemDeletedEvent)

dataItemRevoked

public final void dataItemRevoked(javax.infobus.DataItemRevokedEvent event)
Not supported.

Specified by:
dataItemRevoked in interface javax.infobus.DataItemChangeListener
Parameters:
event - Contains details of the revoked data.
See Also:
DataItemChangeListener.dataItemRevoked(javax.infobus.DataItemRevokedEvent)

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
This method is called when a window event occurs.

Parameters:
e - the event which caused this method to be called

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.