|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--javax.swing.JDialog | +--planetj.gui.CMDialogJ | +--planetj.connections.AS400SignOnDialog
Field Summary |
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 | |
AS400SignOnDialog()
Constructor |
|
AS400SignOnDialog(CMFrameJ owner)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(CMFrameJ owner,
boolean modal)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(CMFrameJ owner,
String title)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(CMFrameJ owner,
String title,
boolean modal)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(Frame owner)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(Frame owner,
boolean modal)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(Frame owner,
String title)
AS400SignOnDialog constructor comment. |
|
AS400SignOnDialog(Frame owner,
String title,
boolean modal)
AS400SignOnDialog constructor comment. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Method to handle events for the ActionListener interface. |
void |
addAS400SignOnDialogListener(AS400SignOnDialogListener newListener)
|
void |
cancelClicked()
Comment |
void |
changedUpdate(DocumentEvent evt)
Gives notification that an attribute or set of attributes changed. |
void |
checkTextFields()
Checks to see if the all the spooled file information has been entered in order to enable the OK button |
String |
getExtraURLInfo()
Gets extra URL info for the SQL connection. |
int |
getMaxConnections()
The maximum number of connections in the connection pool |
int |
getMaxConnSeconds()
The maximum amount of time a connection can be kept open. |
int |
getMinConnections()
The minimum number of connections in the connection pool |
int |
getOrphanTimeout()
The orphan timeout specifies the amout of time an application can hold a connection without using it. |
String |
getSystem()
Gets the text in the system field |
String |
getSystemAlias()
When the signon is sucessful, a connection pool is created with the system alias property. |
String |
getUserId()
Gets the text in the user id field |
void |
insertUpdate(DocumentEvent evt)
Gives notification that there was an insert into the document. |
static void |
main(String[] args)
main entrypoint - starts the part when it is run as an application |
void |
passwordTFKeyReleased()
Comment |
void |
removeAS400SignOnDialogListener(AS400SignOnDialogListener newListener)
|
void |
removeUpdate(DocumentEvent evt)
Gives notification that a portion of the document has been removed. |
boolean |
resignOn()
Signs on again with the previous signon info. |
void |
setExtraURLInfo(String newExtraURLInfo)
Gets extra URL info for the SQL connection. |
void |
setMaxConnections(int newMaxConnections)
The maximum number of connections in the connection pool |
void |
setMaxConnSeconds(int newMaxConnSeconds)
The maximum amount of time a connection can be kept open. |
void |
setMinConnections(int newMinConnections)
The minimum number of connections in the connection pool |
void |
setOrphanTimeout(int seconds)
The orphan timeout specifies the amout of time an application can hold a connection without using it. |
void |
setSystem(String system)
The AS400 system to connect to |
void |
setSystemAlias(String newAlias)
When the signon is sucessful, a connection pool is created with the system alias property. |
void |
setUserID(String userID)
Insert the method's description here. |
boolean |
signOn(String system,
String userName,
char[] pPassword)
Signs on and connects to JMagic. |
void |
windowActivated(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosed(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosing(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeactivated(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeiconified(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowIconified(WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowOpened(WindowEvent e)
Method to handle events for the WindowListener interface. |
Methods inherited from class planetj.gui.CMDialogJ |
debugMessage, debugMessage, debugMessage, dispose, getClientProperties, getTimeInMills, getTranslation, getTranslationId, hide, isAlwaysOnTop, newCMDialogJ, putClientProperty, setAlwaysOnTop, setTimeInMills, setTitle, setTranslation, setVisible, show, showBusyCursor, showDefaultCursor, showException, showException |
Methods inherited from class javax.swing.JDialog |
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update |
Methods inherited from class java.awt.Dialog |
addNotify, getTitle, isModal, isResizable, isUndecorated, setModal, setResizable, setUndecorated |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AS400SignOnDialog()
public AS400SignOnDialog(Frame owner)
owner
- java.awt.Framepublic AS400SignOnDialog(Frame owner, String title)
owner
- java.awt.Frametitle
- java.lang.Stringpublic AS400SignOnDialog(Frame owner, String title, boolean modal)
owner
- java.awt.Frametitle
- java.lang.Stringmodal
- booleanpublic AS400SignOnDialog(Frame owner, boolean modal)
owner
- java.awt.Framemodal
- booleanpublic AS400SignOnDialog(CMFrameJ owner)
owner
- planetj.gui.CMFrameJpublic AS400SignOnDialog(CMFrameJ owner, String title)
owner
- planetj.gui.CMFrameJtitle
- java.lang.Stringpublic AS400SignOnDialog(CMFrameJ owner, String title, boolean modal)
owner
- planetj.gui.CMFrameJtitle
- java.lang.Stringmodal
- booleanpublic AS400SignOnDialog(CMFrameJ owner, boolean modal)
owner
- planetj.gui.CMFrameJmodal
- booleanMethod Detail |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- java.awt.event.ActionEventpublic void addAS400SignOnDialogListener(AS400SignOnDialogListener newListener)
newListener
- planetj.connections.AS400SignOnDialogListenerpublic void cancelClicked()
public void changedUpdate(DocumentEvent evt)
changedUpdate
in interface DocumentListener
evt
- javax.swing.event.DocumentEventpublic void checkTextFields()
public String getExtraURLInfo()
public int getMaxConnections()
public int getMaxConnSeconds()
public int getMinConnections()
public int getOrphanTimeout()
public String getSystem()
public String getSystemAlias()
public String getUserId()
public void insertUpdate(DocumentEvent evt)
insertUpdate
in interface DocumentListener
evt
- javax.swing.event.DocumentEventpublic static void main(String[] args)
args
- java.lang.String[]public void passwordTFKeyReleased()
public void removeAS400SignOnDialogListener(AS400SignOnDialogListener newListener)
newListener
- planetj.connections.AS400SignOnDialogListenerpublic void removeUpdate(DocumentEvent evt)
removeUpdate
in interface DocumentListener
evt
- javax.swing.event.DocumentEventpublic boolean resignOn()
public void setExtraURLInfo(String newExtraURLInfo)
public void setMaxConnections(int newMaxConnections)
public void setMaxConnSeconds(int newMaxConnSeconds)
public void setMinConnections(int newMinConnections)
public void setOrphanTimeout(int seconds)
public void setSystem(String system)
public void setSystemAlias(String newAlias)
public void setUserID(String userID)
public boolean signOn(String system, String userName, char[] pPassword)
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
e
- java.awt.event.WindowEventpublic void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
e
- java.awt.event.WindowEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |