Fork me on GitHub
Graphe d'héritage de ListView:
BriefView DetailView

Liste de tous les membres

Fonctions membres publiques

 ListView ()
void requestFocus ()
abstract FS_Element getSelectedFile ()
 This method returns the current selected file from the view.
abstract FS_Element[] getSelectedFiles ()
 This method returns the current selected files from the view.
abstract void browseDirectory (java.util.List< FS_Element > dirContent)
 Update the view from the content specified.
abstract void addListSelectionListener (ListSelectionListener listener)
 Adds a listener to the list that's notified each time a change to the selection occurs.
abstract void removeListSelectionListener (ListSelectionListener listener)
 Removes a listener from the list that's notified each time a change to the selection occurs.
abstract ListSelectionModel getSelectionModel ()

Fonctions membres protégées

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

Attributs protégés

JScrollPane scroll = null
JPanel topPanel = null

Documentation des constructeurs et destructeur

ListView ( )

Documentation des fonctions membres

abstract void addListSelectionListener ( ListSelectionListener  listener) [pure 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émenté dans BriefView, et DetailView.

abstract void browseDirectory ( java.util.List< FS_Element dirContent) [pure virtual]

Update the view from the content specified.

Paramètres:
dirContent
abstract FS_Element getSelectedFile ( ) [pure 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émenté dans BriefView, et DetailView.

abstract FS_Element [] getSelectedFiles ( ) [pure 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émenté dans BriefView, et DetailView.

abstract ListSelectionModel getSelectionModel ( ) [pure virtual]

Implémenté dans BriefView, et DetailView.

abstract JComponent getViewComponent ( ) [protected, pure virtual]

Returns the view component (JTable or a JList)

Renvoie:
the view component

Implémenté dans BriefView, et DetailView.

abstract void removeListSelectionListener ( ListSelectionListener  listener) [pure 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émenté dans BriefView, et DetailView.

void requestFocus ( )

Documentation des données membres

JScrollPane scroll = null [protected]
JPanel topPanel = null [protected]

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