Fork me on GitHub

Référence de la classe DetailView

Graphe d'héritage de DetailView:
ListView

Liste de tous les membres

Fonctions membres publiques

 DetailView ()
 Constructor.
void browseDirectory (List< FS_Element > dirContent)
FS_Element getSelectedFile ()
 This method returns the current selected file from the view.
FS_Element[] getSelectedFiles ()
 This method returns the current selected files from the view.
int getSelectedFilesCount ()
 This method returns the number of selected files from the view.
void addListSelectionListener (ListSelectionListener listener)
 Adds a listener to the list that's notified each time a change to the selection occurs.
void removeListSelectionListener (ListSelectionListener listener)
 Removes a listener from the list that's notified each time a change to the selection occurs.
ListSelectionModel getSelectionModel ()

Fonctions membres protégées

JComponent getViewComponent ()
 Returns the view component (JTable or a JList)

Documentation des constructeurs et destructeur

Constructor.


Documentation des fonctions membres

void addListSelectionListener ( ListSelectionListener  listener) [virtual]

Adds a listener to the list that's notified each time a change to the selection occurs.

Paramètres:
listenerthe ListSelectionListener to add

Implémente ListView.

void browseDirectory ( List< FS_Element dirContent)
FS_Element getSelectedFile ( ) [virtual]

This method returns the current selected file from the view.

If no file is selected it just returns null.

Renvoie:
the current selected file.

Implémente ListView.

FS_Element [] getSelectedFiles ( ) [virtual]

This method returns the current selected files from the view.

If no files are selected it just returns null.

Renvoie:
the current selected files.

Implémente ListView.

int getSelectedFilesCount ( )

This method returns the number of selected files from the view.

Renvoie:
the number of selected files.
Depuis:
1.0.2

Réimplémentée à partir de ListView.

ListSelectionModel getSelectionModel ( ) [virtual]

Implémente ListView.

JComponent getViewComponent ( ) [protected, virtual]

Returns the view component (JTable or a JList)

Renvoie:
the view component

Implémente ListView.

void removeListSelectionListener ( ListSelectionListener  listener) [virtual]

Removes a listener from the list that's notified each time a change to the selection occurs.

Paramètres:
listenerthe ListSelectionListener to remove

Implémente ListView.


La documentation de cette classe a été générée à partir du fichier suivant :