Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.security.auth.callback
Class AWTCallbackHandler  view AWTCallbackHandler download AWTCallbackHandler.java

java.lang.Object
  extended bygnu.javax.security.auth.callback.AbstractCallbackHandler
      extended bygnu.javax.security.auth.callback.AWTCallbackHandler
All Implemented Interfaces:
java.awt.event.ActionListener, javax.security.auth.callback.CallbackHandler, java.util.EventListener, java.awt.event.WindowListener

public class AWTCallbackHandler
extends AbstractCallbackHandler
implements java.awt.event.ActionListener, java.awt.event.WindowListener


Field Summary
private static java.lang.String ACTION_CANCEL
           
private static java.lang.String ACTION_NO
           
private static java.lang.String ACTION_NONE
           
private static java.lang.String ACTION_OK
           
private static java.lang.String ACTION_YES
           
protected  java.lang.String actionCommand
           
 
Fields inherited from class gnu.javax.security.auth.callback.AbstractCallbackHandler
messages
 
Constructor Summary
AWTCallbackHandler()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          This method is invoked when an action occurs.
protected  void handleChoice(javax.security.auth.callback.ChoiceCallback c)
          Handles a javax.security.auth.callback.ChoiceCallback.
protected  void handleConfirmation(javax.security.auth.callback.ConfirmationCallback c)
          Handles a javax.security.auth.callback.ConfirmationCallback.
protected  void handleLanguage(javax.security.auth.callback.LanguageCallback c)
          Handles a javax.security.auth.callback.LanguageCallback.
protected  void handleName(javax.security.auth.callback.NameCallback c)
          Handles a javax.security.auth.callback.NameCallback.
protected  void handlePassword(javax.security.auth.callback.PasswordCallback c)
          Handles a javax.security.auth.callback.PasswordCallback.
protected  void handleTextInput(javax.security.auth.callback.TextInputCallback c)
          Handles a javax.security.auth.callback.TextInputCallback.
protected  void handleTextOutput(javax.security.auth.callback.TextOutputCallback c)
          Handles a javax.security.auth.callback.TextOutputCallback.
 void windowActivated(java.awt.event.WindowEvent we)
          This method is called when a window is activated.
 void windowClosed(java.awt.event.WindowEvent we)
          This method is called when the window is closed.
 void windowClosing(java.awt.event.WindowEvent we)
          This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.
 void windowDeactivated(java.awt.event.WindowEvent we)
          This method is called when the window is deactivated.
 void windowDeiconified(java.awt.event.WindowEvent we)
          This method is called when the window is deiconified.
 void windowIconified(java.awt.event.WindowEvent we)
          This method is called when the window is iconified.
 void windowOpened(java.awt.event.WindowEvent we)
          This method is called when the window is made visible.
 
Methods inherited from class gnu.javax.security.auth.callback.AbstractCallbackHandler
getInstance, getInstance, getInstance, getName, handle, handleOther
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionCommand

protected java.lang.String actionCommand

ACTION_CANCEL

private static final java.lang.String ACTION_CANCEL
See Also:
Constant Field Values

ACTION_NO

private static final java.lang.String ACTION_NO
See Also:
Constant Field Values

ACTION_NONE

private static final java.lang.String ACTION_NONE
See Also:
Constant Field Values

ACTION_OK

private static final java.lang.String ACTION_OK
See Also:
Constant Field Values

ACTION_YES

private static final java.lang.String ACTION_YES
See Also:
Constant Field Values
Constructor Detail

AWTCallbackHandler

public AWTCallbackHandler()
Method Detail

handleChoice

protected void handleChoice(javax.security.auth.callback.ChoiceCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.ChoiceCallback.

Specified by:
handleChoice in class AbstractCallbackHandler

handleConfirmation

protected void handleConfirmation(javax.security.auth.callback.ConfirmationCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.ConfirmationCallback.

Specified by:
handleConfirmation in class AbstractCallbackHandler

handleLanguage

protected void handleLanguage(javax.security.auth.callback.LanguageCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.LanguageCallback.

Specified by:
handleLanguage in class AbstractCallbackHandler

handleName

protected void handleName(javax.security.auth.callback.NameCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.NameCallback.

Specified by:
handleName in class AbstractCallbackHandler

handlePassword

protected void handlePassword(javax.security.auth.callback.PasswordCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.PasswordCallback.

Specified by:
handlePassword in class AbstractCallbackHandler

handleTextInput

protected void handleTextInput(javax.security.auth.callback.TextInputCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.TextInputCallback.

Specified by:
handleTextInput in class AbstractCallbackHandler

handleTextOutput

protected void handleTextOutput(javax.security.auth.callback.TextOutputCallback c)
Description copied from class: AbstractCallbackHandler
Handles a javax.security.auth.callback.TextOutputCallback.

Specified by:
handleTextOutput in class AbstractCallbackHandler

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.

Specified by:
windowClosing in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is made visible.

Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is closed.

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is iconified.

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deiconified.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when a window is activated. Only Frames and Dialogs can be active, and the active window always contains the component with focus.

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent we)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deactivated.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener