资源描述:
《SYNCHRONIZING INTERACTIVE WEB DOCUMENTS WITH FD-JAVA CONSTRAINTS》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、SYNCHRONIZINGINTERACTIVEWEBDOCUMENTSWITHFD-JAVACONSTRAINTSAntoninaDattolo11DipartimentodiMatematicaedApplicazioni,UniversitàdiNapoliFedericoII,viaCinthia,80126Napoli,Italyantos@unisa.itVincenzoLoia22DipartimentodiMatematicaedInformatica,UniversitàdiSalerno,viaS.Allende,84081Baronissi,Salerno,Italyl
2、oia@unisa.itMichelQuaggetto33LPTL-CNRSUniversitèPierre&MarieCurie4PlaceJussieu75252ParisCedex05,Francequaggetto@lptl.jussieu.frInteractiveElectronicTechnicalManuals(IETMs)aredeliverableproductsforwhichthenewtechnologiesofinteractiveelectronicdatapresentationsareusedtoaccessanypartofthetechnicalmanu
3、al-descriptivetext,toprovidemultimediadescriptionofmaintenanceandtroubleshootingprocedures,orillustrations.ThedesignofIETMsontheWebmustfacenon-trivialproblems,inparticulartheflexibilityandthereactivityofthedigitalmanualboundedtothebehaviorofthemedia.Thispaperpresentsanextensionofobject-orientedprog
4、rammingtowardstheconstraint-basedapproach,showinghowithasbeenusedtohandlespatialaswellastemporallayoutinordertoassurecontinuousandsynchronizedvisualization.ThecomputationaltargetisJavaextendedtowardsfinitedomain(FD)constraintprogramming.EmbeddingFDconstraintswithinanobject-orientedlanguagesuchasJav
5、amakesitpossibletouseadvancedsoftwaresolutionsforWeb-basedcomplexmediamanipulations.Keywords:ConstraintprogramminginSoftwareEngineering,Object-orientedinSoftwareEngineering,InteractiveapplicationsontheWeb,Javaimplementation,IETM.1SynchronizinginteractivewebdocumentswithFD-Javaconstraints21.Introduc
6、tionInmanyinteractivecomputerapplications,itisoftendesirabletosupportthespecificationandmanipulationofrelationshipsbetweenobjects.Imaginethatwehavedrawntworectanglesandastraightline,asshowninFigure1(a).Therectangleshavethesamedimensions.Then,wewantthelinetobeconnectedtothemiddlepointsoftherightedge
7、ofthefirstrectangleandtheleftedgeofthesecondrectangle.Numerousprogramscanperformthissimpleoperation,generatingtheresultshowninFigure1(b).However,wheneitherthelineoroneoftherectanglesischanged,therelationshi