|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.browser.AuthenticationEvent
public class AuthenticationEvent
An AuthenticationEvent
is sent by a Browser
to AuthenticationListener
's when the Browser
navigates to a page that requires authentication. This event allows
a client to either supply authentication credentials, cancel the
authentication, or do nothing (which causes an authentication prompter
to be shown to the user).
Field Summary | |
---|---|
boolean |
doit
A flag indicating whether the authentication should proceed. |
String |
location
The location that triggered the authentication challenge |
String |
password
The password to authenticate with |
String |
user
The user name to authenticate with |
Fields inherited from class org.eclipse.swt.events.TypedEvent |
---|
data, display, time, widget |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
AuthenticationEvent(Widget widget)
Constructs a new instance of this class. |
Method Summary | |
---|---|
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String location
public String user
public String password
public boolean doit
false
will cancel the operation.
Constructor Detail |
---|
public AuthenticationEvent(Widget widget)
widget
- the widget that fired the eventMethod Detail |
---|
public String toString()
toString
in class TypedEvent
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.