JavaView® v2.12

jvx.geom
Class PnMinesweeper_Dialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--jv.object.PsDialog
                                |
                                +--jvx.geom.PnMinesweeper_Dialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, PsUpdateIf, java.io.Serializable, java.awt.event.WindowListener

public class PnMinesweeper_Dialog
extends PsDialog
implements java.awt.event.ActionListener

Dialog class to run Minesweeper on any arbitrary PgElementSet.

Version:
02.05.01, 1.00 created (ur)
Author:
Ulrich Reitebuch
See Also:
Serialized Form

Fields inherited from class jv.object.PsDialog
BUTTON_CANCEL, BUTTON_CLOSE, BUTTON_HIDE, BUTTON_OK, BUTTON_RESET, BUTTON_SAVE
 
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
PnMinesweeper_Dialog(PgElementSet geom)
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Handle action events invoked from buttons, menu items, text fields.
 void dispose()
          Remove pick focus and update from minesweeper, reset elementSet's colors to previous state and destroy dialog window.
 void init()
          Initialisation
 void setParent(PsUpdateIf object)
          Store parent cell operator.
 boolean update(java.lang.Object object)
          Update the class whenever a child has changed.
 
Methods inherited from class jv.object.PsDialog
getBottomButtons, getFather, getUserAction, instanceOf, itemStateChanged, reset, setHeader, setLocation, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.awt.Dialog
addNotify, getAccessibleContext, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, removeWindowListener, setCursor, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jv.object.PsUpdateIf
getName
 

Constructor Detail

PnMinesweeper_Dialog

public PnMinesweeper_Dialog(PgElementSet geom)
Constructor.
Method Detail

init

public void init()
Initialisation
Overrides:
init in class PsDialog

setParent

public void setParent(PsUpdateIf object)
Store parent cell operator.
Overrides:
setParent in class PsDialog
Following copied from class: jv.object.PsDialog
See Also:
Component.getParent(), PsDialog.update(Object)

update

public boolean update(java.lang.Object object)
Update the class whenever a child has changed. Method is usually invoked from the children.
Overrides:
update in class PsDialog
Following copied from class: jv.object.PsDialog
See Also:
Component.getParent(), PsDialog.setParent(PsUpdateIf)

dispose

public void dispose()
Remove pick focus and update from minesweeper, reset elementSet's colors to previous state and destroy dialog window.
Overrides:
dispose in class java.awt.Dialog

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Handle action events invoked from buttons, menu items, text fields.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class PsDialog

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.