Java Doc for BehaviorRetained.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » 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 » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.IndexedObject
      javax.media.j3d.SceneGraphObjectRetained
         javax.media.j3d.NodeRetained
            javax.media.j3d.LeafRetained
               javax.media.j3d.BehaviorRetained

BehaviorRetained
class BehaviorRetained extends LeafRetained (Code)
Behavior is an abstract class that contains the framework for all behavioral components in Java 3D.


Field Summary
final static  intBEHAIVORS_IN_BS_LIST
    
final static  intNUM_SCHEDULING_INTERVALS
     The number of scheduling intervals supported by this implementation.
final static  intNUM_WAKEUPS
    
final static  intSCHEDULE_IN_BS_LIST
    
final static  intTOTAL_INDEXED_UNORDER_SET_TYPES
    
final static  intWAKEUP_ACTIVATE
    
final static  intWAKEUP_ACTIVATE_INDEX
    
final static  intWAKEUP_DEACTIVATE
    
final static  intWAKEUP_DEACTIVATE_INDEX
    
final static  intWAKEUP_TIME
    
final static  intWAKEUP_TIME_INDEX
    
final static  intWAKEUP_VP_ENTRY
    
final static  intWAKEUP_VP_ENTRY_INDEX
    
final static  intWAKEUP_VP_EXIT
    
final static  intWAKEUP_VP_EXIT_INDEX
    
 booleanactive
     The current activation status for this behavior; this value is false until it comes into range of a view platform.
 BoundingLeafRetainedboundingLeaf
    
 booleanconditionSet
     This is a flag that tells the behavior scheduler whether the user-programmed process stimulus called wakeupOn, if it did not, then the wakeupCondition will be set to null.
 booleanenable
     Flag indicating whether the behavior is enabled.
 booleaninCallback
     This is a flag that indicates whether we are in an initialize or processStimulus callback.
 booleaninInitCallback
     This is a flag that indicates whether we are in initialize callback.
 intisDirty
    
 WakeupConditionnewWakeupCondition
    
 intschedulingInterval
     Current scheduling interval.
 BoundsschedulingRegion
     The Boundary object defining the behavior's scheduling region.
 Objecttargets
    
 BoundstransformedRegion
    
 ViewPlatformRetainedvp
     The current view platform for this behavior; this value is false until it comes into range of a view platform.
 int[]wakeupArray
    
 WakeupConditionwakeupCondition
     The current wakeup condition.
 intwakeupMask
     A bitmask that represents all conditions that this behavior is waiting on.

Constructor Summary
 BehaviorRetained()
    

Method Summary
 voidaddWakeupCondition()
    
synchronized  voidclearLive(SetLiveState s)
     This clearLive routine first calls the superclass's method, then it deactivates all canvases that are associated with the attached view.
 voidexecuteInitialize()
    
 booleangetEnable()
     Retrieves the state of the Behavior enable flag.
 BoundingLeafgetSchedulingBoundingLeaf()
    
 BoundsgetSchedulingBounds()
     Get the Behavior's scheduling region.
 intgetSchedulingInterval()
     Retrieves the current scheduling interval of this Behavior node.
protected  ViewgetView()
    
 WakeupConditiongetWakeupCondition()
     Returns this behavior's wakeup criteria.
 voidhandleLastWakeupOn(WakeupCondition prevWakeupCond, BehaviorStructure bs)
    
 voidmergeTransform(TransformGroupRetained xform)
    
 voidpostId(int postId)
     Post the specified Id.
final  voidsendMessage(int mtype, Object arg)
    
final  voidsendMessage(int mtype)
    
 voidsetEnable(boolean state)
     Enables or disables this Behavior.
synchronized  voidsetLive(SetLiveState s)
     This setLive routine first calls the superclass's method, then it activates all canvases that are associated with the attached view.
synchronized  voidsetSchedulingBoundingLeaf(BoundingLeaf region)
     Set the Sound's scheduling region to the specified Leaf node.
synchronized  voidsetSchedulingBounds(Bounds region)
     Set the Behavior's scheduling region.
 voidsetSchedulingInterval(int schedulingInterval)
     Sets the scheduling interval of this Behavior node to the specified value.
 voidupdateBoundingLeaf(long refTime)
    
synchronized  voidupdateTransformRegion(Bounds bound)
    
synchronized  voidupdateTransformRegion()
    
 voidwakeupOn(WakeupCondition criteria)
     Defines this behavior's wakeup criteria.

Field Detail
BEHAIVORS_IN_BS_LIST
final static int BEHAIVORS_IN_BS_LIST(Code)



NUM_SCHEDULING_INTERVALS
final static int NUM_SCHEDULING_INTERVALS(Code)
The number of scheduling intervals supported by this implementation. This is fixed for a particular implementation and must be at least 10.



NUM_WAKEUPS
final static int NUM_WAKEUPS(Code)



SCHEDULE_IN_BS_LIST
final static int SCHEDULE_IN_BS_LIST(Code)



TOTAL_INDEXED_UNORDER_SET_TYPES
final static int TOTAL_INDEXED_UNORDER_SET_TYPES(Code)



WAKEUP_ACTIVATE
final static int WAKEUP_ACTIVATE(Code)



WAKEUP_ACTIVATE_INDEX
final static int WAKEUP_ACTIVATE_INDEX(Code)



WAKEUP_DEACTIVATE
final static int WAKEUP_DEACTIVATE(Code)



WAKEUP_DEACTIVATE_INDEX
final static int WAKEUP_DEACTIVATE_INDEX(Code)



WAKEUP_TIME
final static int WAKEUP_TIME(Code)



WAKEUP_TIME_INDEX
final static int WAKEUP_TIME_INDEX(Code)



WAKEUP_VP_ENTRY
final static int WAKEUP_VP_ENTRY(Code)



WAKEUP_VP_ENTRY_INDEX
final static int WAKEUP_VP_ENTRY_INDEX(Code)



WAKEUP_VP_EXIT
final static int WAKEUP_VP_EXIT(Code)



WAKEUP_VP_EXIT_INDEX
final static int WAKEUP_VP_EXIT_INDEX(Code)



active
boolean active(Code)
The current activation status for this behavior; this value is false until it comes into range of a view platform.



boundingLeaf
BoundingLeafRetained boundingLeaf(Code)
The bounding leaf reference



conditionSet
boolean conditionSet(Code)
This is a flag that tells the behavior scheduler whether the user-programmed process stimulus called wakeupOn, if it did not, then the wakeupCondition will be set to null.



enable
boolean enable(Code)
Flag indicating whether the behavior is enabled.



inCallback
boolean inCallback(Code)
This is a flag that indicates whether we are in an initialize or processStimulus callback. If wakeupOn is called for this behavior when this flag is not set, an exception will be thrown.



inInitCallback
boolean inInitCallback(Code)
This is a flag that indicates whether we are in initialize callback. If wakeupOn is called for this behavior when this flag is true, then its buildTree() will delay until insert nodes message is get. This is because some localToVworld[] that wakeup depends may not initialize when this behavior setLive().



isDirty
int isDirty(Code)



newWakeupCondition
WakeupCondition newWakeupCondition(Code)
This is the new WakeupCondition to be set in initialize wakeupOn()



schedulingInterval
int schedulingInterval(Code)
Current scheduling interval.



schedulingRegion
Bounds schedulingRegion(Code)
The Boundary object defining the behavior's scheduling region.



targets
Object targets(Code)



transformedRegion
Bounds transformedRegion(Code)
The transformed schedulingRegion



vp
ViewPlatformRetained vp(Code)
The current view platform for this behavior; this value is false until it comes into range of a view platform.



wakeupArray
int[] wakeupArray(Code)
An array of ints that count how many of each wakup is present



wakeupCondition
WakeupCondition wakeupCondition(Code)
The current wakeup condition.



wakeupMask
int wakeupMask(Code)
A bitmask that represents all conditions that this behavior is waiting on.




Constructor Detail
BehaviorRetained
BehaviorRetained()(Code)




Method Detail
addWakeupCondition
void addWakeupCondition()(Code)



clearLive
synchronized void clearLive(SetLiveState s)(Code)
This clearLive routine first calls the superclass's method, then it deactivates all canvases that are associated with the attached view.



executeInitialize
void executeInitialize()(Code)
This routine execute the user's initialize method



getEnable
boolean getEnable()(Code)
Retrieves the state of the Behavior enable flag. the Behavior enable state



getSchedulingBoundingLeaf
BoundingLeaf getSchedulingBoundingLeaf()(Code)
Get the Behavior's scheduling region



getSchedulingBounds
Bounds getSchedulingBounds()(Code)
Get the Behavior's scheduling region. this Behavior's scheduling region information



getSchedulingInterval
int getSchedulingInterval()(Code)
Retrieves the current scheduling interval of this Behavior node. the current scheduling interval



getView
protected View getView()(Code)



getWakeupCondition
WakeupCondition getWakeupCondition()(Code)
Returns this behavior's wakeup criteria. criteria The wakeup criteria of this object



handleLastWakeupOn
void handleLastWakeupOn(WakeupCondition prevWakeupCond, BehaviorStructure bs)(Code)



mergeTransform
void mergeTransform(TransformGroupRetained xform)(Code)



postId
void postId(int postId)(Code)
Post the specified Id. Behaviors use this method to cause sequential scheduling of other behavior object.
Parameters:
  postId - The Id being posted



sendMessage
final void sendMessage(int mtype, Object arg)(Code)



sendMessage
final void sendMessage(int mtype)(Code)



setEnable
void setEnable(boolean state)(Code)
Enables or disables this Behavior. The default state is enabled.
Parameters:
  state - true or false to enable or disable this Behavior



setLive
synchronized void setLive(SetLiveState s)(Code)
This setLive routine first calls the superclass's method, then it activates all canvases that are associated with the attached view.



setSchedulingBoundingLeaf
synchronized void setSchedulingBoundingLeaf(BoundingLeaf region)(Code)
Set the Sound's scheduling region to the specified Leaf node.



setSchedulingBounds
synchronized void setSchedulingBounds(Bounds region)(Code)
Set the Behavior's scheduling region.
Parameters:
  region - a region that contains the Behavior's new schedulingbounds



setSchedulingInterval
void setSchedulingInterval(int schedulingInterval)(Code)
Sets the scheduling interval of this Behavior node to the specified value.
Parameters:
  schedulingInterval - the new scheduling interval



updateBoundingLeaf
void updateBoundingLeaf(long refTime)(Code)



updateTransformRegion
synchronized void updateTransformRegion(Bounds bound)(Code)



updateTransformRegion
synchronized void updateTransformRegion()(Code)



wakeupOn
void wakeupOn(WakeupCondition criteria)(Code)
Defines this behavior's wakeup criteria.
Parameters:
  criteria - The wakeup criterion for this object



Fields inherited from javax.media.j3d.LeafRetained
boolean boundsDirty(Code)(Java Doc)
SwitchState switchState(Code)(Java Doc)

Methods inherited from javax.media.j3d.LeafRetained
protected Object clone(boolean forceDuplicate)(Code)(Java Doc)
void getMirrorObjects(ArrayList l, HashKey k)(Code)(Java Doc)
void updateBoundingLeaf()(Code)(Java Doc)
void updateBounds()(Code)(Java Doc)
void updateMirrorObject(Object[] args)(Code)(Java Doc)
void updateTransformChange()(Code)(Java Doc)

Fields inherited from javax.media.j3d.NodeRetained
final static int ALTERNATEAPPEARANCE(Code)(Java Doc)
final static int AMBIENTLIGHT(Code)(Java Doc)
final static int BACKGROUND(Code)(Java Doc)
final static int BACKGROUNDSOUND(Code)(Java Doc)
final static int BEHAVIOR(Code)(Java Doc)
final static int BOUNDINGLEAF(Code)(Java Doc)
final static int BRANCHGROUP(Code)(Java Doc)
final static int CLIP(Code)(Java Doc)
final static int CONESOUND(Code)(Java Doc)
final static int CONTAINS_VIEWPLATFORM(Code)(Java Doc)
final static int CURRENT_LOCAL_TO_VWORLD(Code)(Java Doc)
final static int DECALGROUP(Code)(Java Doc)
final static int DIRECTIONALLIGHT(Code)(Java Doc)
final static int EXPONENTIALFOG(Code)(Java Doc)
final static int GROUP(Code)(Java Doc)
final static int LAST_LOCAL_TO_VWORLD(Code)(Java Doc)
final static int LINEARFOG(Code)(Java Doc)
final static int LINK(Code)(Java Doc)
final static int MODELCLIP(Code)(Java Doc)
final static int MORPH(Code)(Java Doc)
final static int NUMNODES(Code)(Java Doc)
final static int ORDEREDGROUP(Code)(Java Doc)
final static int ORIENTEDSHAPE3D(Code)(Java Doc)
final static int POINTLIGHT(Code)(Java Doc)
final static int POINTSOUND(Code)(Java Doc)
final static int SHAPE(Code)(Java Doc)
final static int SHAREDGROUP(Code)(Java Doc)
final static int SOUNDSCAPE(Code)(Java Doc)
final static int SPOTLIGHT(Code)(Java Doc)
final static int SWITCH(Code)(Java Doc)
final static int TRANSFORMGROUP(Code)(Java Doc)
final static int VIEWPLATFORM(Code)(Java Doc)
final static int VIEWSPECIFICGROUP(Code)(Java Doc)
Bounds apiBounds(Code)(Java Doc)
boolean boundsAutoCompute(Code)(Java Doc)
ArrayList branchGroupPaths(Code)(Java Doc)
protected Bounds cachedBounds(Code)(Java Doc)
int childIndex(Code)(Java Doc)
boolean collidable(Code)(Java Doc)
BackgroundRetained geometryBackground(Code)(Java Doc)
boolean inSharedGroup(Code)(Java Doc)
Bounds localBounds(Code)(Java Doc)
Transform3D localToVworld(Code)(Java Doc)
int localToVworldIndex(Code)(Java Doc)
HashKey localToVworldKeys(Code)(Java Doc)
Locale locale(Code)(Java Doc)
int nnuId(Code)(Java Doc)
String nodeId(Code)(Java Doc)
int nodeType(Code)(Java Doc)
Integer orderedId(Code)(Java Doc)
NodeRetained parent(Code)(Java Doc)
GroupRetained parentSwitchLink(Code)(Java Doc)
GroupRetained parentTransformLink(Code)(Java Doc)
boolean pickable(Code)(Java Doc)
int refCount(Code)(Java Doc)
TransformGroupRetained staticTransform(Code)(Java Doc)
VirtualUniverse universe(Code)(Java Doc)
protected boolean validCachedBounds(Code)(Java Doc)

Methods inherited from javax.media.j3d.NodeRetained
void clearLive(SetLiveState s)(Code)(Java Doc)
void computeCombineBounds(Bounds bounds)(Code)(Java Doc)
void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc)
void dirtyBoundsCache()(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
public int equal(NnuId obj)(Code)(Java Doc)
void findCollidableFlags(boolean collide)(Code)(Java Doc)
void findPickableFlags(boolean pick)(Code)(Java Doc)
void findTransformLevels(int transformLevels)(Code)(Java Doc)
Bounds getBounds()(Code)(Java Doc)
boolean getBoundsAutoCompute()(Code)(Java Doc)
boolean getCollidable()(Code)(Java Doc)
Transform3D getCurrentLocalToVworld()(Code)(Java Doc)
Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc)
Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc)
Bounds getEffectiveBounds()(Code)(Java Doc)
public int getId()(Code)(Java Doc)
Transform3D getLastLocalToVworld()(Code)(Java Doc)
Transform3D getLastLocalToVworld(int index)(Code)(Java Doc)
Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc)
Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc)
void getLocalToVworld(Transform3D t)(Code)(Java Doc)
void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc)
void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc)
Locale getLocale()(Code)(Java Doc)
NodeRetained getParent()(Code)(Java Doc)
boolean getPickable()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc)
int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc)
void recombineAbove()(Code)(Java Doc)
void removeNodeData(SetLiveState s)(Code)(Java Doc)
void searchGeometryAtoms(UnorderList list)(Code)(Java Doc)
void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc)
void setBounds(Bounds bounds)(Code)(Java Doc)
void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc)
void setCollidable(boolean collidable)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setNodeData(SetLiveState s)(Code)(Java Doc)
void setParent(NodeRetained parent)(Code)(Java Doc)
void setPickable(boolean pickable)(Code)(Java Doc)
void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc)
void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc)
synchronized void updateLocalToVworld()(Code)(Java Doc)
void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)

Fields inherited from javax.media.j3d.SceneGraphObjectRetained
final static int DONT_MERGE(Code)(Java Doc)
final static int MERGE(Code)(Java Doc)
final static int MERGE_DONE(Code)(Java Doc)
boolean inBackgroundGroup(Code)(Java Doc)
boolean inSetLive(Code)(Java Doc)
int mergeFlag(Code)(Java Doc)
boolean onUpdateList(Code)(Java Doc)
SceneGraphObject source(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObjectRetained
void clearLive(VirtualUniverse univ, int index, boolean sharedGroup, HashKey[] keys)(Code)(Java Doc)
void clearLive()(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void compile(CompileState compState)(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup)(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
SceneGraphObject getSource()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void handleFrequencyChange(int bit)(Code)(Java Doc)
boolean isInSetLive()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void markAsLive()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void setCompiled()(Code)(Java Doc)
void setLive(boolean inBackgroundGroup)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setSource(SceneGraphObject source)(Code)(Java Doc)
void traverse(boolean sameLevel, int level)(Code)(Java Doc)

Fields inherited from javax.media.j3d.IndexedObject
int[][] listIdx(Code)(Java Doc)

Methods inherited from javax.media.j3d.IndexedObject
synchronized int getIdxUsed(VirtualUniverse u)(Code)(Java Doc)
abstract VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void incIdxUsed()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.