org.sourcejammer.client.gui.conf
Class FileDialogWrapper

java.lang.Object
  |
  +--org.sourcejammer.client.gui.conf.FileDialogWrapper

public class FileDialogWrapper
extends java.lang.Object

Title: SourceJammer 1.2 Description: Copyright: Copyright (c) 2002 Company: SourceJammer Project

Version:
1.0
Author:
Robert MacGrogan

Field Summary
private  int defaultDialog
           
static int J_FILE_CHOOSER
           
(package private) static javax.swing.JFrame testFrame
           
static int TREE_FILE_DIALOG
           
 
Constructor Summary
FileDialogWrapper()
           
 
Method Summary
 int getDefaultDialog()
           
static void main(java.lang.String[] args)
           
 java.io.File selectFile(boolean bShowFiles, java.lang.String title, java.lang.String affirmText, java.io.File defaultDir, java.awt.Dialog parentDialog)
           
 java.io.File selectFile(boolean bShowFiles, java.lang.String title, java.lang.String affirmText, java.io.File defaultDir, java.awt.Frame parentFrame)
           
private  java.io.File selectFileFromJFileChooser(boolean bShowFiles, java.lang.String title, java.lang.String affirmText, java.io.File defaultDir, java.awt.Component parent)
           
 void setDefaultFileDialog(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TREE_FILE_DIALOG

public static final int TREE_FILE_DIALOG
See Also:
Constant Field Values

J_FILE_CHOOSER

public static final int J_FILE_CHOOSER
See Also:
Constant Field Values

defaultDialog

private int defaultDialog

testFrame

static javax.swing.JFrame testFrame
Constructor Detail

FileDialogWrapper

public FileDialogWrapper()
Method Detail

setDefaultFileDialog

public void setDefaultFileDialog(int i)

getDefaultDialog

public int getDefaultDialog()

selectFile

public java.io.File selectFile(boolean bShowFiles,
                               java.lang.String title,
                               java.lang.String affirmText,
                               java.io.File defaultDir,
                               java.awt.Frame parentFrame)

selectFile

public java.io.File selectFile(boolean bShowFiles,
                               java.lang.String title,
                               java.lang.String affirmText,
                               java.io.File defaultDir,
                               java.awt.Dialog parentDialog)

selectFileFromJFileChooser

private java.io.File selectFileFromJFileChooser(boolean bShowFiles,
                                                java.lang.String title,
                                                java.lang.String affirmText,
                                                java.io.File defaultDir,
                                                java.awt.Component parent)

main

public static void main(java.lang.String[] args)


Copyright 2003 Soucejammer project.