|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame fr.lip6.sma.simulacion.avatar.Test
public class Test
Classe pour la fenêtre principale du test des avatars.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private JLabel |
mAttitudeLabel
Label with the name of the attitude. |
private JList |
mAttitudeList
Vue sur la liste des attitudes pour une vue donnée. |
private JScrollPane |
mAttitudeScrollPane
Scroll pane with all the attitudes. |
private JLabel |
mAvatarLabel
Label with the name of the avatar. |
private JList |
mAvatarList
Vue sur la liste des avatars. |
private Map |
mAvatars
Tableau des avatars. |
private JScrollPane |
mAvatarScrollPane
Scroll pane with all the avatars. |
private AvatarDialog2D |
mAvatarView
Vue sur l'avatar ou null si l'avatar n'est pas visible. |
private JFrame |
mAvatarWindow
Fenêtre avec l'avatar animé. |
private JLabel |
mCopyrightLabel
Label with the copyright notice. |
private Avatar |
mCurrentAvatar
Avatar courant ou null si aucun avatar n'est
choisi. |
private AvatarImageCollection |
mCurrentView
Vue courante ou null si aucune vue n'est choisie. |
private String |
mCurrentViewID
Identifiant de la vue courante ou null si aucune vue n'est
choisie. |
private SimulacionMediaTracker |
mTracker
Traqueur pour les images. |
private JLabel |
mViewLabel
Label with the name of the view. |
private JList |
mViewList
Vue sur la liste des vues pour un avatar donné. |
private JScrollPane |
mViewScrollPane
Scroll pane with all the views. |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_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_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Test(String inConfigPath)
Constructeur à partir du chemin vers le fichier de configuration. |
Method Summary | |
---|---|
private void |
attitudeListSelectionChanged()
Méthode invoquée lorsque la sélection dans la liste des attitudes est changée. |
private void |
avatarListSelectionChanged()
Méthode invoquée lorsque la sélection dans la liste des avatars est changée. |
private void |
closeAvatarWindow()
Ferme la fenêtre de l'avatar. |
private void |
initComponents()
Méthode pour initialiser les composants au démarrage de l'application. |
static void |
main(String[] inArgs)
Entry point for this test method. |
private void |
thisWindowClosing(WindowEvent inEvent)
Méthode invoquée lorsque la case de fermeture est cliquée. |
private void |
viewListSelectionChanged()
Méthode invoquée lorsque la sélection dans la liste des vues est changée. |
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private final JScrollPane mAvatarScrollPane
private final JScrollPane mAttitudeScrollPane
private final JScrollPane mViewScrollPane
private final JLabel mAvatarLabel
private final JLabel mViewLabel
private final JLabel mAttitudeLabel
private final JLabel mCopyrightLabel
private final Map mAvatars
private Avatar mCurrentAvatar
null
si aucun avatar n'est
choisi.
private AvatarImageCollection mCurrentView
null
si aucune vue n'est choisie.
private String mCurrentViewID
null
si aucune vue n'est
choisie.
private final SimulacionMediaTracker mTracker
private JList mAvatarList
private JList mViewList
private JList mAttitudeList
private JFrame mAvatarWindow
private AvatarDialog2D mAvatarView
null
si l'avatar n'est pas visible.
Constructor Detail |
---|
public Test(String inConfigPath)
inConfigPath
- chemin du fichier de configuration.Method Detail |
---|
private void initComponents()
private void thisWindowClosing(WindowEvent inEvent)
inEvent
- l'événement de fermeture de la fenêtre (ignoré).private void avatarListSelectionChanged()
private void viewListSelectionChanged()
private void attitudeListSelectionChanged()
private void closeAvatarWindow()
public static void main(String[] inArgs)
inArgs
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |