Java Doc for TimeContainerRootSupport.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
         com.sun.perseus.model.TimeContainerRootSupport

TimeContainerRootSupport
public class TimeContainerRootSupport extends TimeContainerSupport (Code)

version:
   $Id: TimeContainerRootSupport.java,v 1.2 2006/04/21 06:37:20 st125089 Exp $


Field Summary
protected  longbeginWallClockTime
     The time at which the document started.
protected  TimelastSampleTime
     The last sample time.
protected  booleanseekingBack
    

Constructor Summary
 TimeContainerRootSupport()
     There is no parent container for this root.

Method Summary
 voiddispatchBeginEvent(Time beginTime)
     Dispatches beginEvent.
 TimegetContainerSimpleDuration()
     For the root container, there is no container simple duration, so we retun INDEFINITE, no matter what the state is.
 TimeContainerRootSupportgetRootContainer()
     Helper method.
 voidsample(Time currentTime)
     Overrides the default sample time to capture the last sample time.
Parameters:
  currentTime - the time at which this element should be sampled.
 voidseekTo(Time seekToTime)
     Seek to the requested time.
protected  voidsetTimeContainer(TimeContainerSupport timeContainer)
     Always throws an exception because a root container should not have a parent container.
 TimetoContainerSimpleTime(Time rootSimpleTime)
     Converts the input root container simple time (i.e., a time in the root container's simple time interval) to a time in this element's time container simple duration.
Parameters:
  rootSimpleTime - the time in the root container's simple duration.
 TimetoRootContainerSimpleTime(Time simpleTime)
     Converts the input simple time (i.e., a time in the parent container's simple duration) to a root container simple time (i.e., a time in the root time container's simple time interval).
 TimetoRootContainerSimpleTimeClamp(Time simpleTime)
     Converts the input simple time (i.e., a time in the parent container's simple duration) to a root container simple time (i.e., a time in the root time container's simple time interval).
 longtoWallClockTime(long localTime)
     Converts the input 'local' time to an absolute wallclock time.

Field Detail
beginWallClockTime
protected long beginWallClockTime(Code)
The time at which the document started. This is initially set when animation is started and then modified when the document's timeline is seeked to a particular time.



lastSampleTime
protected Time lastSampleTime(Code)
The last sample time.



seekingBack
protected boolean seekingBack(Code)
Flags that the seek is backwards




Constructor Detail
TimeContainerRootSupport
TimeContainerRootSupport()(Code)
There is no parent container for this root. The parent is this node itself. Also, the root time container has a default 0-offset begin condition added to it so that the first interval is created and is [0, INDEFINITE[.




Method Detail
dispatchBeginEvent
void dispatchBeginEvent(Time beginTime)(Code)
Dispatches beginEvent. See the TimedElementSupport class method implementation. This class also uses the opportunity to record what the wallclock time is for the begin time so that localTimes can be converted later.
Parameters:
  beginTime - the interval begin time



getContainerSimpleDuration
Time getContainerSimpleDuration()(Code)
For the root container, there is no container simple duration, so we retun INDEFINITE, no matter what the state is. the container's simple duration.



getRootContainer
TimeContainerRootSupport getRootContainer()(Code)
Helper method. this timed element's root container.



sample
void sample(Time currentTime)(Code)
Overrides the default sample time to capture the last sample time.
Parameters:
  currentTime - the time at which this element should be sampled.



seekTo
void seekTo(Time seekToTime)(Code)
Seek to the requested time. The time is assumed to be in document simple time.
Parameters:
  seekToTime - the time to seek to



setTimeContainer
protected void setTimeContainer(TimeContainerSupport timeContainer)(Code)
Always throws an exception because a root container should not have a parent container.
Parameters:
  timeContainer - time container
throws:
  IllegalArgumentException - always thrown for a root time container which should not have a parent container.



toContainerSimpleTime
Time toContainerSimpleTime(Time rootSimpleTime)(Code)
Converts the input root container simple time (i.e., a time in the root container's simple time interval) to a time in this element's time container simple duration.
Parameters:
  rootSimpleTime - the time in the root container's simple duration. a simple time in the parent container's simple duration Thereturn value is in the [0, container simple duration] interval.



toRootContainerSimpleTime
Time toRootContainerSimpleTime(Time simpleTime)(Code)
Converts the input simple time (i.e., a time in the parent container's simple duration) to a root container simple time (i.e., a time in the root time container's simple time interval).
Parameters:
  simpleTime - the time in the parent container's simple duration a time in the root time container's simple duration (i.e., in the root container's simple time interval).



toRootContainerSimpleTimeClamp
Time toRootContainerSimpleTimeClamp(Time simpleTime)(Code)
Converts the input simple time (i.e., a time in the parent container's simple duration) to a root container simple time (i.e., a time in the root time container's simple time interval).
Parameters:
  simpleTime - the time in the parent container's simple duration a time in the root time container's simple duration (i.e., in the root container's simple time interval).



toWallClockTime
long toWallClockTime(long localTime)(Code)
Converts the input 'local' time to an absolute wallclock time.
Parameters:
  localTime - the time to convert to wallclock time the time, converted to wall clock time.



Fields inherited from com.sun.perseus.model.TimeContainerSupport
protected Time simpleTime(Code)(Java Doc)
protected Vector timedElementChildren(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.TimeContainerSupport
void dispatchEndEvent(Time currentTime)(Code)(Java Doc)
void dispatchOnNewInterval()(Code)(Java Doc)
void dump()(Code)(Java Doc)
static void dump(TimedElementSupport t, String prefix, PrintStream out)(Code)(Java Doc)
void endChildrenAt(long time)(Code)(Java Doc)
public Time getSimpleTime()(Code)(Java Doc)
protected void initialize()(Code)(Java Doc)
protected void onStartingRepeat(int prevIter, int curIter)(Code)(Java Doc)
void removeSyncBaseTimesUnder(TimeContainerSupport syncTimeContainer)(Code)(Java Doc)
void reset()(Code)(Java Doc)
void sampleAt(long simpleTime)(Code)(Java Doc)
void setSimpleTime(long time)(Code)(Java Doc)

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.