wx
Class FileDialog
java.lang.Object
wx.Object
wx.EvtHandler
wx.Window
wx.TopLevelWindow
wx.Dialog
wx.FileDialog
- public class FileDialog
- extends Dialog
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 |
FileDialog(Window parent)
|
FileDialog(Window parent,
java.lang.String message)
|
FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir)
|
FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile)
|
FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard)
|
FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard,
int style)
|
FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard,
int style,
Point pos)
|
Method Summary |
void |
delete()
|
static java.lang.String |
fileSelector()
|
static java.lang.String |
fileSelector(java.lang.String message)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent,
int x)
|
static java.lang.String |
fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent,
int x,
int y)
|
java.lang.String |
getDirectory()
|
java.lang.String |
getFilename()
|
void |
getFilenames(java.lang.String[] filenames)
|
int |
getFilterIndex()
|
java.lang.String |
getMessage()
|
java.lang.String |
getPath()
|
void |
getPaths(java.lang.String[] paths)
|
int |
getStyle()
|
java.lang.String |
getWildcard()
|
static java.lang.String |
saveFileSelector(java.lang.String what,
java.lang.String extension)
|
static java.lang.String |
saveFileSelector(java.lang.String what,
java.lang.String extension,
java.lang.String default_name)
|
static java.lang.String |
saveFileSelector(java.lang.String what,
java.lang.String extension,
java.lang.String default_name,
Window parent)
|
void |
setDirectory(java.lang.String directory)
|
void |
setFilename(java.lang.String setfilename)
|
void |
setFilterIndex(int filterIndex)
|
void |
setMessage(java.lang.String message)
|
void |
setPath(java.lang.String path)
|
void |
setStyle(int style)
|
void |
setWildcard(java.lang.String wildCard)
|
int |
showModal()
|
Methods inherited from class wx.Dialog |
createButtonSizer, createStdDialogButtonSizer, endModal, getAffirmativeId, getReturnCode, getTitle, iconize, isIconized, isModal, setAffirmativeId, setIcon, setIcons, setReturnCode, setTitle, show |
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
SAVE
public static final int SAVE
- See Also:
- Constant Field Values
OVERWRITE_PROMPT
public static final int OVERWRITE_PROMPT
- See Also:
- Constant Field Values
FILE_MUST_EXIST
public static final int FILE_MUST_EXIST
- See Also:
- Constant Field Values
MULTIPLE
public static final int MULTIPLE
- See Also:
- Constant Field Values
CHANGE_DIR
public static final int CHANGE_DIR
- See Also:
- Constant Field Values
FileDialog
public FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard,
int style,
Point pos)
FileDialog
public FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard,
int style)
FileDialog
public FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile,
java.lang.String wildCard)
FileDialog
public FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir,
java.lang.String defaultFile)
FileDialog
public FileDialog(Window parent,
java.lang.String message,
java.lang.String defaultDir)
FileDialog
public FileDialog(Window parent,
java.lang.String message)
FileDialog
public FileDialog(Window parent)
delete
public void delete()
- Overrides:
delete
in class Dialog
getDirectory
public java.lang.String getDirectory()
getFilename
public java.lang.String getFilename()
getFilenames
public void getFilenames(java.lang.String[] filenames)
getFilterIndex
public int getFilterIndex()
getMessage
public java.lang.String getMessage()
getPath
public java.lang.String getPath()
getPaths
public void getPaths(java.lang.String[] paths)
getStyle
public int getStyle()
getWildcard
public java.lang.String getWildcard()
setDirectory
public void setDirectory(java.lang.String directory)
setFilename
public void setFilename(java.lang.String setfilename)
setFilterIndex
public void setFilterIndex(int filterIndex)
setMessage
public void setMessage(java.lang.String message)
setPath
public void setPath(java.lang.String path)
setStyle
public void setStyle(int style)
setWildcard
public void setWildcard(java.lang.String wildCard)
showModal
public int showModal()
- Overrides:
showModal
in class Dialog
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent,
int x,
int y)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent,
int x)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags,
Window parent)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard,
int flags)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension,
java.lang.String wildcard)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename,
java.lang.String default_extension)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path,
java.lang.String default_filename)
fileSelector
public static java.lang.String fileSelector(java.lang.String message,
java.lang.String default_path)
fileSelector
public static java.lang.String fileSelector(java.lang.String message)
fileSelector
public static java.lang.String fileSelector()
saveFileSelector
public static java.lang.String saveFileSelector(java.lang.String what,
java.lang.String extension,
java.lang.String default_name,
Window parent)
saveFileSelector
public static java.lang.String saveFileSelector(java.lang.String what,
java.lang.String extension,
java.lang.String default_name)
saveFileSelector
public static java.lang.String saveFileSelector(java.lang.String what,
java.lang.String extension)
© 2006 Amit G Mendapara.