Websphere MQ Everyplace

examples.awt
Class AwtDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--examples.awt.AwtDialog
All Implemented Interfaces:
javax.accessibility.Accessible, AwtEvent, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class AwtDialog
extends java.awt.Dialog
implements AwtEvent

See Also:
Serialized Form

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
protected  java.awt.BorderLayout borderLayout1
           
protected static java.lang.String[] BorderWhere
           
static int Button_Cancel
           
static int Button_OK
           
static char Center
           
static char East
           
protected  AwtFormat[] format
           
protected  boolean modalState
           
static char North
           
protected  java.awt.Panel[] panel
           
static int Show_None
           
static int Show_OK
           
static int Show_OK_Cancel
           
static char South
           
static short[] version
           
static char West
           
 
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
AwtDialog(java.awt.Frame owner, java.lang.String title)
           
AwtDialog(java.awt.Frame owner, java.lang.String title, int option, java.lang.String[][][] items)
           
AwtDialog(java.lang.String title, int option, java.lang.String[][][] items)
           
 
Method Summary
 void action(java.lang.Object e, int where, int index, java.lang.String choice, boolean state)
           
protected  void activate(boolean modal, java.lang.String title)
           
protected  void closeDialog()
           
 void format(char where, java.lang.String[][][] items)
           
 int getActionIndex(int where)
           
 java.lang.String getActionString(int where)
           
 boolean getCheckState(int where, int index)
           
 java.lang.String getChoice(int where, int index)
           
 java.lang.Object getObject(int where, int index)
           
 java.awt.Panel getPanel(int where)
           
 java.lang.String getText(int where, int index)
           
protected static int index(int where)
           
protected  void processWindowEvent(java.awt.event.WindowEvent e)
           
 void setText(int where, int index, java.lang.String text)
           
 void visible(boolean state, boolean modal)
           
 void visible(int where, boolean state)
           
 
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
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, 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, 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, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, 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, 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, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public static short[] version

Center

public static final char Center
See Also:
Constant Field Values

East

public static final char East
See Also:
Constant Field Values

North

public static final char North
See Also:
Constant Field Values

South

public static final char South
See Also:
Constant Field Values

West

public static final char West
See Also:
Constant Field Values

Button_OK

public static final int Button_OK
See Also:
Constant Field Values

Button_Cancel

public static final int Button_Cancel
See Also:
Constant Field Values

Show_None

public static final int Show_None
See Also:
Constant Field Values

Show_OK

public static final int Show_OK
See Also:
Constant Field Values

Show_OK_Cancel

public static final int Show_OK_Cancel
See Also:
Constant Field Values

borderLayout1

protected java.awt.BorderLayout borderLayout1

format

protected AwtFormat[] format

modalState

protected boolean modalState

panel

protected java.awt.Panel[] panel

BorderWhere

protected static java.lang.String[] BorderWhere
Constructor Detail

AwtDialog

public AwtDialog(java.awt.Frame owner,
                 java.lang.String title)

AwtDialog

public AwtDialog(java.lang.String title,
                 int option,
                 java.lang.String[][][] items)

AwtDialog

public AwtDialog(java.awt.Frame owner,
                 java.lang.String title,
                 int option,
                 java.lang.String[][][] items)
Method Detail

action

public void action(java.lang.Object e,
                   int where,
                   int index,
                   java.lang.String choice,
                   boolean state)
Specified by:
action in interface AwtEvent

activate

protected void activate(boolean modal,
                        java.lang.String title)

closeDialog

protected void closeDialog()

format

public void format(char where,
                   java.lang.String[][][] items)

index

protected static int index(int where)

getActionIndex

public int getActionIndex(int where)

getActionString

public java.lang.String getActionString(int where)

getCheckState

public boolean getCheckState(int where,
                             int index)

getChoice

public java.lang.String getChoice(int where,
                                  int index)

getObject

public java.lang.Object getObject(int where,
                                  int index)

getPanel

public java.awt.Panel getPanel(int where)

getText

public java.lang.String getText(int where,
                                int index)

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
Overrides:
processWindowEvent in class java.awt.Window

setText

public void setText(int where,
                    int index,
                    java.lang.String text)

visible

public void visible(boolean state,
                    boolean modal)

visible

public void visible(int where,
                    boolean state)

Websphere MQ Everyplace