mirror of
https://github.com/LucasVbr/LecteurPdfDoubleAffichage.git
synced 2026-07-09 12:47:45 +00:00
Création javadoc et modification commentaires
This commit is contained in:
@@ -37,9 +37,10 @@ public class Fenetre extends JFrame {
|
||||
/** Le document PDF courant */
|
||||
public PDF documentPDF;
|
||||
|
||||
/** Défini la disposition d'affichage des pages du document PDF */
|
||||
/** Définit la disposition d'affichage des pages du document PDF */
|
||||
private boolean affichageVertical;
|
||||
|
||||
/** Définit l'état de la fenêtre, true si la fenêtre est en plein écran */
|
||||
private boolean fullscreen;
|
||||
|
||||
/**
|
||||
|
||||
@@ -36,7 +36,9 @@ public class PDF extends JPanel {
|
||||
* Crée un document PDF affichable dans une fenêtre
|
||||
*
|
||||
* @param fichier Le fichier que l’on veut ouvrir
|
||||
* @throws IllegalArgumentException si le fichier n’existe pas
|
||||
* @param vertical booléen si true, affiche les pages en vertical,
|
||||
* sinon horizontal
|
||||
* @throws IOException si le fichier n’existe pas
|
||||
*/
|
||||
public PDF(File fichier, boolean vertical) throws IOException {
|
||||
document = PDDocument.load(fichier);
|
||||
|
||||
Reference in New Issue
Block a user