org.alltimeflashdreamer.filelister
Class DefineSearchParameters

java.lang.Object
  extended byorg.alltimeflashdreamer.filelister.SearchParameters
      extended byorg.alltimeflashdreamer.filelister.DefineSearchParameters
All Implemented Interfaces:
Serializable

public class DefineSearchParameters
extends SearchParameters
implements Serializable

Title: DefineSearchParameters

Description: Simple SearchParameters extending class which stores easily accessible parameters for the GUI of the define-search site.

Organization: All Time Flash Dreamer

Version:
0.5.1
Author:
Copyright (c) 2002-2004 by Florian Steinsiepe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alltimeflashdreamer.filelister.SearchParameters
NOTSPECIFIED
 
Constructor Summary
(package private) DefineSearchParameters(int iSearchMode)
          The empty constructor initializes the class with the application's default values.
(package private) DefineSearchParameters(SearchParameters params, int iSearchMode)
          This constructor simply copies the values of the given SearchParameters instance, if the given search mode is "search again", else default values are used for the search mode sensitive parameters.
 
Method Summary
 boolean isListingAllTypes()
          Returns whether all types (i.e. files and directory) shall be listed in the result table or not.
 boolean isListingDirectoriesOnly()
          Returns whether only directories shall be listed in the results table or not.
 boolean isListingFilesOnly()
          Returns whether only files shall be listed in the results table or not.
 boolean isSearchAgain()
          Returns true only if the search mode is "search again".
 boolean isSearchWithinResults()
          Returns true only if the search mode is "search within results".
 
Methods inherited from class org.alltimeflashdreamer.filelister.SearchParameters
getBooleanInput, getDefaultMultiplier, getEndingDate, getEndingDateOutput, getMaximumMultiplier, getMaximumMultiplierOutput, getMaximumSize, getMaximumSizeOutput, getMinimumMultiplier, getMinimumMultiplierOutput, getMinimumSize, getMinimumSizeOutput, getSearchString, getStartingDate, getStartingDateOutput, initializeDefaultValues, isCaseSensitiveSearch, isDirectoryListing, isExactMatch, isFileListing, isListingAllEntries, isUsingRegExp, setCaseSensitiveSearch, setDirectoryListing, setEndingDate, setExactMatch, setFileListing, setMaximumMultiplier, setMaximumSize, setMinimumMultiplier, setMinimumSize, setSearchString, setStartingDate, setUsingRegExp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefineSearchParameters

DefineSearchParameters(int iSearchMode)
The empty constructor initializes the class with the application's default values.

Parameters:
iSearchMode - which search mode is active?

DefineSearchParameters

DefineSearchParameters(SearchParameters params,
                       int iSearchMode)
This constructor simply copies the values of the given SearchParameters instance, if the given search mode is "search again", else default values are used for the search mode sensitive parameters.

Parameters:
params - uses this as the settings template
iSearchMode - which search mode is active?
Method Detail

isListingAllTypes

public boolean isListingAllTypes()
Returns whether all types (i.e. files and directory) shall be listed in the result table or not.

Returns:
list all types or not?

isListingFilesOnly

public boolean isListingFilesOnly()
Returns whether only files shall be listed in the results table or not.

Returns:
list files only?

isListingDirectoriesOnly

public boolean isListingDirectoriesOnly()
Returns whether only directories shall be listed in the results table or not.

Returns:
list files only?

isSearchWithinResults

public boolean isSearchWithinResults()
Returns true only if the search mode is "search within results".

Returns:
current mode is "search within results"?

isSearchAgain

public boolean isSearchAgain()
Returns true only if the search mode is "search again".

Returns:
current mode is "search again"?