|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.purl.sword.client.ServiceDialog
public class ServiceDialog
Dialog that prompts the user to enter the details for a service document location.
| Constructor Summary | |
|---|---|
ServiceDialog(JFrame parentFrame)
Create a new instance. |
|
| Method Summary | |
|---|---|
void |
addOnBehalfOf(String[] users)
Add a list of onBehalfOf names. |
void |
addServiceUrls(String[] services)
Add the list of service URLs. |
void |
addUserIds(String[] users)
Add the list of user ids to the dialog. |
protected JPanel |
createControls()
Create the controls that are displayed in the dialog. |
String |
getLocation()
The location from the dialog. |
String |
getOnBehalfOf()
The onBehalfOf value from the dialog. |
String |
getPassword()
Get the password from the dialog. |
String |
getUsername()
Get the username from the controls on the dialog. |
int |
show()
Show the dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceDialog(JFrame parentFrame)
parentFrame - The parent frame. The dialog will be shown over the
centre of this frame.| Method Detail |
|---|
public int show()
protected final JPanel createControls()
public String getUsername()
public String getPassword()
public String getLocation()
public String getOnBehalfOf()
public void addUserIds(String[] users)
users - The list of user ids.public void addServiceUrls(String[] services)
services - The service URLs.public void addOnBehalfOf(String[] users)
users - The list of onBehalfOf items.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||