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

Quick Search    Search Deep

com.loihl.swing
Class AboutDialog  view AboutDialog download AboutDialog.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended bycom.loihl.swing.AboutDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.awt.event.WindowListener

public class AboutDialog
extends java.awt.Dialog
implements java.awt.event.ActionListener, java.awt.event.WindowListener


Nested Class Summary
 
Nested classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  java.lang.String AUTHOR_TEXT
           
private  int HEIGHT
           
private  java.lang.String m_Author
           
private  java.awt.Label m_AuthorLabel
           
private  java.awt.Button m_OKButton
           
private  java.lang.String m_ProgramName
           
private  java.awt.Label m_ProgramNameLabel
           
private  java.lang.String m_Version
           
private  java.awt.Label m_VersionLabel
           
private  java.lang.String PROGRAM_NAME_TEXT
           
private  java.lang.String VERSION_TEXT
           
private  int WIDTH
           
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
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, PROPERTIES, SOMEBITS
 
Constructor Summary
AboutDialog(java.awt.Frame parent)
          AboutDialog constructor: handle simple reference to the Frame passed in.
AboutDialog(java.awt.Frame parent, boolean modal)
          AboutDialog constructor: Handle simple reference to the Frame passed in.
AboutDialog(java.awt.Frame parent, java.lang.String version, java.lang.String author)
          AboutDialog constructor: Establishes title from the Frame parent, no Version info defaults to modal window
AboutDialog(java.awt.Frame parent, java.lang.String programName, java.lang.String version, java.lang.String author, boolean modal)
          AboutDialog constructor: Full constructor for maximum flexibility.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Method:actionPerformed Description:Event handler for AboutDialog Class
private  java.awt.Label getAuthorLabel()
          Method: getAuthorLabel Description:Return the m_AuthorLabel object for this AboutDialog object.
private  java.awt.Button getOKButton()
          Method: getOKButton Description:Return the m_OKButton object for this AboutDialog object.
private  java.awt.Label getProgramNameLabel()
          Method: getProgramNameLabel Description: Return the m_ProgramNameLabel object for this AboutDialog object.
private  java.awt.Label getVersionLabel()
          Method: getVersionLabel Description:Return the m_VersionLabel object for this AboutDialog object.
private  void initConnections()
          Method:initConnections Description:Add event Listeners to this AboutDialog
private  void initialize()
          Method:initialise Description:Build dialog window and be ready to display it.
 void windowActivated(java.awt.event.WindowEvent e)
          Method: windowActivated Description: Method to handle windowActivated events for the WindowListener interface.
 void windowClosed(java.awt.event.WindowEvent e)
          Method:windowClosed Description: Method to handle windowClosed events for the WindowListener interface.
 void windowClosing(java.awt.event.WindowEvent e)
          Method:windowClosing Description: Method to handle windowClosing events for the WindowListener interface.
 void windowDeactivated(java.awt.event.WindowEvent e)
          Method: windowActivated Description:Method to handle windowActivated events for the WindowListener interface.
 void windowDeiconified(java.awt.event.WindowEvent e)
          Method:windowDeiconified Description: Method to handle windowDeiconified events for the WindowListener interface.
 void windowIconified(java.awt.event.WindowEvent e)
          Method:windowIconified Description:Method to handle windowIconified events for the WindowListener interface.
 void windowOpened(java.awt.event.WindowEvent e)
          Method:windowOpened Description:Method to handle windowOpened events for the WindowListener interface.
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getGraphicsConfiguration, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_ProgramNameLabel

private java.awt.Label m_ProgramNameLabel

m_VersionLabel

private java.awt.Label m_VersionLabel

m_AuthorLabel

private java.awt.Label m_AuthorLabel

m_OKButton

private java.awt.Button m_OKButton

m_ProgramName

private java.lang.String m_ProgramName

m_Version

private java.lang.String m_Version

m_Author

private java.lang.String m_Author

PROGRAM_NAME_TEXT

private final java.lang.String PROGRAM_NAME_TEXT
See Also:
Constant Field Values

VERSION_TEXT

private final java.lang.String VERSION_TEXT
See Also:
Constant Field Values

AUTHOR_TEXT

private final java.lang.String AUTHOR_TEXT
See Also:
Constant Field Values

WIDTH

private final int WIDTH
See Also:
Constant Field Values

HEIGHT

private final int HEIGHT
See Also:
Constant Field Values
Constructor Detail

AboutDialog

public AboutDialog(java.awt.Frame parent)
AboutDialog constructor: handle simple reference to the Frame passed in. Defaults to modal (see java.awt.Dialog)


AboutDialog

public AboutDialog(java.awt.Frame parent,
                   boolean modal)
AboutDialog constructor: Handle simple reference to the Frame passed in. Allows the modal setting of java.awt.Dialog to be determined by user.


AboutDialog

public AboutDialog(java.awt.Frame parent,
                   java.lang.String version,
                   java.lang.String author)
AboutDialog constructor: Establishes title from the Frame parent, no Version info defaults to modal window


AboutDialog

public AboutDialog(java.awt.Frame parent,
                   java.lang.String programName,
                   java.lang.String version,
                   java.lang.String author,
                   boolean modal)
AboutDialog constructor: Full constructor for maximum flexibility.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Method:actionPerformed Description:Event handler for AboutDialog Class

Specified by:
actionPerformed in interface java.awt.event.ActionListener

getAuthorLabel

private java.awt.Label getAuthorLabel()
Method: getAuthorLabel Description:Return the m_AuthorLabel object for this AboutDialog object. Creates it if it doesn't already exist.


getOKButton

private java.awt.Button getOKButton()
Method: getOKButton Description:Return the m_OKButton object for this AboutDialog object. Creates it if it doesn't already exist.


getProgramNameLabel

private java.awt.Label getProgramNameLabel()
Method: getProgramNameLabel Description: Return the m_ProgramNameLabel object for this AboutDialog object. Creates it if it doesn't already exist.


getVersionLabel

private java.awt.Label getVersionLabel()
Method: getVersionLabel Description:Return the m_VersionLabel object for this AboutDialog object. Creates it if it doesn't already exist.


initConnections

private void initConnections()
Method:initConnections Description:Add event Listeners to this AboutDialog


initialize

private void initialize()
Method:initialise Description:Build dialog window and be ready to display it.


windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Method: windowActivated Description: Method to handle windowActivated events for the WindowListener interface.

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Method:windowClosed Description: Method to handle windowClosed events for the WindowListener interface.

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Method:windowClosing Description: Method to handle windowClosing events for the WindowListener interface.

Specified by:
windowClosing in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Method: windowActivated Description:Method to handle windowActivated events for the WindowListener interface.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Method:windowDeiconified Description: Method to handle windowDeiconified events for the WindowListener interface.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Method:windowIconified Description:Method to handle windowIconified events for the WindowListener interface.

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Method:windowOpened Description:Method to handle windowOpened events for the WindowListener interface.

Specified by:
windowOpened in interface java.awt.event.WindowListener