gesture_editor_GUI
Class VAE_Gesture_ObjectInterfaceGenerator

java.lang.Object
  extended by gesture_editor_GUI.VAE_Gesture_ObjectInterfaceGenerator
Direct Known Subclasses:
AnimationWindow

public class VAE_Gesture_ObjectInterfaceGenerator
extends java.lang.Object

Fenetre de g�n�ration d'interface générique.

Author:
Matthieu Courgeon

Field Summary
protected static TButton add
           
protected static java.util.Vector<AttributePanelAnimation> attrDispAnim
           
protected static TButton cancel
           
protected static double decalage
           
static int etat
           
protected static java.awt.image.BufferedImage implied
           
protected static javax.swing.JPanel itemsPanel
           
protected static int nbPages
           
protected static TButton next
           
protected static java.lang.String position
           
protected static TButton prev
           
protected static java.awt.image.BufferedImage required
           
protected static VAE_Control_Panel target
           
protected static java.lang.String typeName
           
protected static TButton valide
           
protected static javax.swing.JFrame window
           
 java.lang.String windowName
           
 
Constructor Summary
VAE_Gesture_ObjectInterfaceGenerator()
           
 
Method Summary
static void addAttributePanelAnimation()
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_attAssis(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_attDebout(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_droite(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_gauche(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_marcher(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_sAsseoir(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_seLever(java.util.Vector<AttributePanelAnimation> result)
           
static java.util.Vector<AttributePanelAnimation> createAttributesDiplays(java.util.Vector<AttributePanelAnimation> result)
          Genere la liste des champs de saisie a partir d'une liste d'attribut.
protected static AttributePanelAnimation createDisplay(Attribute at)
           
 void createObject()
          Creer l'objet et le poser sur le panneau de controle.
protected  void createWindow(Element element, VAE_Control_Panel crtl)
           
 void createWindow(VAE_Control_Panel crtl)
          Methode prevue pour etre surchargée.
 void createWindowFromElement(java.lang.String elementName, VAE_Control_Panel crtl)
          Creation d'une interface a partir d'un nom d'élément de la DTD VirChor.
static void downAttributePanelAnimation(AttributePanelAnimation apa)
           
static VAE_Gesture_ObjectInterfaceGenerator getInstance()
          Retourne l'instance unique du générateur d'interface.
static void loadNeededFiles()
          Charge les images utilisées par la classe.
protected  void lockAttribute(AttributePanelAnimation attr)
           
static void objectPropertiesOverview(VAE_Gesture_Object obj, VAE_Gesture_ObjectBox box)
          Affiche une fenetre d'affichage modofication d'un objet.
static void setEtat(int et)
           
static void suppAttributePanelAnimation(AttributePanelAnimation apa)
           
static void upAttributePanelAnimation(AttributePanelAnimation apa)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

required

protected static java.awt.image.BufferedImage required

implied

protected static java.awt.image.BufferedImage implied

itemsPanel

protected static javax.swing.JPanel itemsPanel

typeName

protected static java.lang.String typeName

attrDispAnim

protected static java.util.Vector<AttributePanelAnimation> attrDispAnim

window

protected static javax.swing.JFrame window

decalage

protected static double decalage

nbPages

protected static int nbPages

prev

protected static TButton prev

next

protected static TButton next

cancel

protected static TButton cancel

valide

protected static TButton valide

add

protected static TButton add

windowName

public java.lang.String windowName

target

protected static VAE_Control_Panel target

position

protected static java.lang.String position

etat

public static int etat
Constructor Detail

VAE_Gesture_ObjectInterfaceGenerator

public VAE_Gesture_ObjectInterfaceGenerator()
Method Detail

objectPropertiesOverview

public static void objectPropertiesOverview(VAE_Gesture_Object obj,
                                            VAE_Gesture_ObjectBox box)
Affiche une fenetre d'affichage modofication d'un objet.

Parameters:
obj - Object a afficher.
box - Boite liée a l'objet.

createWindowFromElement

public void createWindowFromElement(java.lang.String elementName,
                                    VAE_Control_Panel crtl)
Creation d'une interface a partir d'un nom d'élément de la DTD VirChor. Le Controle est celui du patch cible pour la creation de la boite.

Parameters:
elementName - nom de l'element.
crtl - Panneau de controle

createWindow

public void createWindow(VAE_Control_Panel crtl)
Methode prevue pour etre surchargée. Ne fait rien ici.

Parameters:
crtl - Panneau de controle.

createWindow

protected void createWindow(Element element,
                            VAE_Control_Panel crtl)

upAttributePanelAnimation

public static void upAttributePanelAnimation(AttributePanelAnimation apa)

downAttributePanelAnimation

public static void downAttributePanelAnimation(AttributePanelAnimation apa)

suppAttributePanelAnimation

public static void suppAttributePanelAnimation(AttributePanelAnimation apa)

addAttributePanelAnimation

public static void addAttributePanelAnimation()

createDisplay

protected static AttributePanelAnimation createDisplay(Attribute at)

createAttributesDiplays

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays(java.util.Vector<AttributePanelAnimation> result)
Genere la liste des champs de saisie a partir d'une liste d'attribut.

Parameters:
result - Liste d'attributs
Returns:
Liste de champs de saisie correspondante.

createAttributesDiplays_marcher

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_marcher(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_sAsseoir

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_sAsseoir(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_seLever

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_seLever(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_gauche

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_gauche(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_droite

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_droite(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_attDebout

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_attDebout(java.util.Vector<AttributePanelAnimation> result)

createAttributesDiplays_attAssis

public static java.util.Vector<AttributePanelAnimation> createAttributesDiplays_attAssis(java.util.Vector<AttributePanelAnimation> result)

loadNeededFiles

public static void loadNeededFiles()
Charge les images utilisées par la classe.


createObject

public void createObject()
Creer l'objet et le poser sur le panneau de controle.


lockAttribute

protected void lockAttribute(AttributePanelAnimation attr)

getInstance

public static VAE_Gesture_ObjectInterfaceGenerator getInstance()
Retourne l'instance unique du générateur d'interface.

Returns:
Générateur d'interface.

setEtat

public static void setEtat(int et)