alma::acs::logging::io::LoadFileChooser Class Reference

Inheritance diagram for alma::acs::logging::io::LoadFileChooser:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::io::LoadFileChooser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoadFileChooser (File currentDir, String title, String[] extensions, LoggingClient client)
void actionPerformed (ActionEvent e)
void execute ()

Private Member Functions

void initialize (File curDir)

Private Attributes

JCheckBox viewHiddenFiles = new JCheckBox("Show hidden files",false)
LoadSwitchesPanel guiSwitches
LoggingClient loggingClient = null

Detailed Description

A FileChooser customized to show hidden files

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::io::LoadFileChooser::LoadFileChooser ( File  currentDir,
String  title,
String[]  extensions,
LoggingClient  client 
) [inline]

Constructor: build and show the modal dialog

Parameters:
currentDir The dir whose content is shown at startup
title The title of the window (it appears also in the button)
extensions The (case insensitive) extensions of the files to show in the chooser (can be null or empty in case of no filtering)
client The LoggingClient invoking this file chooser

References alma::acs::logging::io::LogsFileChooser::fileChooser, initialize(), and loggingClient.


Member Function Documentation

void alma::acs::logging::io::LoadFileChooser::actionPerformed ( ActionEvent  e  )  [inline]
See also:
java.awt.event.ActionListener

Reimplemented from alma::acs::logging::io::LogsFileChooser.

References alma::acs::logging::io::LogsFileChooser::fileChooser, and viewHiddenFiles.

void alma::acs::logging::io::LoadFileChooser::execute (  )  [inline]
void alma::acs::logging::io::LoadFileChooser::initialize ( File  curDir  )  [inline, private]

Member Data Documentation

Referenced by execute(), and initialize().

Referenced by initialize(), and LoadFileChooser().

JCheckBox alma::acs::logging::io::LoadFileChooser::viewHiddenFiles = new JCheckBox("Show hidden files",false) [private]

The checkbox to make visible hidden files and folders The default is false (i.e. hidden folders are not shown)

Referenced by actionPerformed(), and initialize().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2