jwx!
v0.0.2


wx
Class Dialog

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.TopLevelWindow
                  extended bywx.Dialog
Direct Known Subclasses:
ColourDialog, DirDialog, FileDialog, FindReplaceDialog, FontDialog, MessageDialog, MultiChoiceDialog, ProgressDialog, SingleChoiceDialog, TextEntryDialog

public class Dialog
extends TopLevelWindow


Field Summary
static int BACKWARD
           
static int CANCEL
           
static int DEFAULT_DIALOG_STYLE
           
static int DIALOG_NO_PARENT
           
static int FORWARD
           
static int HELP
           
static int ICON_ASTERISK
           
static int ICON_ERROR
           
static int ICON_EXCLAMATION
           
static int ICON_HAND
           
static int ICON_INFORMATION
           
static int ICON_MASK
           
static int ICON_QUESTION
           
static int ICON_STOP
           
static int ICON_WARNING
           
static int MORE
           
static int NO
           
static int NO_DEFAULT
           
static int OK
           
static int RESET
           
static int SETUP
           
static int TOPLEVEL_EX_DIALOG
           
static int YES
           
static int YES_DEFAULT
           
static int YES_NO
           
 
Fields inherited from class wx.TopLevelWindow
CLOSE_BOX, DEFAULT_FRAME_STYLE, FULLSCREEN_ALL, FULLSCREEN_NOBORDER, FULLSCREEN_NOCAPTION, FULLSCREEN_NOMENUBAR, FULLSCREEN_NOSTATUSBAR, FULLSCREEN_NOTOOLBAR, ICONIZE, MAXIMIZE, MAXIMIZE_BOX, MINIMIZE, MINIMIZE_BOX, RESIZE_BORDER, STAY_ON_TOP, SYSTEM_MENU, TINY_CAPTION_HORIZ, TINY_CAPTION_VERT, USER_ATTENTION_ERROR, USER_ATTENTION_INFO
 
Fields inherited from class wx.Window
ALWAYS_SHOW_SB, BACKINGSTORE, CAPTION, CLIP_CHILDREN, CLIP_SIBLINGS, DIALOG_EX_CONTEXTHELP, DIALOG_EX_METAL, FRAME_DRAWER, FRAME_EX_CONTEXTHELP, FRAME_EX_METAL, FRAME_NO_WINDOW_MENU, FULL_REPAINT_ON_RESIZE, HSCROLL, MB_DOCKABLE, NO_FULL_REPAINT_ON_RESIZE, POPUP_WINDOW, RETAINED, SIZE_ALLOW_MINUS_ONE, SIZE_AUTO, SIZE_AUTO_HEIGHT, SIZE_AUTO_WIDTH, SIZE_FORCE, SIZE_NO_ADJUSTMENTS, SIZE_USE_EXISTING, TAB_TRAVERSAL, TRANSPARENT_WINDOW, VSCROLL, WANTS_CHARS, WS_EX_BLOCK_EVENTS, WS_EX_PROCESS_IDLE, WS_EX_PROCESS_UI_UPDATES, WS_EX_THEMED_BACKGROUND, WS_EX_TRANSIENT, WS_EX_VALIDATE_RECURSIVELY
 
Constructor Summary
Dialog()
           
Dialog(Window parent, int id, java.lang.String title)
           
Dialog(Window parent, int id, java.lang.String title, Point pos)
           
Dialog(Window parent, int id, java.lang.String title, Point pos, Size size)
           
Dialog(Window parent, int id, java.lang.String title, Point pos, Size size, int style)
           
Dialog(Window parent, int id, java.lang.String title, Point pos, Size size, int style, java.lang.String name)
           
 
Method Summary
 Sizer createButtonSizer(int flags)
           
 StdDialogButtonSizer createStdDialogButtonSizer(int flags)
           
 void delete()
           
 void endModal(int retCode)
           
 int getAffirmativeId()
           
 int getReturnCode()
           
 java.lang.String getTitle()
           
 void iconize(boolean iconize)
           
 boolean isIconized()
           
 boolean isModal()
           
 void setAffirmativeId(int id)
           
 void setIcon(Icon icon)
           
 void setIcons(IconBundle icons)
           
 void setReturnCode(int retCode)
           
 void setTitle(java.lang.String title)
           
 boolean show(boolean show)
           
 int showModal()
           
 
Methods inherited from class wx.TopLevelWindow
getIcon, getIcons, isActive, isFullScreen, isMaximized, maximize, requestUserAttention, requestUserAttention, setShape, showFullScreen, showFullScreen
 
Methods inherited from class wx.Window
acceptsFocus, acceptsFocusFromKeyboard, addChild, cacheBestSize, captureMouse, center, center, centerOnParent, centerOnParent, centerOnScreen, centerOnScreen, centre, centre, centreOnParent, centreOnParent, centreOnScreen, centreOnScreen, clearBackground, clientToScreen, close, close, convertDialogToPixels, convertDialogToPixels, convertPixelsToDialog, convertPixelsToDialog, destroy, destroyChildren, disable, enable, enable, findFocus, findWindow, findWindow, findWindowAtPointer, findWindowById, findWindowById, findWindowByLabel, findWindowByLabel, findWindowByName, findWindowByName, fit, fitInside, freeze, getAcceleratorTable, getActiveWindow, getAdjustedBestSize, getAncestorWithCustomPalette, getBackgroundColour, getBackgroundStyle, getBestFittingSize, getBestSize, getBestVirtualSize, getBorder, getBorder, getCapture, getCaret, getCharHeight, getCharWidth, getChildren, getClassDefaultAttributes, getClassDefaultAttributes, getClientAreaOrigin, getClientRect, getClientSize, getContainingSizer, getCursor, getDefaultAttributes, getDefaultItem, getDropTarget, getEventHandler, getExtraStyle, getFont, getForegroundColour, getGrandParent, getHelpText, getId, getLabel, getMaxHeight, getMaxSize, getMaxWidth, getMinHeight, getMinSize, getMinWidth, getMousePosition, getName, getPalette, getParent, getPosition, getRect, getScrollPos, getScrollRange, getScrollThumb, getSize, getSizer, getTextExtent, getTextExtent, getTextExtent, getTextExtent, getThemeEnabled, getToolTip, getTopLevelParent, getUpdateClientRect, getUpdateRegion, getValidator, getVirtualSize, getWindowStyle, getWindowStyleFlag, getWindowVariant, hasCapture, hasCustomPalette, hasFlag, hasScrollbar, hasTransparentBackground, hide, hitTest, hitTest, inheritAttributes, inheritsBackgroundColour, initDialog, invalidateBestSize, isBeingDeleted, isEnabled, isExposed, isExposed, isExposed, isExposed, isRetained, isShown, isTopLevel, lineDown, lineUp, lower, makeModal, makeModal, move, move, move, move, moveAfterInTabOrder, moveBeforeInTabOrder, navigate, navigate, newControlId, nextControlId, pageDown, pageUp, popEventHandler, popEventHandler, popupMenu, popupMenu, popupMenu, prepareDC, prevControlId, pushEventHandler, raise, refresh, refresh, refresh, refreshRect, refreshRect, releaseMouse, removeChild, removeEventHandler, reparent, screenToClient, scrollLines, scrollPages, scrollWindow, scrollWindow, setAcceleratorTable, setBackgroundColour, setBackgroundStyle, setBestFittingSize, setBestFittingSize, setCaret, setClientSize, setClientSize, setClientSize, setContainingSizer, setCursor, setDefaultItem, setDropTarget, setEventHandler, setExtraStyle, setFocus, setFocusFromKbd, setFont, setForegroundColour, setHelpText, setHelpTextForId, setId, setLabel, setMaxSize, setMinSize, setName, setOwnBackgroundColour, setOwnFont, setOwnForegroundColour, setPalette, setParent, setPosition, setScrollbar, setScrollbar, setScrollPos, setScrollPos, setSize, setSize, setSize, setSize, setSize, setSize, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizer, setSizer, setSizerAndFit, setSizerAndFit, setThemeEnabled, setTmpDefaultItem, setToolTip, setToolTip, setValidator, setVirtualSize, setVirtualSize, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setWindowStyle, setWindowStyleFlag, setWindowVariant, shouldInheritColours, show, swigReleaseOwnership, swigTakeOwnership, thaw, transferDataFromWindow, transferDataToWindow, update, updateWindowUI, updateWindowUI, useBgCol, validate, warpPointer
 
Methods inherited from class wx.EvtHandler
addPendingEvent, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getEvtHandlerEnabled, getNextHandler, getPreviousHandler, postEvent, processEvent, processPendingEvents, setEvtHandlerEnabled, setNextHandler, setPreviousHandler
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOPLEVEL_EX_DIALOG

public static final int TOPLEVEL_EX_DIALOG
See Also:
Constant Field Values

DIALOG_NO_PARENT

public static final int DIALOG_NO_PARENT
See Also:
Constant Field Values

YES

public static final int YES
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

NO

public static final int NO
See Also:
Constant Field Values

YES_NO

public static final int YES_NO
See Also:
Constant Field Values

CANCEL

public static final int CANCEL
See Also:
Constant Field Values

YES_DEFAULT

public static final int YES_DEFAULT
See Also:
Constant Field Values

NO_DEFAULT

public static final int NO_DEFAULT
See Also:
Constant Field Values

ICON_EXCLAMATION

public static final int ICON_EXCLAMATION
See Also:
Constant Field Values

ICON_HAND

public static final int ICON_HAND
See Also:
Constant Field Values

ICON_WARNING

public static final int ICON_WARNING
See Also:
Constant Field Values

ICON_ERROR

public static final int ICON_ERROR
See Also:
Constant Field Values

ICON_QUESTION

public static final int ICON_QUESTION
See Also:
Constant Field Values

ICON_INFORMATION

public static final int ICON_INFORMATION
See Also:
Constant Field Values

ICON_STOP

public static final int ICON_STOP
See Also:
Constant Field Values

ICON_ASTERISK

public static final int ICON_ASTERISK
See Also:
Constant Field Values

ICON_MASK

public static final int ICON_MASK
See Also:
Constant Field Values

FORWARD

public static final int FORWARD
See Also:
Constant Field Values

BACKWARD

public static final int BACKWARD
See Also:
Constant Field Values

RESET

public static final int RESET
See Also:
Constant Field Values

HELP

public static final int HELP
See Also:
Constant Field Values

MORE

public static final int MORE
See Also:
Constant Field Values

SETUP

public static final int SETUP
See Also:
Constant Field Values

DEFAULT_DIALOG_STYLE

public static final int DEFAULT_DIALOG_STYLE
Constructor Detail

Dialog

public Dialog()

Dialog

public Dialog(Window parent,
              int id,
              java.lang.String title,
              Point pos,
              Size size,
              int style,
              java.lang.String name)

Dialog

public Dialog(Window parent,
              int id,
              java.lang.String title,
              Point pos,
              Size size,
              int style)

Dialog

public Dialog(Window parent,
              int id,
              java.lang.String title,
              Point pos,
              Size size)

Dialog

public Dialog(Window parent,
              int id,
              java.lang.String title,
              Point pos)

Dialog

public Dialog(Window parent,
              int id,
              java.lang.String title)
Method Detail

delete

public void delete()
Overrides:
delete in class TopLevelWindow

createStdDialogButtonSizer

public StdDialogButtonSizer createStdDialogButtonSizer(int flags)

createButtonSizer

public Sizer createButtonSizer(int flags)

endModal

public void endModal(int retCode)

getAffirmativeId

public int getAffirmativeId()

getReturnCode

public int getReturnCode()

getTitle

public java.lang.String getTitle()
Overrides:
getTitle in class TopLevelWindow

iconize

public void iconize(boolean iconize)
Overrides:
iconize in class TopLevelWindow

isIconized

public boolean isIconized()
Overrides:
isIconized in class TopLevelWindow

isModal

public boolean isModal()

setAffirmativeId

public void setAffirmativeId(int id)

setIcon

public void setIcon(Icon icon)
Overrides:
setIcon in class TopLevelWindow

setIcons

public void setIcons(IconBundle icons)
Overrides:
setIcons in class TopLevelWindow

setReturnCode

public void setReturnCode(int retCode)

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class TopLevelWindow

show

public boolean show(boolean show)
Overrides:
show in class Window

showModal

public int showModal()

jwx!
v0.0.2


© 2006 Amit G Mendapara.