Fork me on GitHub

Référence de la classe BriefView

Vue liste. Plus de détails...

Graphe d'héritage de BriefView:
ListView

Liste de tous les membres

Fonctions membres publiques

 BriefView ()
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 ()
void setZoomLevel (int zoom)
 Sets the zoom level of the view.
int getZoomLevel ()
 Returns the current zoom level of the view.

Fonctions membres protégées

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

Description détaillée

Vue liste.


Documentation des constructeurs et destructeur

BriefView ( )

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.

int getZoomLevel ( ) [virtual]

Returns the current zoom level of the view.

Renvoie:
the current zoom level of the view.

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.

void setZoomLevel ( int  zoom) [virtual]

Sets the zoom level of the view.

Paramètres:
zoomZoom level

Implémente ListView.


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