Java Doc for TimeContainerSupport.java in  » 6.0-JDK-Modules » j2me » com » sun » perseus » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.perseus.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.perseus.model.TimedElementSupport
      com.sun.perseus.model.TimeContainerSupport

All known Subclasses:   com.sun.perseus.model.TimeContainerRootSupport,
TimeContainerSupport
public class TimeContainerSupport extends TimedElementSupport (Code)

version:
   $Id: TimeContainerSupport.java,v 1.4 2006/06/29 10:47:35 ln156897 Exp $


Field Summary
protected  TimesimpleTime
    
protected  VectortimedElementChildren
     The set of children TimedElementSupport contained in this container.

Constructor Summary
public  TimeContainerSupport()
    

Method Summary
 voiddispatchEndEvent(Time currentTime)
     Dispatches endEvent.
 voiddispatchOnNewInterval()
     Calls all the registered TimeDependents so that they are notified of a new TimeInterval creation.
 voiddump()
    
static  voiddump(TimedElementSupport t, String prefix, PrintStream out)
    
 voidendChildrenAt(long time)
     Implementation helper.
public  TimegetSimpleTime()
    
protected  voidinitialize()
     Resets this container and all its children.
protected  voidonStartingRepeat(int prevIter, int curIter)
     When a container starts a new iteration, it needs to: - end its children at the end of the previous interval.
 voidremoveSyncBaseTimesUnder(TimeContainerSupport syncTimeContainer)
    
 voidreset()
     When a container resets, it needs to clear all its children which have IntervalTimeInstances on syncBases which are also children (or descendants) of this container.
 voidsampleAt(long simpleTime)
     Samples this time container at the given simple time.
 voidsetSimpleTime(long time)
     Implementation helper to set the simple time object.

Field Detail
simpleTime
protected Time simpleTime(Code)
The container's current simple time



timedElementChildren
protected Vector timedElementChildren(Code)
The set of children TimedElementSupport contained in this container.




Constructor Detail
TimeContainerSupport
public TimeContainerSupport()(Code)
Default constructor




Method Detail
dispatchEndEvent
void dispatchEndEvent(Time currentTime)(Code)
Dispatches endEvent. As per the SMIL 2 specification, this dispatches an endEvent for the resolved end time, not the observed end time.
Parameters:
  currentTime - the current sampling time.
See Also:    * SMIL2's Begin value semantics



dispatchOnNewInterval
void dispatchOnNewInterval()(Code)
Calls all the registered TimeDependents so that they are notified of a new TimeInterval creation. When a time container creates a new interval, its children are re-initialized.



dump
void dump()(Code)
Traces this viewport tree



dump
static void dump(TimedElementSupport t, String prefix, PrintStream out)(Code)
Debug: traces the input ModelNode, using the input prefix
Parameters:
  t - the node to dump
Parameters:
  prefix - the string used to prefix the node information
Parameters:
  out - the stream where the node structure is dumped.



endChildrenAt
void endChildrenAt(long time)(Code)
Implementation helper. Ends all children at the requested input time.
Parameters:
  time - the time, in this container's simple time system, at whichchildren should be stopped.



getSimpleTime
public Time getSimpleTime()(Code)
this container's current simple time



initialize
protected void initialize()(Code)
Resets this container and all its children. This, in effect, moves the container back to the begining of its timeline, i.e., prior to begining the first interval.



onStartingRepeat
protected void onStartingRepeat(int prevIter, int curIter)(Code)
When a container starts a new iteration, it needs to: - end its children at the end of the previous interval. - reset its children.
Parameters:
  prevIter - the last iteration this element was playing.
Parameters:
  curIter - the new iteration this element is playing.



removeSyncBaseTimesUnder
void removeSyncBaseTimesUnder(TimeContainerSupport syncTimeContainer)(Code)
Removes all IntervalTimeInstances in the begin and end instance list if the syncBase is a descendant of syncTimeContainer
Parameters:
  syncTimeContainer - the container under which times should be removed.



reset
void reset()(Code)
When a container resets, it needs to clear all its children which have IntervalTimeInstances on syncBases which are also children (or descendants) of this container.
See Also:    * SMIL 2 Specification, Resetting element state



sampleAt
void sampleAt(long simpleTime)(Code)
Samples this time container at the given simple time.
Parameters:
  simpleTime - this timed element's simple time.



setSimpleTime
void setSimpleTime(long time)(Code)
Implementation helper to set the simple time object.
Parameters:
  time - the new simple time value



Fields inherited from com.sun.perseus.model.TimedElementSupport
final public static String BEGIN_EVENT_TYPE(Code)(Java Doc)
final public static String END_EVENT_TYPE(Code)(Java Doc)
final public static int FILL_BEHAVIOR_FREEZE(Code)(Java Doc)
final public static int FILL_BEHAVIOR_REMOVE(Code)(Java Doc)
final public static String LAST_DUR_END_EVENT_TYPE(Code)(Java Doc)
final public static String REPEAT_EVENT_TYPE(Code)(Java Doc)
final public static int RESTART_ALWAYS(Code)(Java Doc)
final public static int RESTART_NEVER(Code)(Java Doc)
final public static int RESTART_WHEN_NOT_ACTIVE(Code)(Java Doc)
final public static String SEEK_BEGIN_EVENT_TYPE(Code)(Java Doc)
final public static String SEEK_END_EVENT_TYPE(Code)(Java Doc)
final protected static int STATE_FILL(Code)(Java Doc)
final protected static int STATE_NO_INTERVAL(Code)(Java Doc)
final protected static int STATE_PLAYING(Code)(Java Doc)
final protected static int STATE_PRE_INIT(Code)(Java Doc)
final protected static int STATE_WAITING_INTERVAL_0(Code)(Java Doc)
final protected static int STATE_WAITING_INTERVAL_N(Code)(Java Doc)
ModelNode animationElement(Code)(Java Doc)
Vector beginConditions(Code)(Java Doc)
Vector beginDependents(Code)(Java Doc)
Vector beginInstances(Code)(Java Doc)
int curIter(Code)(Java Doc)
TimeInterval currentInterval(Code)(Java Doc)
Time dur(Code)(Java Doc)
Vector endConditions(Code)(Java Doc)
Vector endDependents(Code)(Java Doc)
Vector endInstances(Code)(Java Doc)
final protected Time eventTime(Code)(Java Doc)
int fillBehavior(Code)(Java Doc)
Time implicitDuration(Code)(Java Doc)
long lastSampleTime(Code)(Java Doc)
Time max(Code)(Java Doc)
Time min(Code)(Java Doc)
boolean playFill(Code)(Java Doc)
TimeInterval previousInterval(Code)(Java Doc)
float repeatCount(Code)(Java Doc)
Time repeatDur(Code)(Java Doc)
int restart(Code)(Java Doc)
boolean seeking(Code)(Java Doc)
Time simpleDur(Code)(Java Doc)
int state(Code)(Java Doc)
protected TimeContainerSupport timeContainer(Code)(Java Doc)
boolean timingUpdate(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.TimedElementSupport
public void activate()(Code)(Java Doc)
void addInstance(boolean isBegin, long offset)(Code)(Java Doc)
void addTimeCondition(TimeCondition newCondition)(Code)(Java Doc)
void addTimeInstance(TimeInstance newInstance)(Code)(Java Doc)
public void begin()(Code)(Java Doc)
public void beginAt(long offset)(Code)(Java Doc)
Time calculateActiveEnd(Time begin, Time end)(Code)(Java Doc)
final Time calculateIntermediateActiveDuration(Time p0)(Code)(Java Doc)
boolean checkNewInterval(TimeInterval interval)(Code)(Java Doc)
public void checkPreInit()(Code)(Java Doc)
Time computeEndTime(Time tempBegin)(Code)(Java Doc)
TimeInterval computeFirstInterval()(Code)(Java Doc)
TimeInterval computeLastDur(TimeInterval ti)(Code)(Java Doc)
TimeInterval computeNextInterval()(Code)(Java Doc)
final Time computeSimpleDuration(Time end)(Code)(Java Doc)
void dispatchBeginEvent(Time currentTime)(Code)(Java Doc)
void dispatchEndEvent(Time currentTime)(Code)(Java Doc)
void dispatchLastDurEndEvent()(Code)(Java Doc)
void dispatchOnNewInterval()(Code)(Java Doc)
void dispatchRepeatEvent(Time currentTime)(Code)(Java Doc)
void dispatchSeekEndEvent()(Code)(Java Doc)
public void end()(Code)(Java Doc)
public void endAt(long offset)(Code)(Java Doc)
boolean endHasEventConditions()(Code)(Java Doc)
Time getContainerSimpleDuration()(Code)(Java Doc)
Time getCurrentTime()(Code)(Java Doc)
protected Time getImplicitElementDuration()(Code)(Java Doc)
TimeContainerRootSupport getRootContainer()(Code)(Java Doc)
String getStateString()(Code)(Java Doc)
Time getTimeAfter(Time after, Vector instances)(Code)(Java Doc)
Time getTimeAfterStrict(Time after, Vector instances)(Code)(Java Doc)
protected TimeContainerSupport getTimeContainer()(Code)(Java Doc)
boolean hasBeginCondition(EventBaseCondition eventCondition)(Code)(Java Doc)
protected void initialize()(Code)(Java Doc)
boolean isDescendant(TimeContainerSupport parent)(Code)(Java Doc)
boolean isSeekingBack()(Code)(Java Doc)
protected void onStartingRepeat(int prevIter, int curIter)(Code)(Java Doc)
void onTimeInstanceUpdate(TimeInstance timeInstance)(Code)(Java Doc)
void reEvaluateEndTime()(Code)(Java Doc)
void removeSyncBaseTimesUnder(TimeContainerSupport syncTimeContainer)(Code)(Java Doc)
void removeTimeInstance(TimeInstance timeInstance)(Code)(Java Doc)
void reset()(Code)(Java Doc)
void sample(Time currentTime)(Code)(Java Doc)
void sampleAt(long simpleTime)(Code)(Java Doc)
void seekTo(Time seekToTime)(Code)(Java Doc)
TimeInterval seekToInterval(Time seekToTime)(Code)(Java Doc)
public void setDur(Time dur)(Code)(Java Doc)
public void setFillBehavior(int fillBehavior)(Code)(Java Doc)
public void setMax(Time max)(Code)(Java Doc)
public void setMin(Time min)(Code)(Java Doc)
public void setRepeatCount(float repeatCount)(Code)(Java Doc)
public void setRepeatDur(Time repeatDur)(Code)(Java Doc)
public void setRestart(int restart)(Code)(Java Doc)
protected void setTimeContainer(TimeContainerSupport timeContainer)(Code)(Java Doc)
Time toContainerSimpleTime(Time simpleTime)(Code)(Java Doc)
Time toRootContainerSimpleTime(Time simpleTime)(Code)(Java Doc)
Time toRootContainerSimpleTimeClamp(Time simpleTime)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
long toWallClockTime(long localTime)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.