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

Quick Search    Search Deep

com.cybertivity.powerjournal.framework
Class DialogView  view DialogView download DialogView.java

java.lang.Object
  extended byjava.util.Observable
      extended bycom.cybertivity.powerjournal.framework.View
          extended bycom.cybertivity.powerjournal.framework.DialogView
All Implemented Interfaces:
java.util.Observer
Direct Known Subclasses:
ButtonView

public abstract class DialogView
extends View

Description of the Class


Nested Class Summary
private  class DialogView.AllActionListener
          DialogView has one instance of this.
private  class DialogView.DeadlyWindowListener
          When the window dies, behave like the Cancel button was clicked.
 
Field Summary
protected  DialogView.AllActionListener actionListener
           
protected  javax.swing.JDialog content
           
 
Fields inherited from class java.util.Observable
 
Constructor Summary
DialogView()
          Constructor for the DialogView object
DialogView(javax.swing.JFrame parent, boolean modal)
          Constructor for the DialogView object
 
Method Summary
 void closeDialog()
          Destroy myself.
 javax.swing.JDialog getContent()
          Return my content -- the JDialog instance.
 boolean isVisible()
          Get the dialog's visible state.
 void moveToCenter()
           
 void setVisible(boolean visible)
          Show or hide the dialog.
 
Methods inherited from class com.cybertivity.powerjournal.framework.View
cleanUp, fireEvent, fireEvent, handleModelEvent, 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

content

protected javax.swing.JDialog content

actionListener

protected DialogView.AllActionListener actionListener
Constructor Detail

DialogView

public DialogView()
Constructor for the DialogView object


DialogView

public DialogView(javax.swing.JFrame parent,
                  boolean modal)
Constructor for the DialogView object

Method Detail

setVisible

public void setVisible(boolean visible)
Show or hide the dialog.


getContent

public javax.swing.JDialog getContent()
Return my content -- the JDialog instance.


isVisible

public boolean isVisible()
Get the dialog's visible state.


closeDialog

public void closeDialog()
Destroy myself.


moveToCenter

public void moveToCenter()