|
||||||||||
| 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
org.chorem.jtimer.ui.ws.SwingConnectionInformationHandler
public class SwingConnectionInformationHandler
Swing ConnectionInformationHandler.
| Nested Class Summary | |
|---|---|
protected class |
SwingConnectionInformationHandler.LoginListData
Data displayed in graphical list. |
| 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 | |
|---|---|
protected JList |
list
Displayed list |
protected org.jdesktop.application.LocalStorage |
localStorage
Local storage |
protected JButton |
okButton
Ok button |
protected org.jdesktop.application.ResourceMap |
resourceMap
I18n resources map |
protected JButton |
selectedButton
Clicked button |
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SwingConnectionInformationHandler(org.jdesktop.application.SingleFrameApplication application)
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
protected ConnectionData |
askUserForInformation(ProjectManagement managementService)
Add user for data (swing prompt). |
protected void |
buildUI(ProjectManagement managementService)
build ui. |
protected ConnectionData |
createNewConnectionInformation(ProjectManagement managementService)
Create, store, and return connection data. |
ConnectionData |
getConnectionInformation(ProjectManagement managementService)
Return connection information. |
protected String |
getStorageName(String resourceName)
Build storage name (common place). |
void |
valueChanged(ListSelectionEvent e)
|
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getAccessibleContext, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, paramString, 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 JList list
protected JButton okButton
protected JButton selectedButton
protected org.jdesktop.application.LocalStorage localStorage
protected org.jdesktop.application.ResourceMap resourceMap
| Constructor Detail |
|---|
public SwingConnectionInformationHandler(org.jdesktop.application.SingleFrameApplication application)
application - parent application reference| Method Detail |
|---|
protected String getStorageName(String resourceName)
resourceName - resource name
public ConnectionData getConnectionInformation(ProjectManagement managementService)
ConnectionDataHandler
getConnectionInformation in interface ConnectionDataHandlermanagementService - interface to remote service
protected ConnectionData createNewConnectionInformation(ProjectManagement managementService)
managementService - interface on remote service
protected ConnectionData askUserForInformation(ProjectManagement managementService)
managementService - interface on remote service
protected void buildUI(ProjectManagement managementService)
managementService - management servicepublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||