ks.common.gui
Class ConfirmActionDialog

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byks.common.gui.ConfirmActionDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class ConfirmActionDialog
extends java.awt.Dialog

Standard KombatClient dialog box asking user if they wish to confirm action. Creation date: (10/21/01 10:00:24 PM)

See Also:
Serialized Form

Field Summary
 
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
ConfirmActionDialog(java.awt.Frame parent)
          ConfirmActionDialog constructor comment.
ConfirmActionDialog(java.awt.Frame parent, boolean modal)
          ConfirmActionDialog constructor comment.
ConfirmActionDialog(java.awt.Frame parent, java.lang.String title)
          ConfirmActionDialog constructor comment.
ConfirmActionDialog(java.awt.Frame parent, java.lang.String title, boolean modal)
          ConfirmActionDialog constructor comment.
 
Method Summary
 boolean isConfirm()
          Return status of user confirmation.
static void main(java.lang.String[] args)
          main entrypoint - starts the part when it is run as an application
 void noButton_ActionPerformed()
          We are denying action
 void setAction(java.lang.String s)
          insert action text.
 void yesButton_ActionPerformed()
          We are confirming action
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfirmActionDialog

public ConfirmActionDialog(java.awt.Frame parent)
ConfirmActionDialog constructor comment.

Parameters:
parent - java.awt.Frame

ConfirmActionDialog

public ConfirmActionDialog(java.awt.Frame parent,
                           java.lang.String title)
ConfirmActionDialog constructor comment.

Parameters:
parent - java.awt.Frame
title - java.lang.String

ConfirmActionDialog

public ConfirmActionDialog(java.awt.Frame parent,
                           java.lang.String title,
                           boolean modal)
ConfirmActionDialog constructor comment.

Parameters:
parent - java.awt.Frame
title - java.lang.String
modal - boolean

ConfirmActionDialog

public ConfirmActionDialog(java.awt.Frame parent,
                           boolean modal)
ConfirmActionDialog constructor comment.

Parameters:
parent - java.awt.Frame
modal - boolean
Method Detail

isConfirm

public boolean isConfirm()
Return status of user confirmation. Creation date: (10/21/01 10:11:52 PM)

Returns:
boolean

main

public static void main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application

Parameters:
args - java.lang.String[]

noButton_ActionPerformed

public void noButton_ActionPerformed()
We are denying action


setAction

public void setAction(java.lang.String s)
insert action text.

Creation date: (10/21/01 10:12:39 PM)

Parameters:
s - java.lang.String

yesButton_ActionPerformed

public void yesButton_ActionPerformed()
We are confirming action