jwx!
v0.0.2


wx
Class TextEntryDialog

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.TopLevelWindow
                  extended bywx.Dialog
                      extended bywx.TextEntryDialog
Direct Known Subclasses:
PasswordEntryDialog

public class TextEntryDialog
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
TextEntryDialog(Window parent, java.lang.String message)
           
TextEntryDialog(Window parent, java.lang.String message, java.lang.String caption)
           
TextEntryDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String value)
           
TextEntryDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String value, int style)
           
TextEntryDialog(Window parent, java.lang.String message, java.lang.String caption, java.lang.String value, int style, Point pos)
           
 
Method Summary
 void delete()
           
static int getNumberFromUser(java.lang.String message, java.lang.String prompt, java.lang.String caption, int value)
           
static int getNumberFromUser(java.lang.String message, java.lang.String prompt, java.lang.String caption, int value, int min)
           
static int getNumberFromUser(java.lang.String message, java.lang.String prompt, java.lang.String caption, int value, int min, int max)
           
static int getNumberFromUser(java.lang.String message, java.lang.String prompt, java.lang.String caption, int value, int min, int max, Window parent)
           
static int getNumberFromUser(java.lang.String message, java.lang.String prompt, java.lang.String caption, int value, int min, int max, Window parent, Point pos)
           
static java.lang.String getTextFromUser(java.lang.String message)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption, java.lang.String default_value)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption, java.lang.String default_value, Window parent)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption, java.lang.String default_value, Window parent, int x)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption, java.lang.String default_value, Window parent, int x, int y)
           
static java.lang.String getTextFromUser(java.lang.String message, java.lang.String caption, java.lang.String default_value, Window parent, int x, int y, boolean centre)
           
 java.lang.String getValue()
           
 void setValue(java.lang.String val)
           
 
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

TextEntryDialog

public TextEntryDialog(Window parent,
                       java.lang.String message,
                       java.lang.String caption,
                       java.lang.String value,
                       int style,
                       Point pos)

TextEntryDialog

public TextEntryDialog(Window parent,
                       java.lang.String message,
                       java.lang.String caption,
                       java.lang.String value,
                       int style)

TextEntryDialog

public TextEntryDialog(Window parent,
                       java.lang.String message,
                       java.lang.String caption,
                       java.lang.String value)

TextEntryDialog

public TextEntryDialog(Window parent,
                       java.lang.String message,
                       java.lang.String caption)

TextEntryDialog

public TextEntryDialog(Window parent,
                       java.lang.String message)
Method Detail

delete

public void delete()
Overrides:
delete in class Dialog

setValue

public void setValue(java.lang.String val)

getValue

public java.lang.String getValue()

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String default_value,
                                               Window parent,
                                               int x,
                                               int y,
                                               boolean centre)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String default_value,
                                               Window parent,
                                               int x,
                                               int y)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String default_value,
                                               Window parent,
                                               int x)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String default_value,
                                               Window parent)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption,
                                               java.lang.String default_value)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message,
                                               java.lang.String caption)

getTextFromUser

public static java.lang.String getTextFromUser(java.lang.String message)

getNumberFromUser

public static int getNumberFromUser(java.lang.String message,
                                    java.lang.String prompt,
                                    java.lang.String caption,
                                    int value,
                                    int min,
                                    int max,
                                    Window parent,
                                    Point pos)

getNumberFromUser

public static int getNumberFromUser(java.lang.String message,
                                    java.lang.String prompt,
                                    java.lang.String caption,
                                    int value,
                                    int min,
                                    int max,
                                    Window parent)

getNumberFromUser

public static int getNumberFromUser(java.lang.String message,
                                    java.lang.String prompt,
                                    java.lang.String caption,
                                    int value,
                                    int min,
                                    int max)

getNumberFromUser

public static int getNumberFromUser(java.lang.String message,
                                    java.lang.String prompt,
                                    java.lang.String caption,
                                    int value,
                                    int min)

getNumberFromUser

public static int getNumberFromUser(java.lang.String message,
                                    java.lang.String prompt,
                                    java.lang.String caption,
                                    int value)

jwx!
v0.0.2


© 2006 Amit G Mendapara.