jwx!
v0.0.2


wx
Class SingleChoiceDialog

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.TopLevelWindow
                  extended bywx.Dialog
                      extended bywx.SingleChoiceDialog

public class SingleChoiceDialog
extends Dialog


Field Summary
 
Fields inherited from class wx.Dialog
BACKWARD, CANCEL, DEFAULT_DIALOG_STYLE, DIALOG_NO_PARENT, FORWARD, HELP, ICON_ASTERISK, ICON_ERROR, ICON_EXCLAMATION, ICON_HAND, ICON_INFORMATION, ICON_MASK, ICON_QUESTION, ICON_STOP, ICON_WARNING, MORE, NO, NO_DEFAULT, OK, RESET, SETUP, TOPLEVEL_EX_DIALOG, YES, YES_DEFAULT, 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
SingleChoiceDialog()
           
SingleChoiceDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String[] choices)
           
SingleChoiceDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String[] choices, java.lang.String[] clientData)
           
SingleChoiceDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String[] choices, java.lang.String[] clientData, int style)
           
SingleChoiceDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String[] choices, java.lang.String[] clientData, int style, Point pos)
           
 
Method Summary
 void delete()
           
 int getSelection()
           
 java.lang.String getSelectionClientData()
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre, int width)
           
static java.lang.String getSingleChoice(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre, int width, int height)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre, int width)
           
static int getSingleChoiceIndex(java.lang.String message, java.lang.String caption, java.lang.String[] choices, Window parent, int x, int y, boolean centre, int width, int height)
           
 java.lang.String getStringSelection()
           
 void setSelection(int sel)
           
 
Methods inherited from class wx.Dialog
createButtonSizer, createStdDialogButtonSizer, endModal, getAffirmativeId, getReturnCode, getTitle, iconize, isIconized, isModal, setAffirmativeId, setIcon, setIcons, setReturnCode, setTitle, show, 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
 

Constructor Detail

SingleChoiceDialog

public SingleChoiceDialog()

SingleChoiceDialog

public SingleChoiceDialog(Window parent,
                          java.lang.String message,
                          java.lang.String caption,
                          java.lang.String[] choices,
                          java.lang.String[] clientData,
                          int style,
                          Point pos)

SingleChoiceDialog

public SingleChoiceDialog(Window parent,
                          java.lang.String message,
                          java.lang.String caption,
                          java.lang.String[] choices,
                          java.lang.String[] clientData,
                          int style)

SingleChoiceDialog

public SingleChoiceDialog(Window parent,
                          java.lang.String message,
                          java.lang.String caption,
                          java.lang.String[] choices,
                          java.lang.String[] clientData)

SingleChoiceDialog

public SingleChoiceDialog(Window parent,
                          java.lang.String message,
                          java.lang.String caption,
                          java.lang.String[] choices)
Method Detail

delete

public void delete()
Overrides:
delete in class Dialog

setSelection

public void setSelection(int sel)

getSelection

public int getSelection()

getStringSelection

public java.lang.String getStringSelection()

getSelectionClientData

public java.lang.String getSelectionClientData()

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent,
                                               int x,
                                               int y,
                                               boolean centre,
                                               int width,
                                               int height)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent,
                                               int x,
                                               int y,
                                               boolean centre,
                                               int width)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent,
                                               int x,
                                               int y,
                                               boolean centre)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent,
                                               int x,
                                               int y)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent,
                                               int x)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices,
                                               Window parent)

getSingleChoice

public static java.lang.String getSingleChoice(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String[] choices)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent,
                                       int x,
                                       int y,
                                       boolean centre,
                                       int width,
                                       int height)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent,
                                       int x,
                                       int y,
                                       boolean centre,
                                       int width)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent,
                                       int x,
                                       int y,
                                       boolean centre)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent,
                                       int x,
                                       int y)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent,
                                       int x)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices,
                                       Window parent)

getSingleChoiceIndex

public static int getSingleChoiceIndex(java.lang.String message,
                                       java.lang.String caption,
                                       java.lang.String[] choices)

jwx!
v0.0.2


© 2006 Amit G Mendapara.