org.kde.koala
Class KFile

java.lang.Object
  extended by org.kde.koala.KFile
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KFile
extends java.lang.Object
implements org.kde.qt.QtSupport

KFile is a class which provides a namespace for some enumerated values associated with the kfile library. You will never need to construct a KFile object itself.


Field Summary
static int Default
           
static int Detail
           
static int Directory
           
static int ExistingOnly
           
static int Extended
           
static int File
          Modes of operation for the dialog.
static int Files
           
static int FileViewMax
           
static int LocalOnly
           
static int ModeMax
           
static int Multi
           
static int NoSelection
           
static int PreviewContents
           
static int PreviewInfo
           
static int SeparateDirs
           
static int Simple
           
static int Single
           
 
Constructor Summary
  KFile()
           
protected KFile(java.lang.Class dummy)
           
 
Method Summary
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
static boolean isDefaultView(int view)
           
static boolean isDetailView(int view)
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
static boolean isPreviewContents(int view)
           
static boolean isPreviewInfo(int view)
           
static boolean isSeparateDirs(int view)
           
static boolean isSimpleView(int view)
           
static boolean isSortByDate(int sort)
           
static boolean isSortByName(int sort)
           
static boolean isSortBySize(int sort)
           
static boolean isSortCaseInsensitive(int sort)
           
static boolean isSortDirsFirst(int sort)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

File

public static final int File
Modes of operation for the dialog.
  • File - Get a single file name from the user.
  • Directory - Get a directory name from the user.
  • Files - Get multiple file names from the user.
  • ExistingOnly - Never return a filename which does not exist yet
  • LocalOnly - Don't return remote filenames
  • @short Modes of operation for the dialog.

    See Also:
    Constant Field Values

    Directory

    public static final int Directory
    See Also:
    Constant Field Values

    Files

    public static final int Files
    See Also:
    Constant Field Values

    ExistingOnly

    public static final int ExistingOnly
    See Also:
    Constant Field Values

    LocalOnly

    public static final int LocalOnly
    See Also:
    Constant Field Values

    ModeMax

    public static final int ModeMax
    See Also:
    Constant Field Values

    Default

    public static final int Default
    See Also:
    Constant Field Values

    Simple

    public static final int Simple
    See Also:
    Constant Field Values

    Detail

    public static final int Detail
    See Also:
    Constant Field Values

    SeparateDirs

    public static final int SeparateDirs
    See Also:
    Constant Field Values

    PreviewContents

    public static final int PreviewContents
    See Also:
    Constant Field Values

    PreviewInfo

    public static final int PreviewInfo
    See Also:
    Constant Field Values

    FileViewMax

    public static final int FileViewMax
    See Also:
    Constant Field Values

    Single

    public static final int Single
    See Also:
    Constant Field Values

    Multi

    public static final int Multi
    See Also:
    Constant Field Values

    Extended

    public static final int Extended
    See Also:
    Constant Field Values

    NoSelection

    public static final int NoSelection
    See Also:
    Constant Field Values
    Constructor Detail

    KFile

    protected KFile(java.lang.Class dummy)

    KFile

    public KFile()
    Method Detail

    isSortByName

    public static boolean isSortByName(int sort)

    isSortBySize

    public static boolean isSortBySize(int sort)

    isSortByDate

    public static boolean isSortByDate(int sort)

    isSortDirsFirst

    public static boolean isSortDirsFirst(int sort)

    isSortCaseInsensitive

    public static boolean isSortCaseInsensitive(int sort)

    isDefaultView

    public static boolean isDefaultView(int view)

    isSimpleView

    public static boolean isSimpleView(int view)

    isDetailView

    public static boolean isDetailView(int view)

    isSeparateDirs

    public static boolean isSeparateDirs(int view)

    isPreviewContents

    public static boolean isPreviewContents(int view)

    isPreviewInfo

    public static boolean isPreviewInfo(int view)

    finalize

    protected void finalize()
                     throws java.lang.InternalError
    Deletes the wrapped C++ instance

    Overrides:
    finalize in class java.lang.Object
    Throws:
    java.lang.InternalError

    dispose

    public void dispose()
    Delete the wrapped C++ instance ahead of finalize()


    isDisposed

    public boolean isDisposed()
    Has the wrapped C++ instance been deleted?