Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.cybertivity.powerjournal
Class ChooseJournalView  view ChooseJournalView download ChooseJournalView.java

java.lang.Object
  extended byjava.util.Observable
      extended bycom.cybertivity.powerjournal.framework.View
          extended bycom.cybertivity.powerjournal.framework.DialogView
              extended bycom.cybertivity.powerjournal.ChooseJournalView
All Implemented Interfaces:
java.util.Observer

public class ChooseJournalView
extends com.cybertivity.powerjournal.framework.DialogView

Title: PowerJournal Description: $Id: ChooseJournalView.java,v 1.6 2001/12/12 02:41:10 arrowood Exp $ Copyright: Copyright (c) 2001 Company: Cybertivity

Version:
1.0

Nested Class Summary
(package private)  class ChooseJournalView.CheckboxListener
           
private  class ChooseJournalView.DeadlyWindowListener
           
(package private)  class ChooseJournalView.KeyPressListener
           
 
Nested classes inherited from class com.cybertivity.powerjournal.framework.DialogView
 
Field Summary
private  javax.swing.JButton cancelButton
           
static java.lang.String EVENT_CANCEL
           
static java.lang.String EVENT_NEW_JOURNAL
           
static java.lang.String EVENT_OK
           
private  javax.swing.JCheckBox isGuest
           
private  javax.swing.JPasswordField journalPasswordTextField
           
private  java.util.ArrayList journals
           
private  javax.swing.JComboBox journalsCombo
           
private  javax.swing.JButton newButton
           
private  javax.swing.JButton okButton
           
 
Fields inherited from class com.cybertivity.powerjournal.framework.DialogView
actionListener, content
 
Fields inherited from class java.util.Observable
 
Constructor Summary
ChooseJournalView(javax.swing.JFrame parent, java.util.ArrayList journalsArg)
           
 
Method Summary
protected  void cleanUp()
           
private  javax.swing.JPanel createButtonPanel()
           
private  javax.swing.JPanel createMainPanel()
           
private  com.cybertivity.powerjournal.gridpanel.GridPanelColumn createMainPanelLeftColumn()
           
private  com.cybertivity.powerjournal.gridpanel.GridPanelColumn createMainPanelRightColumn()
           
private  void createWindow()
           
 java.lang.String getJournalName()
           
 java.lang.String getJournalPassword()
           
 java.util.ArrayList getJournals()
           
protected  void handleModelEvent(com.cybertivity.powerjournal.framework.ModelEvent event)
           
 boolean isGuest()
           
private  javax.swing.JButton makeButton(java.lang.String name, java.lang.String action, java.awt.Color color)
           
 void setJournals(java.util.ArrayList _journals)
           
 void setVisible(boolean arg)
          Show or hide the dialog.
 
Methods inherited from class com.cybertivity.powerjournal.framework.DialogView
closeDialog, getContent, isVisible, moveToCenter
 
Methods inherited from class com.cybertivity.powerjournal.framework.View
fireEvent, fireEvent, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_CANCEL

public static final java.lang.String EVENT_CANCEL
See Also:
Constant Field Values

EVENT_OK

public static final java.lang.String EVENT_OK
See Also:
Constant Field Values

EVENT_NEW_JOURNAL

public static final java.lang.String EVENT_NEW_JOURNAL
See Also:
Constant Field Values

okButton

private javax.swing.JButton okButton

cancelButton

private javax.swing.JButton cancelButton

newButton

private javax.swing.JButton newButton

journalPasswordTextField

private javax.swing.JPasswordField journalPasswordTextField

journalsCombo

private javax.swing.JComboBox journalsCombo

journals

private java.util.ArrayList journals

isGuest

private javax.swing.JCheckBox isGuest
Constructor Detail

ChooseJournalView

public ChooseJournalView(javax.swing.JFrame parent,
                         java.util.ArrayList journalsArg)
Method Detail

createWindow

private void createWindow()

setVisible

public void setVisible(boolean arg)
Description copied from class: com.cybertivity.powerjournal.framework.DialogView
Show or hide the dialog.


createMainPanel

private javax.swing.JPanel createMainPanel()

createMainPanelLeftColumn

private com.cybertivity.powerjournal.gridpanel.GridPanelColumn createMainPanelLeftColumn()

createMainPanelRightColumn

private com.cybertivity.powerjournal.gridpanel.GridPanelColumn createMainPanelRightColumn()

createButtonPanel

private javax.swing.JPanel createButtonPanel()

makeButton

private javax.swing.JButton makeButton(java.lang.String name,
                                       java.lang.String action,
                                       java.awt.Color color)

isGuest

public boolean isGuest()

getJournalName

public java.lang.String getJournalName()

getJournalPassword

public java.lang.String getJournalPassword()

cleanUp

protected void cleanUp()

handleModelEvent

protected void handleModelEvent(com.cybertivity.powerjournal.framework.ModelEvent event)

getJournals

public java.util.ArrayList getJournals()

setJournals

public void setJournals(java.util.ArrayList _journals)