diff --git a/AppThinker/Documentation/allclasses-frame.html b/AppThinker/Documentation/allclasses-frame.html index aa68a26..05927e0 100644 --- a/AppThinker/Documentation/allclasses-frame.html +++ b/AppThinker/Documentation/allclasses-frame.html @@ -2,55 +2,58 @@
- -public class ATProperties
+extends java.util.Properties
+| Constructor and Description | +
|---|
ATProperties()
+Constructeur de ATProperties, propriétés de l'utilisateur
+ |
+
ATProperties(java.lang.String savePath) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+loadPreferencesFromFile()
+Charger les préférences utilisateur depuis un fichier de propriété
+ |
+
void |
+setToDefault()
+Remet à zéro les préférences utilisateur
+ |
+
void |
+storeConfiguration()
+Enregistre les préférences utilisateur dans un fichier
+ |
+
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitpublic ATProperties()+
public ATProperties(java.lang.String savePath)+
public void loadPreferencesFromFile()+
public void setToDefault()+
public void storeConfiguration()+
public class AppThinker
+extends java.lang.Object
+| Modifier and Type | +Field and Description | +
|---|---|
static java.util.List<java.lang.String> |
+changelog |
+
static java.lang.String |
+copyright |
+
static java.lang.String |
+dateVersion |
+
static java.lang.String |
+developer |
+
static java.lang.String |
+version |
+
| Constructor and Description | +
|---|
AppThinker() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ATProperties |
+getATProperties()
+Renvoie les préférences utilisateur du logiciel
+ |
+
static void |
+main(java.lang.String[] args)
+La méthode principale exécutée.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static java.lang.String version+
public static java.lang.String dateVersion+
public static java.util.List<java.lang.String> changelog+
public static java.lang.String developer+
public static java.lang.String copyright+
public static void main(java.lang.String[] args) + throws java.lang.InterruptedException+
args - Les arguments de la méthode principale.java.lang.InterruptedException - Interruption du thread lors de la pause du splashscreen.public static ATProperties getATProperties()+
public class AboutWindowController
+extends java.lang.Object
+| Constructor and Description | +
|---|
AboutWindowController()
+Constructeur de AboutWindowController
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+checkForUpdates()
+Lance l'URL du centre de téléchargement.
+ |
+
void |
+giveFeedback()
+Lance l'URL du formulaire pour la soumission d'idées ou bugs
+ |
+
void |
+launchChangelogWindow()
+Lance la fenetre de Changelog
+ |
+
void |
+makeDonation()
+Lance l'URL pour faire un don.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AboutWindowController()+
public void checkForUpdates()+
public void launchChangelogWindow()+
public void giveFeedback()+
public void makeDonation()+
public class ArgumentsPropertiesController
+extends java.lang.Object
+| Constructor and Description | +
|---|
ArgumentsPropertiesController(UmlDiagramController umlDiagramController,
+ ClassPropertiesController classPropertiesController,
+ Method method)
+Constructeur de ArgumentsPropertiesController
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addArgument()
+Ajoute un argument à la méthode sélectionnée et rafraîchit la liste des arguments.
+ |
+
java.lang.String |
+getMethodName()
+Renvoie à la fenêtre le nom de la méthode en cours d'édition
+ |
+
void |
+goDownArgument(int index)
+Baisse l'argument
+ |
+
void |
+goUpArgument(int index)
+Monte l'argument
+ |
+
void |
+refreshArguments()
+Commande le rafraîchissement du tableau des arguments
+ |
+
void |
+removeArgument(int index)
+Retire un argument à la méthode et rafraîchit la liste des arguments.
+ |
+
void |
+save(int index,
+ java.lang.String type,
+ java.lang.String name)
+Sauvegarde les modifications pour la méthode en cours et ferme la fenêtre.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ArgumentsPropertiesController(UmlDiagramController umlDiagramController, + ClassPropertiesController classPropertiesController, + Method method)+
umlDiagramController - Une instance de UmlDiagramController qui a effectuée la demandeclassPropertiesController - Une instance de ClassPropertiesControllermethod - La méthode modifiéepublic java.lang.String getMethodName()+
public void addArgument()+
public void removeArgument(int index)+
index - Le numéro de l'argument.public void goUpArgument(int index)+
index - L'index de la méthode dans le tableau.public void goDownArgument(int index)+
index - L'index de la méthode dans le tableau.public void refreshArguments()+
public void save(int index, + java.lang.String type, + java.lang.String name)+
index - Le numéro de l'argument à sauvegarder.type - Le type de l'argument à sauvegarder.name - Le nom de l'argument à sauvegarder.public class ChangelogWindowController
+extends java.lang.Object
+| Constructor and Description | +
|---|
ChangelogWindowController()
+Constructeur de ChangelogWindowController.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
java.util.List<java.lang.String> |
+getChangelog()
+Renvoie les dernières modifications apportées au logiciel à la fenêtre.
+ |
+
java.lang.String |
+getVersion()
+Renvoie le numéro de version du logiciel à la fenêtre.
+ |
+
void |
+giveFeedback()
+Lance l'URL du formulaire pour la soumission d'idées ou bugs.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ChangelogWindowController()+
public java.lang.String getVersion()+
public java.util.List<java.lang.String> getChangelog()+
public void giveFeedback()+
public class ClassPropertiesController
+extends java.lang.Object
+| Constructor and Description | +
|---|
ClassPropertiesController(UmlDiagramController umlDiagramController,
+ Class c)
+Constructeur de ClassPropertiesController
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addAttribute()
+Ajoute un attribut à la classe et rafraîchit la liste des attributs.
+ |
+
void |
+addMethod()
+Ajoute une méthode à la classe et rafraîchit la liste des méthodes.
+ |
+
void |
+computeMinSize()
+Recalcule les dimensions minimum de la classe
+ |
+
java.lang.String |
+getClassName()
+Donne le nom de la classe en cours d'édition à la fenêtre.
+ |
+
void |
+goDownAttribute(int attributeRow)
+Go down the selected attribute
+ |
+
void |
+goDownMethod(int methodRow)
+Baisser une méthode
+ |
+
void |
+goUpAttribute(int attributeRow)
+Go up the selected attribute
+ |
+
void |
+goUpMethod(int methodRow)
+Monter une méthode
+ |
+
boolean |
+isMainClass()
+Retourne si la classe en cours d'édition est la classe principale
+ |
+
void |
+openArgumentsWindow(int methodRow)
+Open the arguments properties window
+ |
+
void |
+overloadMethod(int index)
+Surcharge la méthode sélectionnée
+ |
+
void |
+refreshAttributes()
+Rafraîchissement des attributs
+ |
+
void |
+refreshGraphics()
+Rafraîchit la classe graphiquement.
+ |
+
void |
+refreshMethods()
+Rafraîchissement des méthodes
+ |
+
void |
+removeAttribute(int index)
+Retire un attribut à la classe et rafraîchit la liste des attributs.
+ |
+
void |
+removeMethod(int index)
+Retire une méthode à la classe et rafraîchit la liste des méthodes.
+ |
+
void |
+saveAttribute(int index,
+ java.lang.String name,
+ java.lang.String access,
+ java.lang.String type,
+ boolean isStatic,
+ boolean isFinal,
+ boolean isAbstract,
+ boolean isSynchronized,
+ boolean isVolatile,
+ boolean isTransient)
+Sauvegarde les informations d'un attribut.
+ |
+
void |
+saveClass(java.lang.String name)
+Sauvegarde l'ensemble de la classe.
+ |
+
void |
+saveMethod(int index,
+ boolean isConstructor,
+ java.lang.String name,
+ java.lang.String access,
+ java.lang.String type,
+ boolean isStatic,
+ boolean isFinal,
+ boolean isAbstract,
+ boolean isSynchronized,
+ boolean isVolatile,
+ boolean isTransient)
+Sauvegarde les informations d'une méthode
+ |
+
void |
+setMainClass()
+Paramètre la classe en cours d'édition comme classe principale
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ClassPropertiesController(UmlDiagramController umlDiagramController, + Class c)+
umlDiagramController - Le contrôleur du diagramme UML qui a demandée l'affichage.c - La classe en cours d'édition.public java.lang.String getClassName()+
public void setMainClass()+
public boolean isMainClass()+
public void computeMinSize()+
public void addAttribute()+
public void removeAttribute(int index)+
index - Le numéro de l'attribut dans le tableau.public void saveAttribute(int index, + java.lang.String name, + java.lang.String access, + java.lang.String type, + boolean isStatic, + boolean isFinal, + boolean isAbstract, + boolean isSynchronized, + boolean isVolatile, + boolean isTransient)+
index - Le numéro de l'attribut à modifier.name - Le nom de l'attribut.access - L'accès de l'attribut.type - Le type de l'attribut.isStatic - L'attribut est statique.isFinal - L'attribut est final.isAbstract - L'attribut est abstrait.isSynchronized - L'attribut est synchronisé.isVolatile - L'attribut est volatile.isTransient - L'attribut est éphémère.public void goUpAttribute(int attributeRow)+
attributeRow - Le numéro de l'attribut.public void goDownAttribute(int attributeRow)+
attributeRow - Le numéro de l'attribut.public void openArgumentsWindow(int methodRow)+
methodRow - Le numéro de la méthode.public void refreshAttributes()+
public void refreshMethods()+
public void addMethod()+
public void removeMethod(int index)+
index - Le numéro de la méthode.public void saveMethod(int index, + boolean isConstructor, + java.lang.String name, + java.lang.String access, + java.lang.String type, + boolean isStatic, + boolean isFinal, + boolean isAbstract, + boolean isSynchronized, + boolean isVolatile, + boolean isTransient)+
index - L'index de la méthodeisConstructor - La méthode est constructeurname - Le nom de la méthodeaccess - L'accès de la méthodetype - Le type de la méthodeisStatic - La méthode est statiqueisFinal - La méthode est finaleisAbstract - La méthode est abstraiteisSynchronized - La méthode est synchroniséeisVolatile - La méthode est volatileisTransient - La méthode est éphémèrepublic void goUpMethod(int methodRow)+
methodRow - L'index de la méthodepublic void goDownMethod(int methodRow)+
methodRow - L'index de la méthodepublic void overloadMethod(int index)+
index - L'index de la méthode.public void saveClass(java.lang.String name)+
name - Le nom de la classe.public void refreshGraphics()+
public class HomeFrameController
+extends java.lang.Object
+| Constructor and Description | +
|---|
HomeFrameController(HomeFrame homeFrame,
+ WindowController windowController)
+Constructeur de HomeFrameController.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+giveFeedback()
+Lance l'URL du formumlaire de soumission d'idées ou bugs.
+ |
+
boolean |
+isHomeAtStartup()
+Retourne le paramètre utilisateur d'ouverture automatique de la page d'accueil.
+ |
+
void |
+makeDonation()
+Lance l'URL pour faire un don.
+ |
+
void |
+newBlankProject()
+Ajoute un projet vide à la fenêtre.
+ |
+
void |
+newUmlProject()
+Ajoute un projet UML à la fenêtre.
+ |
+
void |
+openProject(java.lang.String path)
+Commande l'ouverture d'un projet existant.
+ |
+
void |
+showHomeAtStartup(boolean state)
+Modifie le paramètre utilisateur pour l'ouverture automatique de la page d'accueil au démarrage.
+ |
+
void |
+visitRepository()
+Lance l'URL du dépôt.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic HomeFrameController(HomeFrame homeFrame, + WindowController windowController)+
homeFrame - Une instance de la page d'accueil.windowController - Le contrôleur de la fenêtre principale qui a demandé l'affichagepublic void newBlankProject()+
public void newUmlProject()+
public void openProject(java.lang.String path)+
path - Le chemin du projet.public void giveFeedback()+
public void visitRepository()+
public void makeDonation()+
public void showHomeAtStartup(boolean state)+
state - L'état.public boolean isHomeAtStartup()+
public class LinkPropertiesController
+extends java.lang.Object
+| Constructor and Description | +
|---|
LinkPropertiesController(UmlDiagramController umlDiagramController,
+ Link link)
+Constructeur de LinkPropertiesController.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
java.lang.String |
+getLinkEndName()
+Retourne le nom de la classe de d'arrivée du lien.
+ |
+
int |
+getLinkId()
+Retourne le numéro du lien en cours d'édition.
+ |
+
int |
+getLinkMaxCardinalityEnd()
+Retourne la cardinalité maximum de la classe d'arrivée.
+ |
+
int |
+getLinkMaxCardinalityStart()
+Retourne la cardinalité maximum de la classe de départ.
+ |
+
int |
+getLinkMinCardinalityEnd()
+Retourne la cardinalité minimum de la classe d'arrivée.
+ |
+
int |
+getLinkMinCardinalityStart()
+Retourne la cardinalité minimum de la classe de départ.
+ |
+
java.lang.String |
+getLinkName()
+Retourne le nom du lien en cours d'édition.
+ |
+
java.lang.String |
+getLinkStartName()
+Retourne le nom de la classe de départ du lien.
+ |
+
Link.LinkType |
+getLinkType()
+Retourne le type du lien en cours d'édition.
+ |
+
void |
+refresh()
+Rafraîchit l'affichage.
+ |
+
void |
+setLinkMaxCardinalityEnd(int card)
+Paramètre la cardinalité maximum de la classe d'arrivée.
+ |
+
void |
+setLinkMaxCardinalityStart(int card)
+Paramètre la cardinalité maximum de la classe de départ.
+ |
+
void |
+setLinkMinCardinalityEnd(int card)
+Paramètre la cardinalité minimum de la classe d'arrivée.
+ |
+
void |
+setLinkMinCardinalityStart(int card)
+Paramètre la cardinalité minimum de la classe de départ.
+ |
+
void |
+setLinkName(java.lang.String name)
+Paramètre le nom du lien en cours d'édition.
+ |
+
void |
+setLinkType(Link.LinkType type)
+Paramètre le type du lien en cours d'édition.
+ |
+
void |
+switchDirection()
+Inverse la direction du lien en cours d'édition.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic LinkPropertiesController(UmlDiagramController umlDiagramController, + Link link)+
umlDiagramController - Le contrôleur du diagramme UML qui a commandé l'affichage.link - Le lien en cours d'édition.public java.lang.String getLinkName()+
public void setLinkName(java.lang.String name)+
name - Le nouveau nom.public java.lang.String getLinkStartName()+
public java.lang.String getLinkEndName()+
public Link.LinkType getLinkType()+
public void setLinkType(Link.LinkType type)+
type - Le nouveau type.public int getLinkId()+
public int getLinkMinCardinalityStart()+
public int getLinkMaxCardinalityStart()+
public int getLinkMinCardinalityEnd()+
public int getLinkMaxCardinalityEnd()+
public void setLinkMinCardinalityStart(int card)+
card - La cardinalité minimum de la classe de départ.public void setLinkMaxCardinalityStart(int card)+
card - La cardinalité maximum de la classe de départ.public void setLinkMinCardinalityEnd(int card)+
card - La cardinalité minimum de la classe d'arrivée.public void setLinkMaxCardinalityEnd(int card)+
card - La cardinalité maximum de la classe d'arrivée.public void switchDirection()+
public void refresh()+
public class UmlDiagramController
+extends java.lang.Object
+| Constructor and Description | +
|---|
UmlDiagramController(UmlDiagramFrame umlDiagramFrame,
+ UmlDiagram umlDiagram)
+Constructeur de UmlDiagramController
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addClass(int posX,
+ int posY)
+Ajoute une classe dans le diagramme
+ |
+
void |
+addLink(Class start,
+ Class end,
+ UmlDiagramFrame.ClassGrip gripStart,
+ UmlDiagramFrame.ClassGrip gripEnd,
+ int minCardStart,
+ int maxCardStart,
+ int minCardEnd,
+ int maxCardEnd,
+ Link.LinkType type)
+Ajoute un nouveau lien au diagramme.
+ |
+
void |
+clearClasses()
+Supprime l'ensemble des classes du diagramme.
+ |
+
java.util.List<Class> |
+getClassesList()
+Retourne la liste des classes du diagramme UML.
+ |
+
java.util.List<Link> |
+getLinksList()
+Retourne la liste des liens du diagramme.
+ |
+
Class |
+getMainClass()
+Retourne la classe principale du diagramme.
+ |
+
java.lang.String |
+getName()
+Retourne le nom du diagramme UML.
+ |
+
void |
+needToSave()
+Invalidation du diagramme pour sauvegarde
+ |
+
void |
+refreshGraphics()
+Rafraîchissement du diagramme
+ |
+
void |
+removeClass(Class a)
+Retire une classe du diagramme.
+ |
+
void |
+resizeDown(Class a,
+ int posY)
+Redimensionne une classe vers le bas.
+ |
+
void |
+resizeLeft(Class a,
+ int posX)
+Redimensionne une classe vers la gauche.
+ |
+
void |
+resizeRight(Class a,
+ int posX)
+Redimensionne une classe vers la droite.
+ |
+
void |
+resizeUp(Class a,
+ int posY)
+Redimensionne une classe vers le haut.
+ |
+
void |
+setMainClass(Class c)
+Paramètre la classe principale du diagramme.
+ |
+
void |
+setPosX(Class a,
+ int posX)
+Paramètre la position X d'une classe du diagramme.
+ |
+
void |
+setPosY(Class a,
+ int posY)
+Paramètre la position Y d'une classe du diagramme.
+ |
+
void |
+showClassWindow(Class c)
+Affichage de la fenêtre de modification d'une classe
+ |
+
void |
+showLinkWindow(Link l)
+Affichage de la fenêtre de modification d'un lien
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic UmlDiagramController(UmlDiagramFrame umlDiagramFrame, + UmlDiagram umlDiagram)+
umlDiagramFrame - La fenêtre contrôlée.umlDiagram - Le diagramme UML concerné.public java.lang.String getName()+
public java.util.List<Class> getClassesList()+
public void removeClass(Class a)+
a - La classe à retirer.public void clearClasses()+
public java.util.List<Link> getLinksList()+
public Class getMainClass()+
public void setMainClass(Class c)+
c - La classe principale.public void addClass(int posX, + int posY)+
posX - La coordonnée X de la classeposY - La coordonnée Y de la classepublic void resizeUp(Class a, + int posY)+
a - La classe à redimensionner.posY - Le décalage Y de la souris.public void resizeRight(Class a, + int posX)+
a - La classe à redimensionner.posX - Le décalage X de la souris.public void resizeDown(Class a, + int posY)+
a - La classe à redimensionner.posY - Le décalage Y de la souris.public void resizeLeft(Class a, + int posX)+
a - La classe à redimensionner.posX - Le décalage X de la souris.public void setPosX(Class a, + int posX)+
a - La classe à modifier.posX - La nouvelle position X.public void setPosY(Class a, + int posY)+
a - La classe à modifier.posY - La nouvelle position Y.public void addLink(Class start, + Class end, + UmlDiagramFrame.ClassGrip gripStart, + UmlDiagramFrame.ClassGrip gripEnd, + int minCardStart, + int maxCardStart, + int minCardEnd, + int maxCardEnd, + Link.LinkType type)+
start - La classe de départend - La classe d'arrivéegripStart - La position de départgripEnd - La position d'arrivéeminCardStart - La cardinalité minimum de la classe de départmaxCardStart - La cardinalité maximum de la classe de départminCardEnd - La cardinalité minimum de la classe d'arrivéemaxCardEnd - La cardinalité maximum de la classe d'arrivéetype - Le type du lienpublic void needToSave()+
public void refreshGraphics()+
public void showClassWindow(Class c)+
c - La classe à modifierpublic void showLinkWindow(Link l)+
l - Le lien à modifierpublic class WindowController
+extends java.lang.Object
+| Constructor and Description | +
|---|
WindowController()
+Constructeur du contrôleur de la vue principale
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addUmlComposition(int projectListId)
+Ajoute une composition UML à un projet
+ |
+
boolean |
+askForExit()
+Vérifie si la fenêtre contient des projets non-enregistrés avant la fermeture
+ |
+
boolean |
+askForProjectSaved(Project project)
+Retourne si le projet nécessite d'être sauvegardé ou non
+ |
+
void |
+checkForUpdates()
+Lance l'URL du centre de téléchargement du logiciel.
+ |
+
void |
+deleteComposition(int projectListId,
+ int compositionListId)
+Supprimer une composition d'un projet
+ |
+
void |
+deleteCompositionFrame(java.lang.String projectName,
+ java.lang.String compositionName)
+Retire la CompositionFrame du widget
+ |
+
void |
+deleteProject(int projectListId)
+Supprime un projet existant
+ |
+
java.lang.String |
+getCompositionName(int projectListId,
+ int compositionListId)
+Retourne le nom de la composition sélectionnée dans le Workspace
+ |
+
java.lang.String |
+getProjectName(int projectListId)
+Retourne le nom du projet sélectionné dans le Workspace
+ |
+
java.util.List<Project> |
+getProjects()
+Retourne la liste des projets actuellement ouverts
+ |
+
void |
+launchAboutWindow()
+Lance l'ouverture de la fenêtre A Propos
+ |
+
void |
+newBlankProject()
+Ajoute un nouveau projet vide à la fenêtre en cours
+ |
+
void |
+newUmlProject()
+Ajoute un nouveau projet UML à la fenêtre en cours
+ |
+
void |
+openComposition(int projectListId,
+ int compositionListId)
+Ouvre une composition dans la fenêtre
+ |
+
void |
+openProject(java.lang.String path)
+Ouvre un projet depuis un emplacement existant
+ |
+
void |
+refreshWorkspace()
+Commande la mise à jour du Workspace
+ |
+
void |
+renameComposition(int projectListId,
+ int compositionListId,
+ java.lang.String newName)
+Renomme la composition d'un projet
+ |
+
void |
+renameProject(int projectListId,
+ java.lang.String newName)
+Renomme le projet sélectionné
+ |
+
void |
+saveAsProject(int projectListId)
+Sauvegarder le projet sous
+ |
+
void |
+saveProject(int projectListId)
+Sauvegarder le projet
+ |
+
void |
+showHomeFrame()
+Affiche la page d'accueil du logiciel en tant que composition.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic WindowController()+
public void openComposition(int projectListId, + int compositionListId)+
projectListId - Le numéro du projetcompositionListId - Le numéro de la compositionpublic void newBlankProject()+
public void newUmlProject()+
public void addUmlComposition(int projectListId)+
projectListId - Le numéro du projetpublic void renameProject(int projectListId, + java.lang.String newName)+
projectListId - Le numéro du projetnewName - Le nouveau nompublic void deleteProject(int projectListId)+
projectListId - Le numéro du projetpublic void renameComposition(int projectListId, + int compositionListId, + java.lang.String newName)+
projectListId - Le numéro du projetcompositionListId - Le numéro de la compositionnewName - Le nouveau nom de compositionpublic void deleteComposition(int projectListId, + int compositionListId)+
projectListId - Le numéro du projetcompositionListId - Le numéro de la compositionpublic void deleteCompositionFrame(java.lang.String projectName, + java.lang.String compositionName)+
projectName - Le nom du projet.compositionName - Le nom de la composition.public void refreshWorkspace()+
public void showHomeFrame()+
public void openProject(java.lang.String path)+
path - Chemin du projet à ouvrirpublic java.util.List<Project> getProjects()+
public java.lang.String getProjectName(int projectListId)+
projectListId - Le numéro du projet.public boolean askForProjectSaved(Project project)+
project - Le projet concerné.public java.lang.String getCompositionName(int projectListId, + int compositionListId)+
projectListId - Le numéro du projetcompositionListId - Le numéro de la compositionpublic void saveProject(int projectListId)+
projectListId - Le numéro du projetpublic void saveAsProject(int projectListId)+
projectListId - Le numéro du projetpublic boolean askForExit()+
public void launchAboutWindow()+
public void checkForUpdates()+
| Class | +Description | +
|---|---|
| AboutWindowController | ++ |
| ArgumentsPropertiesController | ++ |
| ChangelogWindowController | ++ |
| ClassPropertiesController | ++ |
| HomeFrameController | ++ |
| LinkPropertiesController | ++ |
| UmlDiagramController | ++ |
| WindowController | ++ |
public class Argument
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_argumentId |
+
| Constructor and Description | +
|---|
Argument()
+Constructeur - Crée une instance de Argument.
+ |
+
Argument(java.lang.String type,
+ java.lang.String name)
+Constructeur - Crée une instance de Argument avec des paramètres donnés.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+getId()
+Récupère le numéro de l'argument.
+ |
+
java.lang.String |
+getName()
+Récupère le nom de l'argument.
+ |
+
java.lang.String |
+getType()
+Récupère le type de l'argument.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom de l'argument.
+ |
+
void |
+setType(java.lang.String type)
+Paramètre le type de l'argument.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Argument()+
public Argument(java.lang.String type, + java.lang.String name)+
type - Le type de l'argument.name - Le nom de l'argument.public int getId()+
public java.lang.String getType()+
public void setType(java.lang.String type)+
type - Le type de l'argument.public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom de l'argument.public class Attribute
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_attributeId |
+
static java.lang.String |
+PRIVATE |
+
static java.lang.String |
+PROTECTED |
+
static java.lang.String |
+PUBLIC |
+
| Constructor and Description | +
|---|
Attribute()
+Constructeur - Crée une instance de Attribute.
+ |
+
Attribute(java.lang.String name,
+ java.lang.String access,
+ java.lang.String type)
+Constructeur - Crée une instance de Attribute avec des paramètres donnés.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
java.lang.String |
+getAccess()
+Récupère le modificateur d'accès de l'attribut.
+ |
+
int |
+getId()
+Récupère le numéro de l'attribut.
+ |
+
java.lang.String |
+getName()
+Récupère le nom de l'attribut.
+ |
+
java.lang.String |
+getType()
+Récupère le type de l'attribut.
+ |
+
boolean |
+isAbstract()
+Retourne si l'attribut est abstrait ou non.
+ |
+
boolean |
+isFinal()
+Retourne si l'attribut est final ou non.
+ |
+
boolean |
+isStatic()
+Retourne si l'attribut est statique ou non.
+ |
+
boolean |
+isSynchronized()
+Retourne si l'attribut est synchronisé ou non.
+ |
+
boolean |
+isTransient()
+Retourne si l'attribut est transitoire ou non.
+ |
+
boolean |
+isVolatile()
+Retourne si l'attribut est volatile ou non.
+ |
+
void |
+setAbstract(boolean a)
+Paramètre la caractéristique abstraite de l'attribut.
+ |
+
void |
+setAccess(java.lang.String access)
+Paramètre le modificateur d'accès de l'attribut.
+ |
+
void |
+setFinal(boolean f)
+Paramètre la caractéristique final de l'attribut.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom de l'attribut.
+ |
+
void |
+setStatic(boolean s)
+Paramètre la caractéristique statique de l'attribut.
+ |
+
void |
+setSynchronized(boolean s)
+Paramètre la caractéristique synchronisée de l'attribut.
+ |
+
void |
+setTransient(boolean t)
+Paramètre la caractéristique transitoire de l'attribut.
+ |
+
void |
+setType(java.lang.String type)
+Paramètre le type de l'attribut.
+ |
+
void |
+setVolatile(boolean v)
+Paramètre la caractéristique volatile de l'attribut.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static int _attributeId+
public static final java.lang.String PRIVATE+
public static final java.lang.String PROTECTED+
public static final java.lang.String PUBLIC+
public Attribute()+
public Attribute(java.lang.String name, + java.lang.String access, + java.lang.String type)+
access - Le modificateur d'accès de l'attribut.name - Le nom de l'attribut.type - Le type de l'attribut.public int getId()+
public java.lang.String getAccess()+
public void setAccess(java.lang.String access)+
access - Le modificateur d'accès de l'attributpublic java.lang.String getType()+
public void setType(java.lang.String type)+
type - Le type de l'attribut.public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom de l'attribut.public boolean isStatic()+
public void setStatic(boolean s)+
s - true : l'attribut est statique, false : l'attribut n'est pas statiquepublic boolean isFinal()+
public void setFinal(boolean f)+
f - true : l'attribut est final, false : l'attribut n'est pas finalpublic boolean isAbstract()+
public void setAbstract(boolean a)+
a - true : l'attribut est abstrait, false : l'attribut n'est pas abstrait.public boolean isSynchronized()+
public void setSynchronized(boolean s)+
s - true : l'attribut est synchronisé, false : l'attribut n'est pas synchronisé.public boolean isVolatile()+
public void setVolatile(boolean v)+
v - true : l'attribut est volatile, false : l'attribut n'est pas volatilepublic boolean isTransient()+
public void setTransient(boolean t)+
t - true : l'attribut est transitoire, false : l'attribut n'est pas transitoirepublic class Class
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_classId |
+
| Constructor and Description | +
|---|
Class(int posX,
+ int posY)
+Constructeur - Crée une instance de Class.
+ |
+
Class(java.lang.String name,
+ int posX,
+ int posY,
+ int sizeX,
+ int sizeY,
+ java.util.ArrayList<Attribute> attributes,
+ java.util.ArrayList<Method> methods)
+Constructeur - Crée une instance de Class avec les paramètres donnés.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addAttribute(Attribute a)
+Ajoute un attribut à la classe.
+ |
+
void |
+addMethod(int index,
+ Method m)
+Ajoute une méthode à la classe.
+ |
+
void |
+addMethod(Method m)
+Ajoute une méthode à la classe.
+ |
+
void |
+clearAttributes()
+Supprime tous les attributs de la classe.
+ |
+
void |
+clearMethods()
+Supprime toutes les méthodes de la classe.
+ |
+
void |
+computeMinSize()
+Paramètre les tailles minimum de la classe sur les axes X et Y en fonction de son contenu
+ |
+
boolean |
+downAttribute(int index)
+Faire descendre l'attribut sélectionné dans la liste.
+ |
+
boolean |
+downMethod(int index)
+Faire descendre la méthode sélectionnée dans la liste.
+ |
+
java.util.List<Attribute> |
+getAttributes()
+Récupère tous les attributs de la classe.
+ |
+
java.util.List<java.util.List<java.lang.Integer>> |
+getGripsPosition()
+Retourne l'ensemble des positions pour dessiner les points d'accroche.
+ |
+
int |
+getId()
+Récupère le numéro de la classe.
+ |
+
java.util.List<Method> |
+getMethods()
+Récupère toutes les méthodes de la classe.
+ |
+
int |
+getMinSizeX()
+Récupère la taille minimale sur l'axe X de la classe.
+ |
+
int |
+getMinSizeY()
+Récupère la taille minimale sur l'axe Y de la classe.
+ |
+
java.lang.String |
+getName()
+Récupère le nom de la classe.
+ |
+
int |
+getPosX()
+Récupère la position sur l'axe X de la classe.
+ |
+
int |
+getPosY()
+Récupère la position sur l'axe Y de la classe.
+ |
+
int |
+getSizeX()
+Récupère la taille sur l'axe X de la classe.
+ |
+
int |
+getSizeY()
+Récupère la taille sur l'axe Y de la classe.
+ |
+
void |
+removeAttribute(int index)
+Supprime un attribut de la classe.
+ |
+
void |
+removeMethod(int index)
+Supprime une méthode de la classe.
+ |
+
void |
+resizeDown(int posY)
+Permet de redimensionner la classe vers le bas.
+ |
+
void |
+resizeLeft(int posX)
+Permet de redimensionner la classe vers la gauche.
+ |
+
void |
+resizeRight(int posX)
+Permet de redimensionner la classe vers la droite.
+ |
+
void |
+resizeUp(int posY)
+Permet de redimensionner la classe vers le haut.
+ |
+
void |
+setMinSizeX(int minSizeX)
+Paramètre la taille minimale sur l'axe X de la classe.
+ |
+
void |
+setMinSizeY(int minSizeY)
+Paramètre la taille minimale sur l'axe Y de la classe.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom de la classe.
+ |
+
void |
+setPosX(int posX)
+Paramètre la position sur l'axe X de la classe.
+ |
+
void |
+setPosY(int posY)
+Paramètre la position sur l'axe Y de la classe.
+ |
+
void |
+setSizeX(int sizeX)
+Paramètre la taille sur l'axe X de la classe.
+ |
+
void |
+setSizeY(int sizeY)
+Paramètre la taille sur l'axe Y de la classe.
+ |
+
boolean |
+upAttribute(int index)
+Faire remonter l'attribut sélectionné dans la liste.
+ |
+
boolean |
+upMethod(int index)
+Faire remonter la méthode sélectionnée dans la liste.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Class(int posX, + int posY)+
posX - La position sur l'axe X de la nouvelle classe.posY - La position sur l'axe Y de la nouvelle classe.public Class(java.lang.String name, + int posX, + int posY, + int sizeX, + int sizeY, + java.util.ArrayList<Attribute> attributes, + java.util.ArrayList<Method> methods)+
name - Le nom de la classe importée.posX - La position sur l'axe X de la classe importée.posY - La position sur l'axe Y de la classe importée.sizeX - La taille sur l'axe X de la classe importée.sizeY - La taille sur l'axe Y de la classe importée.attributes - La liste des attributs de la classe importée.methods - La liste des méthodes de la classe importée.public int getId()+
public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom de la classe.public int getPosX()+
public void setPosX(int posX)+
posX - La position sur l'axe X de la classe.public int getPosY()+
public void setPosY(int posY)+
posY - La position sur l'axe Y de la classe.public int getSizeX()+
public void setSizeX(int sizeX)+
sizeX - La taille sur l'axe X de la classe.public int getSizeY()+
public void setSizeY(int sizeY)+
sizeY - La taille sur l'axe Y de la classe.public int getMinSizeX()+
public void setMinSizeX(int minSizeX)+
minSizeX - La taille minimale sur l'axe X de la classe.public int getMinSizeY()+
public void setMinSizeY(int minSizeY)+
minSizeY - La taille minimale sur l'axe Y de la classe.public void computeMinSize()+
public java.util.List<Attribute> getAttributes()+
public void addAttribute(Attribute a)+
a - L'attribut à ajouter.public void removeAttribute(int index)+
index - L'index de l'attribut à supprimer.public void clearAttributes()+
public boolean upAttribute(int index)+
index - L'index de l'attribut concerné.public boolean downAttribute(int index)+
index - L'index de l'attribut sélectionné.public java.util.List<Method> getMethods()+
public void addMethod(Method m)+
m - La méthode à ajouter.public void addMethod(int index, + Method m)+
m - La méthode à ajouter.index - Le rang d'insertion.public void removeMethod(int index)+
index - L'index de la méthode à supprimer.public void clearMethods()+
public boolean upMethod(int index)+
index - L'index de la méthode concernée.public boolean downMethod(int index)+
index - L'index de la méthode concernée.public void resizeUp(int posY)+
posY - La position en ordonnée du curseur.public void resizeDown(int posY)+
posY - La position en ordonnée du curseur.public void resizeLeft(int posX)+
posX - La position en abscisse du curseur.public void resizeRight(int posX)+
posX - La position en abscisse du curseur.public java.util.List<java.util.List<java.lang.Integer>> getGripsPosition()+
public class Composition
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_compositionId |
+
protected int |
+_id |
+
protected java.lang.String |
+_name |
+
protected boolean |
+_needToSave |
+
| Constructor and Description | +
|---|
Composition()
+Constructeur de la Composition.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+getId()
+Retourne l'identifiant de la composition.
+ |
+
java.lang.String |
+getName()
+Retourne le nom de la composition.
+ |
+
boolean |
+isNeededToSave()
+Retourne si la composition a besoin d'être sauvegardée
+ |
+
void |
+needsToSave(boolean save)
+Inscrit si la composition a besoin d'être sauvegardée ou non
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom de la composition.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static int _compositionId+
protected int _id+
protected java.lang.String _name+
protected boolean _needToSave+
public Composition()+
public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nouveau nom.public int getId()+
public boolean isNeededToSave()+
public void needsToSave(boolean save)+
save - Le paramètre de sauvegardepublic static enum Link.LinkType +extends java.lang.Enum<Link.LinkType>+
| Enum Constant and Description | +
|---|
AGGREGATION |
+
COMPOSITION |
+
INHERITANCE |
+
STRONG |
+
WEAK |
+
| Modifier and Type | +Method and Description | +
|---|---|
static Link.LinkType |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Link.LinkType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final Link.LinkType STRONG+
public static final Link.LinkType WEAK+
public static final Link.LinkType COMPOSITION+
public static final Link.LinkType AGGREGATION+
public static final Link.LinkType INHERITANCE+
public static Link.LinkType[] values()+
+for (Link.LinkType c : Link.LinkType.values()) + System.out.println(c); +
public static Link.LinkType valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic class Link
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Class and Description | +
|---|---|
static class |
+Link.LinkType |
+
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_linkId |
+
static int |
+CARD_NULL |
+
static int |
+CARD_ONE |
+
static int |
+CARD_UNLIMITED |
+
| Constructor and Description | +
|---|
Link(Class start,
+ Class end)
+Constructeur - Crée une instance d'un lien.
+ |
+
Link(Class start,
+ Class end,
+ UmlDiagramFrame.ClassGrip gripStart,
+ UmlDiagramFrame.ClassGrip gripEnd,
+ int minCardinalityStart,
+ int maxCardinalityStart,
+ int minCardinalityEnd,
+ int maxCardinalityEnd,
+ Link.LinkType type)
+Constructeur - Crée une instance d'un lien avec des paramètres donnés.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Class |
+getEnd()
+Récupère la classe d'arrivée du lien.
+ |
+
UmlDiagramFrame.ClassGrip |
+getGripEnd()
+Retourne le point d'accroche du lien sur la classe d'arrivée.
+ |
+
UmlDiagramFrame.ClassGrip |
+getGripStart()
+Retourne le point d'accroche du lien sur la classe de départ.
+ |
+
int |
+getId()
+Récupère le numéro du lien.
+ |
+
int |
+getMaxCardinalityEnd()
+Récupère la cardinalité maximum de la classe d'arrivée.
+ |
+
int |
+getMaxCardinalityStart()
+Récupère la cardinalité maximum de la classe de départ.
+ |
+
int |
+getMinCardinalityEnd()
+Récupère la cardinalité minimum de la classe d'arrivée.
+ |
+
int |
+getMinCardinalityStart()
+Récupère la cardinalité minimum de la classe de départ.
+ |
+
java.lang.String |
+getName()
+Récupère le nom du lien.
+ |
+
Class |
+getStart()
+Récupère la classe de départ du lien.
+ |
+
Link.LinkType |
+getType()
+Récupère le type du lien.
+ |
+
void |
+setEnd(Class end)
+Paramètre la classe d'arrivée.
+ |
+
void |
+setGripEnd(UmlDiagramFrame.ClassGrip gripEnd)
+Paramètre le point d'accroche du lien sur la classe d'arrivée.
+ |
+
void |
+setGripStart(UmlDiagramFrame.ClassGrip gripStart)
+Paramètre le point d'accroche du lien sur la classe de départ.
+ |
+
void |
+setMaxCardinalityEnd(int maxCardinalityEnd)
+Paramètre la cardinalité maximum de la classe d'arrivée.
+ |
+
void |
+setMaxCardinalityStart(int maxCardinalityStart)
+Paramètre la cardinalité maximum de la classe de départ.
+ |
+
void |
+setMinCardinalityEnd(int minCardinalityEnd)
+Paramètre la cardinalité minimum de la classe d'arrivée.
+ |
+
void |
+setMinCardinalityStart(int minCardinalityStart)
+Paramètre la cardinalité minimum de la classe de départ.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom du lien
+ |
+
void |
+setStart(Class start)
+Paramètre la classe de départ du lien.
+ |
+
void |
+setType(Link.LinkType type)
+Paramètre le type du lien
+ |
+
void |
+switchDirection()
+Modifie la direction du lien (permute les classes de départ et d'arrivée).
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static int _linkId+
public static final int CARD_UNLIMITED+
public static final int CARD_NULL+
public static final int CARD_ONE+
public Link(Class start, + Class end)+
start - La classe de départ.end - La classe d'arrivée.public Link(Class start, + Class end, + UmlDiagramFrame.ClassGrip gripStart, + UmlDiagramFrame.ClassGrip gripEnd, + int minCardinalityStart, + int maxCardinalityStart, + int minCardinalityEnd, + int maxCardinalityEnd, + Link.LinkType type)+
start - La classe de départ.end - La classe d'arrivée.gripStart - Le point d'accroche sur la classe de départ.gripEnd - Le point d'accroche sur la classe d'arrivée.minCardinalityStart - La cardinalité minimum de la classe de départ.maxCardinalityStart - La cardinalité maximuù de la classe de départ.minCardinalityEnd - La cardinalité minimum de la classe d'arrivée.maxCardinalityEnd - La cardinalité maximum de la classe d'arrivée.type - Le type de lien.public int getId()+
public Class getStart()+
public void setStart(Class start)+
start - La classe de départ du lien.public int getMinCardinalityStart()+
public void setMinCardinalityStart(int minCardinalityStart)+
minCardinalityStart - La cardinalité minimum de la classe de départ.public int getMaxCardinalityStart()+
public void setMaxCardinalityStart(int maxCardinalityStart)+
maxCardinalityStart - La cardinalité maximum de la classe de départ.public UmlDiagramFrame.ClassGrip getGripStart()+
public void setGripStart(UmlDiagramFrame.ClassGrip gripStart)+
gripStart - Le point d'accroche du lien sur la classe de départ.public Class getEnd()+
public void setEnd(Class end)+
end - La classe d'arrivée.public int getMinCardinalityEnd()+
public void setMinCardinalityEnd(int minCardinalityEnd)+
minCardinalityEnd - La cardinalité minimum de la classe d'arrivée.public int getMaxCardinalityEnd()+
public void setMaxCardinalityEnd(int maxCardinalityEnd)+
maxCardinalityEnd - La cardinalité maximum de la classe d'arrivée.public UmlDiagramFrame.ClassGrip getGripEnd()+
public void setGripEnd(UmlDiagramFrame.ClassGrip gripEnd)+
gripEnd - Le point d'accroche du lien sur la classe d'arrivée.public Link.LinkType getType()+
public void setType(Link.LinkType type)+
type - Le type du lien.public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom du lien.public void switchDirection()+
public class Method
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
static int |
+_methodId |
+
static java.lang.String |
+PRIVATE |
+
static java.lang.String |
+PROTECTED |
+
static java.lang.String |
+PUBLIC |
+
| Constructor and Description | +
|---|
Method()
+Constructeur - Crée une instance de Method.
+ |
+
Method(java.lang.String access,
+ java.lang.String type,
+ java.lang.String name,
+ java.util.ArrayList<Argument> arguments)
+Constructeur - Crée une instance de Method avec des paramètres donnés.
+ |
+
Method(java.lang.String access,
+ java.lang.String type,
+ java.lang.String name,
+ java.util.List<Argument> arguments,
+ boolean constr,
+ boolean stat,
+ boolean fina,
+ boolean abst,
+ boolean sync,
+ boolean vola,
+ boolean tran)
+Constructeur - Crée une instance de Method avec des paramètres donnés.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addArgument(Argument a)
+Ajoute un argument à la méthode.
+ |
+
void |
+clearArguments()
+Retire tous les arguments de la méthode.
+ |
+
boolean |
+downArgument(int index)
+Faire descendre l'argument sélectionné dans la liste.
+ |
+
java.lang.String |
+getAccess()
+Récupère le modificateur d'accès de la méthode.
+ |
+
java.util.List<Argument> |
+getArguments()
+Récupère tous les arguments de la méthode.
+ |
+
int |
+getId()
+Récupère le numéro de la méthode.
+ |
+
java.lang.String |
+getName()
+Récupère le nom de la méthode.
+ |
+
java.lang.String |
+getType()
+Récupère le type de la méthode.
+ |
+
boolean |
+isAbstract()
+Retourne si la méthode est abstrait ou non.
+ |
+
boolean |
+isConstructor()
+Retourne si la méthode est un constructeur de la classe.
+ |
+
boolean |
+isFinal()
+Retourne si la méthode est final ou non.
+ |
+
boolean |
+isStatic()
+Retourne si la méthode est statique ou non.
+ |
+
boolean |
+isSynchronized()
+Retourne si la méthode est synchronisé ou non.
+ |
+
boolean |
+isTransient()
+Retourne si la méthode est transitoire ou non.
+ |
+
boolean |
+isVolatile()
+Retourne si la méthode est volatile ou non.
+ |
+
void |
+removeArgument(int index)
+Retire un argument de la méthode.
+ |
+
void |
+setAbstract(boolean a)
+Paramètre la caractéristique abstraite de la méthode.
+ |
+
void |
+setAccess(java.lang.String access)
+Paramètre le modificateur d'accès de la méthode.
+ |
+
void |
+setConstructor(boolean c)
+Paramètre la caractéristique de constructeur de la méthode.
+ |
+
void |
+setFinal(boolean f)
+Paramètre la caractéristique final de la méthode.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom de la méthode.
+ |
+
void |
+setStatic(boolean s)
+Paramètre la caractéristique statique de la méthode.
+ |
+
void |
+setSynchronized(boolean s)
+Paramètre la caractéristique synchronisée de la méthode.
+ |
+
void |
+setTransient(boolean t)
+Paramètre la caractéristique transitoire de la méthode.
+ |
+
void |
+setType(java.lang.String type)
+Paramètre le type de la méthode.
+ |
+
void |
+setVolatile(boolean v)
+Paramètre la caractéristique volatile de la méthode.
+ |
+
boolean |
+upArgument(int index)
+Faire remonter l'argument sélectionné dans la liste.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static int _methodId+
public static final java.lang.String PRIVATE+
public static final java.lang.String PROTECTED+
public static final java.lang.String PUBLIC+
public Method()+
public Method(java.lang.String access, + java.lang.String type, + java.lang.String name, + java.util.ArrayList<Argument> arguments)+
access - Le modificateur d'accès de la méthode.type - Le type de la méthode.name - Le nom de la méthode.arguments - Les arguments de la méthode.public Method(java.lang.String access, + java.lang.String type, + java.lang.String name, + java.util.List<Argument> arguments, + boolean constr, + boolean stat, + boolean fina, + boolean abst, + boolean sync, + boolean vola, + boolean tran)+
access - Le modificateur d'accès de la méthode.type - Le type de la méthode.name - Le nom de la méthode.arguments - Les arguments de la méthode.constr - Si la méthode est un constructeur.stat - Si la méthode est statique.fina - Si la méthode est finale.abst - Si la méthode est abstraite.sync - Si la méthode est synchronisée.vola - Si la méthode est volatile.tran - Si la méthode est transitoire.public int getId()+
public java.lang.String getAccess()+
public void setAccess(java.lang.String access)+
access - Le modificateur d'accès de la méthode.public java.lang.String getType()+
public void setType(java.lang.String type)+
type - Le type de la méthode.public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom de la méthode.public java.util.List<Argument> getArguments()+
public void addArgument(Argument a)+
a - L'argument à ajouter.public void removeArgument(int index)+
index - L'index de l'argument à retirer.public void clearArguments()+
public boolean upArgument(int index)+
index - L'index de l'argument concerné.public boolean downArgument(int index)+
index - L'index de l'argument concerné.public boolean isConstructor()+
public void setConstructor(boolean c)+
c - true : la méthode est un constructeur, false: la méthode n'est pas un constructeur.public boolean isStatic()+
public void setStatic(boolean s)+
s - true : la méthode est statique, false : la méthode n'est pas statiquepublic boolean isFinal()+
public void setFinal(boolean f)+
f - true : la méthode est final, false : la méthode n'est pas finalpublic boolean isAbstract()+
public void setAbstract(boolean a)+
a - true : la méthode est abstrait, false : la méthode n'est pas abstrait.public boolean isSynchronized()+
public void setSynchronized(boolean s)+
s - true : la méthode est synchronisé, false : la méthode n'est pas synchronisé.public boolean isVolatile()+
public void setVolatile(boolean v)+
v - true : la méthode est volatile, false : la méthode n'est pas volatilepublic boolean isTransient()+
public void setTransient(boolean t)+
t - true : la méthode est transitoire, false : la méthode n'est pas transitoirepublic class Project
+extends java.lang.Object
+implements java.io.Serializable
+| Modifier and Type | +Field and Description | +
|---|---|
protected boolean |
+_needToSave |
+
static int |
+_projectId |
+
| Constructor and Description | +
|---|
Project()
+Constructeur - Crée une instance de Projet.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addComposition(Composition composition)
+Ajoute une composition au projet
+ |
+
java.lang.String |
+getAuthor()
+Récupère l'auteur du Projet.
+ |
+
java.util.List<Composition> |
+getCompositions()
+Récupère les compositions inclues dans le projet.
+ |
+
java.lang.String |
+getDesignation()
+Récupère la désignation du Projet.
+ |
+
int |
+getId()
+Récupère le numéro du Projet.
+ |
+
java.lang.String |
+getName()
+Récupère le nom du Projet.
+ |
+
java.lang.String |
+getPath()
+Récupère la désignation du Projet.
+ |
+
java.lang.String |
+getVersion()
+Récupère le numéro de version du Projet.
+ |
+
boolean |
+isNeededToSave()
+Retourne si le projet a besoin d'être sauvegardé
+ |
+
void |
+needsToSave(boolean save)
+Inscrit si le projet a besoin d'être sauvegardée ou non
+ |
+
void |
+removeComposition(int compositionListId)
+Retire une composition du projet
+ |
+
boolean |
+saveAsProject()
+Sauvegarde le projet en cours à un autre emplacement.
+ |
+
boolean |
+saveProject()
+Sauvegarde le projet en cours.
+ |
+
void |
+setAuthor(java.lang.String author)
+Paramètre l'auteur du Projet.
+ |
+
void |
+setDesignation(java.lang.String designation)
+Paramètre la désignation du Projet.
+ |
+
void |
+setName(java.lang.String name)
+Paramètre le nom du Projet.
+ |
+
void |
+setPath(java.lang.String path)
+Paramètre la désignation du Projet.
+ |
+
void |
+setVersion(java.lang.String version)
+Paramètre le numéro de version du Projet.
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static int _projectId+
protected boolean _needToSave+
public Project()+
public void addComposition(Composition composition)+
composition - La composition à ajouterpublic void removeComposition(int compositionListId)+
compositionListId - Le numéro de la compositionpublic java.util.List<Composition> getCompositions()+
public int getId()+
public java.lang.String getName()+
public void setName(java.lang.String name)+
name - Le nom du projet.public java.lang.String getAuthor()+
public void setAuthor(java.lang.String author)+
author - L'auteur du projet.public java.lang.String getVersion()+
public void setVersion(java.lang.String version)+
version - Le numéro de version du projet.public java.lang.String getDesignation()+
public void setDesignation(java.lang.String designation)+
designation - La désignation du projet.public java.lang.String getPath()+
public void setPath(java.lang.String path)+
path - Le chemin vers le fichier du projet.public boolean saveProject()+
public boolean saveAsProject()+
public boolean isNeededToSave()+
public void needsToSave(boolean save)+
save - Le paramètre de sauvegardepublic class UmlDiagram +extends Composition+
_compositionId, _id, _name, _needToSave| Constructor and Description | +
|---|
UmlDiagram()
+Constructeur de UmlDiagram
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addClass(Class a)
+Ajoute une classe au diagramme UML.
+ |
+
void |
+addLink(Link a)
+Ajoute un lien au diagramme UML.
+ |
+
void |
+clearClasses()
+Supprime toutes les classes du diagramme UML.
+ |
+
void |
+clearLinks()
+Supprimer tous les liens du diagramme UML.
+ |
+
java.util.List<Class> |
+getClasses()
+Retourne une liste de toutes les classes du diagramme UML.
+ |
+
java.util.List<Link> |
+getLinks()
+Retourne une liste de tous les liens du diagramme UML.
+ |
+
Class |
+getMainClass()
+Retourne la classe principale du diagramme.
+ |
+
void |
+removeClass(Class a)
+Supprime une classe du diagramme UML.
+ |
+
void |
+removeLink(Link a)
+Supprime un lien du diagramme UML.
+ |
+
void |
+setMainClass(Class a)
+Paramétre la classe principale du diagramme.
+ |
+
getId, getName, isNeededToSave, needsToSave, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic UmlDiagram()+
public java.util.List<Class> getClasses()+
public void addClass(Class a)+
a - La classe à ajouter.public void removeClass(Class a)+
a - La classe à supprimer.public void clearClasses()+
public java.util.List<Link> getLinks()+
public void addLink(Link a)+
a - Le lien à ajouter.public void removeLink(Link a)+
a - Le lien à supprimer.public void clearLinks()+
public Class getMainClass()+
public void setMainClass(Class a)+
a - La nouvelle classe principale du diagramme.| Class | +Description | +
|---|---|
| Argument | +
+ Gère un argument d'une méthode.
+ |
+
| Attribute | +
+ Gère un attribut d'une classe.
+ |
+
| Class | +
+ Gère une classe d'un diagramme UML.
+ |
+
| Composition | +
+ Gère une composition d'un projet.
+ |
+
| Link | +
+ Gère un lien entre deux classes.
+ |
+
| Method | +
+ Gère une méthode d'une classe.
+ |
+
| Project | +
+ Gère un projet.
+ |
+
| UmlDiagram | +
+ Gère un diagramme UML.
+ |
+
| Enum | +Description | +
|---|---|
| Link.LinkType | ++ |
| Class | +Description | +
|---|---|
| AppThinker | +
+ La classe principale du logiciel AppThinker.
+ |
+
| ATProperties | ++ |
public class AboutWindow
+extends javax.swing.JDialog
+javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
AboutWindow()
+Constructeur - Crée une fenêtre A propos
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+initializeGraphics()
+Charge les informations dans la fenêtre
+ |
+
void |
+setController(AboutWindowController atAboutController)
+Lie la vue à un contrôleur A propos
+ |
+
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic AboutWindow()+
public void initializeGraphics()+
public void setController(AboutWindowController atAboutController)+
atAboutController - Contrôleur de la fenêtre A propospublic class ArgumentsPropertiesWindow
+extends javax.swing.JDialog
+javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
ArgumentsPropertiesWindow()
+Constructeur de ArgumentsPropertiesWindow
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+initializeGraphics()
+Charge les informations dans la fenêtre
+ |
+
void |
+listArguments(java.util.List<Argument> arguments)
+Affiche la liste des arguments de la méthode dans le tableau
+ |
+
void |
+save()
+Sauvegarde les modifications pour la méthode en cours et ferme la fenêtre.
+ |
+
void |
+selectArgument(int index)
+Sélectionne une ligne du tableau d'arguments
+ |
+
void |
+setController(ArgumentsPropertiesController argumentsPropertiesController)
+Lie la vue à un contrôleur.
+ |
+
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ArgumentsPropertiesWindow()+
public void setController(ArgumentsPropertiesController argumentsPropertiesController)+
argumentsPropertiesController - La classe contrôleurpublic void initializeGraphics()+
public void selectArgument(int index)+
index - L'index de la ligne à sélectionnerpublic void listArguments(java.util.List<Argument> arguments)+
arguments - La liste des arguments.public void save()+
public class ChangelogWindow
+extends javax.swing.JDialog
+javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
ChangelogWindow()
+Constructeur de ChangelogWindow
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+displayChangelog()
+Affiche les informations du changelog dans la fenêtre
+ |
+
void |
+setController(ChangelogWindowController changelogWindowController)
+Lie la vue à un contrôleur
+ |
+
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ChangelogWindow()+
public void setController(ChangelogWindowController changelogWindowController)+
changelogWindowController - La classe contrôleur.public void displayChangelog()+
public class ClassPropertiesWindow
+extends javax.swing.JDialog
+javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
ClassPropertiesWindow()
+Constructeur - Crée une instance de la fenêtre de propriétés de classe à partir d'un diagramme et de la classe à modifier.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+initializeGraphics()
+Charge les informations dans la fenêtre
+ |
+
void |
+listAttributes(java.util.List<Attribute> attributes)
+Affiche la liste des attributs de la classe dans le tableau
+ |
+
void |
+listMethods(java.util.List<Method> methods)
+Affiche la liste des méthodes de la classe dans le tableau.
+ |
+
void |
+saveAttributes()
+Sauvegarde les attributs pour la classe en cours.
+ |
+
void |
+saveMethods()
+Sauvegarde les méthodes pour la classe en cours.
+ |
+
void |
+selectAttribute(int index)
+Sélectionne une ligne dans le tableau d'attributs
+ |
+
void |
+selectMethod(int index)
+Sélectionne une ligne dans le tableau des méthodes
+ |
+
void |
+setController(ClassPropertiesController classPropertiesController)
+Lie la vue à un contrôleur
+ |
+
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ClassPropertiesWindow()+
public void initializeGraphics()+
public void setController(ClassPropertiesController classPropertiesController)+
classPropertiesController - La classe contrôleurpublic void selectAttribute(int index)+
index - L'index de la ligne à sélectionnerpublic void selectMethod(int index)+
index - L'index de la ligne à sélectionnerpublic void listAttributes(java.util.List<Attribute> attributes)+
attributes - La liste des attributspublic void listMethods(java.util.List<Method> methods)+
methods - La liste des méthodespublic void saveAttributes()+
public void saveMethods()+
public class CompositionFrame
+extends javax.swing.JPanel
+implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.Serializable
+javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy| Modifier and Type | +Field and Description | +
|---|---|
protected CompositionListener |
+_atCompositionListener |
+
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
CompositionFrame()
+Constructeur - Crée une nouvelle composition.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addCompositionListener(CompositionListener atCompositionListener)
+Ajoute un CompositionListener à la vue
+ |
+
void |
+mouseClicked(java.awt.event.MouseEvent e) |
+
void |
+mouseDragged(java.awt.event.MouseEvent e) |
+
void |
+mouseEntered(java.awt.event.MouseEvent e) |
+
void |
+mouseExited(java.awt.event.MouseEvent e) |
+
void |
+mouseMoved(java.awt.event.MouseEvent e) |
+
void |
+mousePressed(java.awt.event.MouseEvent e) |
+
void |
+mouseReleased(java.awt.event.MouseEvent e) |
+
void |
+needWorkspaceRefresh()
+Le workspace a besoin de se rafraîchir
+ |
+
void |
+removeCompositionListener()
+Retire le CompositionListener
+ |
+
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected CompositionListener _atCompositionListener+
public CompositionFrame()+
public void addCompositionListener(CompositionListener atCompositionListener)+
atCompositionListener - La classe d'écoutepublic void removeCompositionListener()+
public void needWorkspaceRefresh()+
public void mouseClicked(java.awt.event.MouseEvent e)+
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)+
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)+
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)+
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)+
mouseExited in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent e)+
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseMoved(java.awt.event.MouseEvent e)+
mouseMoved in interface java.awt.event.MouseMotionListenerpublic interface CompositionListener
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+refreshWorkspaceNeeded()
+Need composition save
+ |
+
void |
+statusEmitted(java.lang.String status)
+Emission d'un nouveau message de status
+ |
+
public class CompositionWidget +extends javax.swing.JTabbedPane +implements CompositionListener+
javax.swing.JTabbedPane.AccessibleJTabbedPane, javax.swing.JTabbedPane.ModelListenerjavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategychangeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUTlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WESTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
CompositionWidget()
+Constructeur de CompositionWidget
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addCompositionFrame(java.lang.String title,
+ java.lang.String project,
+ CompositionFrame compositionFrame)
+Ajoute un nouvel onglet au composant contenant la composition à ajouter
+ |
+
void |
+addCompositionWidgetListener(CompositionWidgetListener listener)
+Ajoute un écouteur d'évenement
+ |
+
void |
+deleteCompositionFrame(int index)
+Supprime une vue de composition dans les onglets
+ |
+
void |
+deleteCompositionFrame(java.lang.String projectName,
+ java.lang.String composition)
+Supprime la composition du widget
+ |
+
void |
+refreshWorkspaceNeeded()
+Commande le rafraîchissement du Workspace
+ |
+
void |
+statusEmitted(java.lang.String status)
+Affiche un message dans la barre de statut
+ |
+
void |
+updateCompositionTitle(java.lang.String projectName,
+ java.lang.String oldName,
+ java.lang.String newName)
+Met à jour le titre de la composition modifiée
+ |
+
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabComponentAt, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, getUI, getUIClassID, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, indexOfTabComponent, insertTab, isEnabledAt, paramString, remove, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setSelectedIndex, setTabComponentAt, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAt, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateaddContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic CompositionWidget()+
public void addCompositionWidgetListener(CompositionWidgetListener listener)+
listener - La classe d'écoutepublic void addCompositionFrame(java.lang.String title, + java.lang.String project, + CompositionFrame compositionFrame)+
title - Le nom de la compositionproject - Le projet incluant la compositioncompositionFrame - La vue de la compositionpublic void updateCompositionTitle(java.lang.String projectName, + java.lang.String oldName, + java.lang.String newName)+
projectName - Le nom du projetoldName - L'ancien nomnewName - Le nouveau nompublic void deleteCompositionFrame(java.lang.String projectName, + java.lang.String composition)+
projectName - Le nom du projetcomposition - Le nom de la compositionpublic void deleteCompositionFrame(int index)+
index - L'index de la vue de composition à supprimerpublic void statusEmitted(java.lang.String status)+
statusEmitted in interface CompositionListenerstatus - Le message à afficherpublic void refreshWorkspaceNeeded()+
refreshWorkspaceNeeded in interface CompositionListenerpublic interface CompositionWidgetListener
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+refreshWorkspaceNeeded()
+Demande le rafraîchissement du Workspace
+ |
+
void |
+statusEmitted(java.lang.String message)
+Affiche un message dans la barre de statut
+ |
+
void refreshWorkspaceNeeded()+
void statusEmitted(java.lang.String message)+
message - Le message à afficherpublic class HomeFrame +extends CompositionFrame+
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy_atCompositionListenerlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
HomeFrame()
+Constructeur de HomeFrameController
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+mouseClicked(java.awt.event.MouseEvent e)
+Gestion des clics sur les boutons
+ |
+
void |
+mouseEntered(java.awt.event.MouseEvent e)
+Grise les boutons lors du survol de la souris
+ |
+
void |
+mouseExited(java.awt.event.MouseEvent e)
+Dégrise les boutons lors du survol de la souris
+ |
+
void |
+setController(HomeFrameController homeFrameController)
+Lie la vue au contrôleur
+ |
+
addCompositionListener, mouseDragged, mouseMoved, mousePressed, mouseReleased, needWorkspaceRefresh, removeCompositionListenergetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic HomeFrame()+
public void setController(HomeFrameController homeFrameController)+
homeFrameController - La classe contrôleurpublic void mouseClicked(java.awt.event.MouseEvent e)+
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class CompositionFramee - L'Evenement sourispublic void mouseEntered(java.awt.event.MouseEvent e)+
mouseEntered in interface java.awt.event.MouseListenermouseEntered in class CompositionFramee - L'evenement sourispublic void mouseExited(java.awt.event.MouseEvent e)+
mouseExited in interface java.awt.event.MouseListenermouseExited in class CompositionFramee - L'événement sourispublic class LinkPropertiesWindow
+extends javax.swing.JDialog
+javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
LinkPropertiesWindow()
+Constructeur - Crée une instance de la fenêtre de propriétés de lin à partir d'un diagramme et du lien à modifier.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+fillWindow()
+Charge le contenu de la fenêtre en fonction du type de la relation.
+ |
+
void |
+initializeGraphics()
+Charge les informations dans la fenêtre
+ |
+
void |
+save()
+Sauvegarde l'ensemble des propriétés du lien.
+ |
+
void |
+setController(LinkPropertiesController linkPropertiesController)
+Lie la vue à un contrôleur
+ |
+
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic LinkPropertiesWindow()+
public void initializeGraphics()+
public void setController(LinkPropertiesController linkPropertiesController)+
linkPropertiesController - La classe contrôleurpublic void fillWindow()+
public void save()+
public class MenuBar
+extends javax.swing.JMenuBar
+javax.swing.JMenuBar.AccessibleJMenuBarjavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
MenuBar()
+Constructeur de la classe MenuBar
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addMenuBarListener(MenuBarListener listener)
+Ajoute un écouteur d'événement
+ |
+
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUIaddAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic MenuBar()+
public void addMenuBarListener(MenuBarListener listener)+
listener - La classe écouteurpublic interface MenuBarListener
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+aboutAppThinkerClicked()
+Evenement appelé lors d'un clic sur le bouton A propos d'AppThinker
+ |
+
void |
+checkUpdatesClicked()
+Evenement appelé lors d'un clic sur le bouton A propos d'AppThinker
+ |
+
void |
+newBlankProjectClicked()
+Evenement appelé lors d'un clic sur le bouton Nouveau Projet Vide
+ |
+
void |
+newUmlProjectClicked()
+Evenement appelé lors d'un clic sur le bouton Nouveau Projet UML
+ |
+
void |
+openProjectClicked()
+Evenement appelé lors d'un clic sur le bouton Ouvrir un projet
+ |
+
void |
+quitClicked()
+Evenement appelé lors d'un clic sur le bouton Quitter
+ |
+
void newBlankProjectClicked()+
void newUmlProjectClicked()+
void openProjectClicked()+
void quitClicked()+
void aboutAppThinkerClicked()+
void checkUpdatesClicked()+
public class Splashscreen
+extends javax.swing.JFrame
+javax.swing.JFrame.AccessibleJFramejava.awt.Frame.AccessibleAWTFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
Splashscreen()
+Constructeur - Crée la fenêtre de démarrage
+ |
+
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFont, postEventpublic class Statusbar
+extends javax.swing.JPanel
+javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
Statusbar()
+Constructeur de la classe AppThinkerStatusbar
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+setStatusMessage(java.lang.String statusMessage)
+Met à jour le texte de statut de la barre de statut.
+ |
+
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static enum UmlDiagramFrame.ClassGrip +extends java.lang.Enum<UmlDiagramFrame.ClassGrip>+
| Enum Constant and Description | +
|---|
GRIP_E |
+
GRIP_N |
+
GRIP_NE |
+
GRIP_NW |
+
GRIP_S |
+
GRIP_SE |
+
GRIP_SW |
+
GRIP_W |
+
| Modifier and Type | +Method and Description | +
|---|---|
static UmlDiagramFrame.ClassGrip |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static UmlDiagramFrame.ClassGrip[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final UmlDiagramFrame.ClassGrip GRIP_N+
public static final UmlDiagramFrame.ClassGrip GRIP_NE+
public static final UmlDiagramFrame.ClassGrip GRIP_E+
public static final UmlDiagramFrame.ClassGrip GRIP_SE+
public static final UmlDiagramFrame.ClassGrip GRIP_S+
public static final UmlDiagramFrame.ClassGrip GRIP_SW+
public static final UmlDiagramFrame.ClassGrip GRIP_W+
public static final UmlDiagramFrame.ClassGrip GRIP_NW+
public static UmlDiagramFrame.ClassGrip[] values()+
+for (UmlDiagramFrame.ClassGrip c : UmlDiagramFrame.ClassGrip.values()) + System.out.println(c); +
public static UmlDiagramFrame.ClassGrip valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic class UmlDiagramFrame +extends CompositionFrame +implements UmlToolbarListener, java.io.Serializable+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+UmlDiagramFrame.ClassGrip |
+
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy_atCompositionListenerlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
UmlDiagramFrame()
+Constructeur - Crée un nouveau diagramme UML à partir d'un projet.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+checkHoveredGrip(Class a,
+ int x,
+ int y)
+Vérifie si le curseur est à proximité d'un point d'accroche.
+ |
+
void |
+editClass(Class a)
+Modifie les propriétés de la classe.
+ |
+
void |
+editLink(Link l)
+Modifie les propriétés du lien.
+ |
+
float[][] |
+getPolygonPoints(int[][] position,
+ double angle,
+ Link.LinkType type)
+Calcule les points du polygone à tracer.
+ |
+
java.lang.Object |
+getSelected()
+Récupère l'élément sélectionné dans la grille.
+ |
+
void |
+initGraphics()
+Initialise la fonction pour redessiner le panel
+ |
+
void |
+mouseClicked(java.awt.event.MouseEvent e)
+Gestion du double clic sur le diagramme uml (pour l'édition).
+ |
+
void |
+mouseDragged(java.awt.event.MouseEvent e)
+Déplacer un élément en cliquant et déplaçant la souris.
+ |
+
void |
+mouseEntered(java.awt.event.MouseEvent e) |
+
void |
+mouseExited(java.awt.event.MouseEvent e) |
+
void |
+mouseMoved(java.awt.event.MouseEvent e)
+Déclenchée par le mouvement de la souris, cette fonction permet de récupérer la classe actuellement survolée.
+ |
+
void |
+mousePressed(java.awt.event.MouseEvent e)
+Gestion du clic simple sur le diagramme uml en fonction de l'outil choisi.
+ |
+
void |
+mouseReleased(java.awt.event.MouseEvent e)
+La souris est relâchée.
+ |
+
void |
+redraw()
+Redessine les classes et les liens UML.
+ |
+
void |
+removeClass(Class c)
+Retire une classe de la composition UML.
+ |
+
float[][] |
+rotateMatrice(int[][] matrice,
+ double angle)
+Rotate le polygone sous forme de matrice.
+ |
+
void |
+select(int getX,
+ int getY)
+Récupération de l'objet cliqué
+ |
+
void |
+setController(UmlDiagramController umlDiagramController) |
+
void |
+setViewGripsEnabled(boolean enabled)
+Active/Désactive la vue des points d'accroches pour les classes.
+ |
+
void |
+showToolDescription(java.lang.String description)
+Affiche la description de l'outil UML
+ |
+
void |
+toolChanged(UmlToolbar.UmlTool newTool)
+L'outil UML sélectionné a été modifié
+ |
+
boolean |
+viewGripsEnabled()
+Retourne si la vue des points d'accroches est activée pour le diagramme
+ |
+
addCompositionListener, needWorkspaceRefresh, removeCompositionListenergetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic UmlDiagramFrame()+
public void setController(UmlDiagramController umlDiagramController)+
public void initGraphics()+
public void redraw()+
public float[][] getPolygonPoints(int[][] position, + double angle, + Link.LinkType type)+
position - La position du point d'accroche.angle - L'angle donné par la direction du lien.type - Le type de relation.public float[][] rotateMatrice(int[][] matrice, + double angle)+
matrice - Les points du pattern de polygone.angle - L'angle de rotation.public boolean viewGripsEnabled()+
public void setViewGripsEnabled(boolean enabled)+
enabled - La vue des points d'accroches pour les classes.public void removeClass(Class c)+
c - La classe à retirer.public java.lang.Object getSelected()+
public void select(int getX, + int getY)+
getX - Les coordonnées de la souris sur l'axe X.getY - Les coordonnées de la souris sur l'axe Y.public void editClass(Class a)+
a - La classe à modifier.public void editLink(Link l)+
l - Le lien à modifier.public void checkHoveredGrip(Class a, + int x, + int y)+
a - La classe à vérifier.x - L'abscisse du curseur.y - L'ordonnée du curseur.public void mouseClicked(java.awt.event.MouseEvent e)+
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class CompositionFramee - L'événement souris.public void mousePressed(java.awt.event.MouseEvent e)+
mousePressed in interface java.awt.event.MouseListenermousePressed in class CompositionFramee - L'événement souris.public void mouseReleased(java.awt.event.MouseEvent e)+
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class CompositionFramee - L'événement souris.public void mouseEntered(java.awt.event.MouseEvent e)+
mouseEntered in interface java.awt.event.MouseListenermouseEntered in class CompositionFramepublic void mouseExited(java.awt.event.MouseEvent e)+
mouseExited in interface java.awt.event.MouseListenermouseExited in class CompositionFramepublic void mouseDragged(java.awt.event.MouseEvent e)+
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class CompositionFramee - Evénement sourispublic void mouseMoved(java.awt.event.MouseEvent e)+
mouseMoved in interface java.awt.event.MouseMotionListenermouseMoved in class CompositionFramee - L'événement souris.public void toolChanged(UmlToolbar.UmlTool newTool)+
toolChanged in interface UmlToolbarListenernewTool - Le nouvel outil sélectionné.public void showToolDescription(java.lang.String description)+
showToolDescription in interface UmlToolbarListenerdescription - La description de l'outil sélectionnépublic static enum UmlToolbar.UmlTool +extends java.lang.Enum<UmlToolbar.UmlTool>+
| Enum Constant and Description | +
|---|
AGGREGATION_TOOL |
+
CLASS_TOOL |
+
COMPOSITION_TOOL |
+
COPY_TOOL |
+
DELETE_TOOL |
+
EDIT_TOOL |
+
INHERITANCE_TOOL |
+
PASTE_TOOL |
+
REDO_TOOL |
+
SELECT_TOOL |
+
STRONG_TOOL |
+
UNDO_TOOL |
+
WEAK_TOOL |
+
| Modifier and Type | +Method and Description | +
|---|---|
static UmlToolbar.UmlTool |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static UmlToolbar.UmlTool[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic static final UmlToolbar.UmlTool SELECT_TOOL+
public static final UmlToolbar.UmlTool EDIT_TOOL+
public static final UmlToolbar.UmlTool DELETE_TOOL+
public static final UmlToolbar.UmlTool COPY_TOOL+
public static final UmlToolbar.UmlTool PASTE_TOOL+
public static final UmlToolbar.UmlTool UNDO_TOOL+
public static final UmlToolbar.UmlTool REDO_TOOL+
public static final UmlToolbar.UmlTool CLASS_TOOL+
public static final UmlToolbar.UmlTool STRONG_TOOL+
public static final UmlToolbar.UmlTool WEAK_TOOL+
public static final UmlToolbar.UmlTool COMPOSITION_TOOL+
public static final UmlToolbar.UmlTool AGGREGATION_TOOL+
public static final UmlToolbar.UmlTool INHERITANCE_TOOL+
public static UmlToolbar.UmlTool[] values()+
+for (UmlToolbar.UmlTool c : UmlToolbar.UmlTool.values()) + System.out.println(c); +
public static UmlToolbar.UmlTool valueOf(java.lang.String name)+
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic class UmlToolbar
+extends javax.swing.JPanel
+| Modifier and Type | +Class and Description | +
|---|---|
static class |
+UmlToolbar.UmlTool |
+
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
UmlToolbar()
+Constructeur de la classe AppThinkerToolbar
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addUmlToolbarListener(UmlToolbarListener atUmlToolbarListener)
+Ajoute un écouteur d'événement
+ |
+
UmlToolbar.UmlTool |
+getCurrentTool()
+Récupère l'outil actuellement en fonction.
+ |
+
void |
+setCurrentTool(UmlToolbar.UmlTool currentTool)
+Change d'outil pour l'édition du diagramme.
+ |
+
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic UmlToolbar()+
public void addUmlToolbarListener(UmlToolbarListener atUmlToolbarListener)+
atUmlToolbarListener - La classe écouteurpublic UmlToolbar.UmlTool getCurrentTool()+
public void setCurrentTool(UmlToolbar.UmlTool currentTool)+
currentTool - L'outil cible.public interface UmlToolbarListener
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+showToolDescription(java.lang.String description)
+Emet une description de l'outil sélectionné pour affichage dans la statusbar
+ |
+
void |
+toolChanged(UmlToolbar.UmlTool newTool)
+Evenement appelé lors du changement d'outil de la UmlToolbar
+ |
+
void toolChanged(UmlToolbar.UmlTool newTool)+
newTool - Le nouvel outil sélectionné.void showToolDescription(java.lang.String description)+
description - La description de l'outil sélectionnépublic class Window +extends javax.swing.JFrame +implements MenuBarListener, WorkspaceListener, CompositionWidgetListener+
javax.swing.JFrame.AccessibleJFramejava.awt.Frame.AccessibleAWTFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Typejava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategyaccessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
Window()
+Constructeur de la classe AppThinkerWindow
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+aboutAppThinkerClicked()
+Clic sur le bouton A Propos
+ |
+
void |
+addCompositionFrame(java.lang.String compositionName,
+ java.lang.String projectName,
+ CompositionFrame composition)
+Ajoute une composition dans le widget central.
+ |
+
void |
+addUmlComposition(int projectListId)
+Ajout d'une composition UML
+ |
+
java.lang.String |
+askForCompositionName(int projectListId,
+ int compositionListId)
+Retourne le nom de la composition
+ |
+
java.lang.String |
+askForProjectName(int projectListId)
+Retourne le nom du projet
+ |
+
boolean |
+askForProjectSaved(Project project)
+Retourne si le projet a besoin d'être sauvegardé au non
+ |
+
void |
+checkUpdatesClicked()
+Clic sur le bouton de mise à jour
+ |
+
void |
+compositionDoubleClick(int projectListId,
+ int compositionListId)
+Double-clic sur une composition
+ |
+
void |
+deleteComposition(int projectListId,
+ int compositionListId)
+Suppression de la composition
+ |
+
void |
+deleteCompositionFrame(java.lang.String project,
+ java.lang.String composition)
+Supprime la composition du CompositionWidget
+ |
+
void |
+deleteProject(int projectListId)
+Suppression du projet
+ |
+
MenuBar |
+getMenubar()
+Récupère la menubar contenue dans la fenêtre.
+ |
+
Statusbar |
+getStatusbar()
+Récupère la statusbar contenue dans la fenêtre.
+ |
+
void |
+homePageClicked()
+Page d'accueil cliquée
+ |
+
void |
+newBlankProjectClicked()
+Bouton Nouveau projet cliqué
+ |
+
void |
+newUmlProjectClicked()
+Bouton nouveau projet cliqué
+ |
+
void |
+openProject()
+Ouvre un projet existant dans la fenêtre.
+ |
+
void |
+openProjectClicked()
+Bouton Ouvrir projet cliqué
+ |
+
void |
+quitClicked()
+Demande de la fermeture de la fenêtre
+ |
+
void |
+refreshWorkspace(java.util.List<Project> projects)
+Remet à jour le Workspace à l'aide des projets de la fenêtre
+ |
+
void |
+refreshWorkspaceNeeded()
+Demande la mise à jour du Workspace
+ |
+
void |
+renameComposition(int projectListId,
+ int compositionListId,
+ java.lang.String newName)
+Renomme la composition
+ |
+
void |
+renameProject(int projectListId,
+ java.lang.String newName)
+Renomme le projet
+ |
+
void |
+saveAsProjectClicked(int projectListId)
+Sauvegarde du projet sous...
+ |
+
void |
+saveProjectClicked(int projectListId)
+Sauvegarde du projet
+ |
+
void |
+setController(WindowController mainWindowController)
+Lie un contrôleur de fenêtre principale à la vue
+ |
+
void |
+setStatusMessage(java.lang.String message)
+Affiche un message d'erreur dans la barre de statut
+ |
+
void |
+showMessage(java.lang.String message)
+Affiche un message d'alerte
+ |
+
int |
+showMessage(java.lang.String message,
+ java.lang.String title,
+ int option,
+ int type)
+Affiche une boîte de dialogue
+ |
+
void |
+statusEmitted(java.lang.String message)
+Demande l'affichage d'un message dans la barre de statut
+ |
+
void |
+updateCompositionTitle(java.lang.String project,
+ java.lang.String oldName,
+ java.lang.String newName)
+Remet à jour le titre de la composition ouverte dans le CompositionWidget
+ |
+
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFont, postEventpublic Window()+
public void setController(WindowController mainWindowController)+
mainWindowController - Un contrôleur de la fenêtre principalepublic void openProject()+
public MenuBar getMenubar()+
public Statusbar getStatusbar()+
public void addCompositionFrame(java.lang.String compositionName, + java.lang.String projectName, + CompositionFrame composition)+
composition - La composition à afficher.projectName - Le nom du projetcompositionName - La vue de la compositionpublic void showMessage(java.lang.String message)+
message - Le message à afficher.public int showMessage(java.lang.String message, + java.lang.String title, + int option, + int type)+
message - Le message à affichertitle - Le titre de la boite de dialogueoption - Les choix disponiblestype - Le type d'alertepublic void setStatusMessage(java.lang.String message)+
message - Le message à afficherpublic void refreshWorkspace(java.util.List<Project> projects)+
projects - La liste de projetspublic void updateCompositionTitle(java.lang.String project, + java.lang.String oldName, + java.lang.String newName)+
project - Le projet contenant la compositionoldName - L'ancien nom de la compositionnewName - Le nouveau nom de la compositionpublic void deleteCompositionFrame(java.lang.String project, + java.lang.String composition)+
project - Le projet contenant la composition à supprimercomposition - La composition à supprimerpublic void homePageClicked()+
homePageClicked in interface WorkspaceListenerpublic void addUmlComposition(int projectListId)+
addUmlComposition in interface WorkspaceListenerprojectListId - Le numéro de projetpublic java.lang.String askForProjectName(int projectListId)+
askForProjectName in interface WorkspaceListenerprojectListId - Le numéro du projetpublic boolean askForProjectSaved(Project project)+
askForProjectSaved in interface WorkspaceListenerproject - Le projet concernépublic void renameProject(int projectListId, + java.lang.String newName)+
renameProject in interface WorkspaceListenerprojectListId - Le numéro de projet concernénewName - Le nouveau nompublic void saveProjectClicked(int projectListId)+
saveProjectClicked in interface WorkspaceListenerprojectListId - Le numéro du projet concernépublic void saveAsProjectClicked(int projectListId)+
saveAsProjectClicked in interface WorkspaceListenerprojectListId - Le numéro du projet concernépublic void deleteProject(int projectListId)+
deleteProject in interface WorkspaceListenerprojectListId - Le numéro du projet concernépublic java.lang.String askForCompositionName(int projectListId, + int compositionListId)+
askForCompositionName in interface WorkspaceListenerprojectListId - Le numéro de projetcompositionListId - Le numéro de la compositionpublic void renameComposition(int projectListId, + int compositionListId, + java.lang.String newName)+
renameComposition in interface WorkspaceListenerprojectListId - Le numéro de projetcompositionListId - Le numéro de la compositionnewName - Le nouveau nompublic void deleteComposition(int projectListId, + int compositionListId)+
deleteComposition in interface WorkspaceListenerprojectListId - Le numéro du projetcompositionListId - Le numéro de la compositionpublic void newBlankProjectClicked()+
newBlankProjectClicked in interface MenuBarListenernewBlankProjectClicked in interface WorkspaceListenerpublic void compositionDoubleClick(int projectListId, + int compositionListId)+
compositionDoubleClick in interface WorkspaceListenerprojectListId - Le numéro de projetcompositionListId - Le numéro de compositionpublic void newUmlProjectClicked()+
newUmlProjectClicked in interface MenuBarListenerpublic void openProjectClicked()+
openProjectClicked in interface MenuBarListenerpublic void quitClicked()+
quitClicked in interface MenuBarListenerpublic void aboutAppThinkerClicked()+
aboutAppThinkerClicked in interface MenuBarListenerpublic void checkUpdatesClicked()+
checkUpdatesClicked in interface MenuBarListenerpublic void refreshWorkspaceNeeded()+
refreshWorkspaceNeeded in interface CompositionWidgetListenerpublic void statusEmitted(java.lang.String message)+
statusEmitted in interface CompositionWidgetListenermessage - Le message à afficherpublic class Workspace
+extends javax.swing.JPanel
+implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
+javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponentjava.awt.Container.AccessibleAWTContainerjava.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategylistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | +
|---|
Workspace()
+Constructeur de Workspace
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+actionPerformed(java.awt.event.ActionEvent e)
+Gestion des clics sur le menu contextuel
+ |
+
void |
+addWorkspaceListener(WorkspaceListener listener)
+Ajoute un écouteur d'événement
+ |
+
void |
+mouseClicked(java.awt.event.MouseEvent e)
+Gestion des clics sur les boutons
+ |
+
void |
+mouseDragged(java.awt.event.MouseEvent e) |
+
void |
+mouseEntered(java.awt.event.MouseEvent e)
+Grise le bouton lors du survol de la souris
+ |
+
void |
+mouseExited(java.awt.event.MouseEvent e)
+Dégrise le bouton lors du survol de la souris
+ |
+
void |
+mouseMoved(java.awt.event.MouseEvent e) |
+
void |
+mousePressed(java.awt.event.MouseEvent e) |
+
void |
+mouseReleased(java.awt.event.MouseEvent e) |
+
void |
+refreshTree(java.util.List<Project> projects)
+Crée l'arborescence des projets dans le Workspace
+ |
+
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic Workspace()+
public void refreshTree(java.util.List<Project> projects)+
projects - La liste de projetspublic void addWorkspaceListener(WorkspaceListener listener)+
listener - La classe écouteurpublic void mouseClicked(java.awt.event.MouseEvent e)+
mouseClicked in interface java.awt.event.MouseListenere - L'événement sourispublic void mousePressed(java.awt.event.MouseEvent e)+
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)+
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)+
mouseEntered in interface java.awt.event.MouseListenere - L'événement sourispublic void mouseExited(java.awt.event.MouseEvent e)+
mouseExited in interface java.awt.event.MouseListenere - L'événement sourispublic void mouseDragged(java.awt.event.MouseEvent e)+
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseMoved(java.awt.event.MouseEvent e)+
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void actionPerformed(java.awt.event.ActionEvent e)+
actionPerformed in interface java.awt.event.ActionListenere - L'événement sourispublic interface WorkspaceListener
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+addUmlComposition(int projectListId)
+Ajoute une composition UML à un projet
+ |
+
java.lang.String |
+askForCompositionName(int projectListId,
+ int compositionListId)
+Demande le nom d'une composition sélectionnée dans le Workspace
+ |
+
java.lang.String |
+askForProjectName(int projectListId)
+Demande le nom du projet sélectionné dans le Workspace
+ |
+
boolean |
+askForProjectSaved(Project project)
+Demande si le projet doit être sauvegardé ou non
+ |
+
void |
+compositionDoubleClick(int projectListId,
+ int compositionListId)
+Ouverture d'une composition
+ |
+
void |
+deleteComposition(int projectListId,
+ int compositionListId)
+Supprime une composition d'un projet via le menu contextuel Composition
+ |
+
void |
+deleteProject(int projectListId)
+Supprime un projet via le menu contextuel Projet
+ |
+
void |
+homePageClicked()
+Clic sur le bouton de la page d'accueil
+ |
+
void |
+newBlankProjectClicked()
+Clic sur le bouton d'ajout d'un nouveau projet vide
+ |
+
void |
+renameComposition(int projectListId,
+ int compositionListId,
+ java.lang.String newName)
+Renomme la composition d'un projet
+ |
+
void |
+renameProject(int projectListId,
+ java.lang.String newName)
+Renomme le projet sélectionné
+ |
+
void |
+saveAsProjectClicked(int projectListId)
+Sauvegarde le projet sous
+ |
+
void |
+saveProjectClicked(int projectListId)
+Sauvegarde le projet
+ |
+
void homePageClicked()+
void newBlankProjectClicked()+
void compositionDoubleClick(int projectListId, + int compositionListId)+
projectListId - Le numéro de projetcompositionListId - Le numéro de compositionvoid addUmlComposition(int projectListId)+
projectListId - Le numéro de projetjava.lang.String askForProjectName(int projectListId)+
projectListId - Le numéro de projetboolean askForProjectSaved(Project project)+
project - Le projet concernévoid renameProject(int projectListId, + java.lang.String newName)+
projectListId - Le numéro de projetnewName - Le nouveau nomvoid saveProjectClicked(int projectListId)+
projectListId - Le numéro de projetvoid saveAsProjectClicked(int projectListId)+
projectListId - Le numéro de projetvoid deleteProject(int projectListId)+
projectListId - Le numéro de projetjava.lang.String askForCompositionName(int projectListId, + int compositionListId)+
projectListId - Le numéro de projetcompositionListId - Le numéro de compositionvoid renameComposition(int projectListId, + int compositionListId, + java.lang.String newName)+
projectListId - Le numéro de projetcompositionListId - Le numéro de compositionnewName - Le nouveau nomvoid deleteComposition(int projectListId, + int compositionListId)+
projectListId - Le numéro de projetcompositionListId - Le numéro de composition| Interface | +Description | +
|---|---|
| CompositionListener | ++ |
| CompositionWidgetListener | ++ |
| MenuBarListener | ++ |
| UmlToolbarListener | ++ |
| WorkspaceListener | ++ |
| Class | +Description | +
|---|---|
| AboutWindow | +
+ Fenêtre contenant les informations du logiciel
+ |
+
| ArgumentsPropertiesWindow | +
+ Classe permettant la création de fenêtres pour la modification des arguments d'une méthode d'une classe.
+ |
+
| ChangelogWindow | +
+ Fenêtre d'affichage de la version actuelle et des modifications apportées.
+ |
+
| ClassPropertiesWindow | +
+ Classe permettant la création de fenêtres pour la modification des propriétés des classes.
+ |
+
| CompositionFrame | +
+ Gère une création qui est ajoutée à un projet
+ |
+
| CompositionWidget | ++ |
| HomeFrame | ++ |
| LinkPropertiesWindow | +
+ Classe permettant la création de fenêtres pour la modification des propriétés des classes.
+ |
+
| MenuBar | +
+ Affiche une barre de menu en haut de la fenêtre.
+ |
+
| Splashscreen | +
+ Ecran de démarrage du logiciel
+ |
+
| Statusbar | +
+ Affiche une barre de statut au pied de la fenêtre
+ |
+
| UmlDiagramFrame | +
+ Cette classe permet d'afficher les éléments UML de la composition.
+ |
+
| UmlToolbar | +
+ Affiche une barre d'actions en haut de la fenêtre.
+ |
+
| Window | +
+ Affiche une fenêtre du logiciel.
+ |
+
| Workspace | ++ |
| Enum | +Description | +
|---|---|
| UmlDiagramFrame.ClassGrip | ++ |
| UmlToolbar.UmlTool | ++ |