|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.lightdev.app.filemanager.ui.LoginDialog
public class LoginDialog
This dialog is used to collect credentials needed to log in to a remote file server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static int |
CANCEL_BTN
selection constant |
protected JButton |
cancelBtn
the cancel button |
protected int |
choice
the choice the user made, ok or cancel |
protected JButton |
delConBtn
the button to delete a connection |
static int |
OK_BTN
selection constant |
protected JButton |
okBtn
the ok button |
protected JButton |
saveConBtn
the button to save a connection |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| 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 | |
|---|---|
LoginDialog(Frame owner)
create a new instance of a LoginDialog object |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
handle actions from buttons |
protected void |
buildUi(List connections)
build user interface |
void |
deleteConnection()
|
boolean |
getEncrypted()
|
String |
getPassword()
get the password entered into this login dialog |
String |
getProxyPort()
|
String |
getProxyUrl()
|
int |
getSelection()
get the selection the user made from this dialog |
String |
getUrl()
|
String |
getUserId()
get the user id entered into this login dialog |
void |
saveConnection()
|
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected JButton okBtn
protected JButton cancelBtn
protected JButton saveConBtn
protected JButton delConBtn
protected int choice
public static final int OK_BTN
public static final int CANCEL_BTN
| Constructor Detail |
|---|
public LoginDialog(Frame owner)
throws HeadlessException
owner - the application that owns this dialog
HeadlessException| Method Detail |
|---|
public String getProxyUrl()
public String getProxyPort()
public boolean getEncrypted()
public String getUserId()
public String getUrl()
public String getPassword()
protected void buildUi(List connections)
public int getSelection()
public void deleteConnection()
public void saveConnection()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the event to handle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||