Changes between Version 4 and Version 5 of JComponentEnvironment


Ignore:
Timestamp:
05/17/13 16:32:56 (6 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JComponentEnvironment

    v4 v5  
    3535ee.loadVirtualHuman("humanoid", "", "humanoid.xml", "AsapRealizer demo"); 
    3636}}} 
     37 
     38The registered component can then be hooked up to a JComponentEmbodimentLoader in the VirtualHumanSpec: 
     39{{{ 
     40<Loader id="panelembodiment" loader="hmi.jcomponentenvironment.JComponentEmbodimentLoader"> 
     41  <JComponent id="panel1"/>              
     42</Loader> 
     43}}} 
     44 
     45Which can be used in any other loader,  for example in a JLabelTextEmbodiment: 
     46{{{ 
     47<Loader id="textembodiment" loader="asap.textengine.JLabelTextEmbodiment" requiredloaders="panelembodiment"/> 
     48<Loader id="textengine" loader="asap.textengine.loader.TextEngineLoader" requiredloaders="textembodiment"/> 
     49}}}