|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMenuEcouteur
Écouteur abstrait affichant une boite de dialogue.
Constructor Summary | |
MenuEcouteur(javax.swing.JFrame parent,
java.lang.String title,
int width,
int height)
Construit un écouteur affichant une boite de dialogue |
Method Summary | |
abstract void |
actionPerformed(java.awt.event.ActionEvent e)
Action |
int |
getHeight()
Retourne la hauteur |
javax.swing.JFrame |
getParent()
Retourne la fenêtre principale parente |
java.lang.String |
getTitle()
Retourne le titre |
int |
getWidth()
Retourne la largeur |
void |
showInfo(java.lang.String[] texte)
Affiche la boîte de dialogue avec le texte entré. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MenuEcouteur(javax.swing.JFrame parent, java.lang.String title, int width, int height)
parent
- JFrame principale (parente)title
- Titre de la boite de dialoguewidth
- largeur de la boite de dialogueheight
- hauteur de la boite de dialogueMethod Detail |
public abstract void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- événement action.public void showInfo(java.lang.String[] texte)
texte
- de la boite de dialoguepublic int getWidth()
public int getHeight()
public javax.swing.JFrame getParent()
public java.lang.String getTitle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |