All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.samples.dips.sessauth.SessionAuthenticationDipCustomizer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.samples.dips.sessauth.SessionAuthenticationDipCustomizer

public class SessionAuthenticationDipCustomizer
extends Panel
implements Customizer, ActionListener
This object allows customization of the Session Authentication Dip using an AWT-based interaction with a user. The three items that are customizable are the class names to be used for the:

See Also:
SAPrincipal, SAPrincipalQuery, SAAuthenticator

Constructor Index

 o SessionAuthenticationDipCustomizer()
Constructs the Session Authentication Customizer.

Method Index

 o actionPerformed(ActionEvent)
Handle the Apply and Cancel buttons.
 o addPropertyChangeListener(PropertyChangeListener)
Registers a listener for the PropertyChange event.
 o getPreferredSize()
Returns this panel's preferred width and height.
 o removePropertyChangeListener(PropertyChangeListener)
Removes the listener from the list of objects to be notified when this customizer changes a property in the Session Authentication dip.
 o setObject(Object)
Sets the Session Authentication Dip object that this customizer is to customize.

Constructors

 o SessionAuthenticationDipCustomizer
 public SessionAuthenticationDipCustomizer()
Constructs the Session Authentication Customizer.

Methods

 o setObject
 public void setObject(Object objectToCustomize)
Sets the Session Authentication Dip object that this customizer is to customize.

Parameters:
objectToCustomize - The SessionAuthenticationDip instance to customize.
 o getPreferredSize
 public Dimension getPreferredSize()
Returns this panel's preferred width and height.

Returns:
A Dimension structure containing this panel's preferred width and height.
Overrides:
getPreferredSize in class Container
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Registers a listener for the PropertyChange event. This customizer fires a PropertyChange event when it changes the Session Authentication dip such that the displayed properties are to be refreshed.

Parameters:
listener - The object to be notified when this customizer changes a property.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes the listener from the list of objects to be notified when this customizer changes a property in the Session Authentication dip.

Parameters:
listener - The object to be removed from the list of listeners.
 o actionPerformed
 public void actionPerformed(ActionEvent event)
Handle the Apply and Cancel buttons.

Parameters:
event - The event that describes which action was performed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index