Java Doc for DevelopmentLocale.java in  » 6.0-JDK-Modules » java-3d » org » jdesktop » j3dfly » utils » developmenttools » 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 » org.jdesktop.j3dfly.utils.developmenttools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.Locale
      org.jdesktop.j3dfly.utils.developmenttools.DevelopmentLocale

All known Subclasses:   org.jdesktop.j3dedit.interposer.InterposerLocale,
DevelopmentLocale
public class DevelopmentLocale extends javax.media.j3d.Locale (Code)
A Locale for use in Development/Debug tools. This locale provide a setLive call which will either make an entire Locale live or 'un'live. It also provides a listener system to notify user code of changes. Any changes to the locale (ie the addition or removal of a BranchGraph) will be notified to all listeners automatically. Changes within an existing Graph are all notified to listeners when one of the notify mehtods is called.
author:
   Paul Byrne
version:
   $Id: DevelopmentLocale.java,v 1.1 2005/04/20 21:04:51 paulby Exp $


Field Summary
protected  BranchGroupbranchGraphArray
    
protected  ArrayListbranchGraphs
    
protected  ArrayListchangeListeners
    
protected  BranchGrouphiddenBranchGraph
    
protected  booleanisLive
    
protected  ArrayListliveListeners
    

Constructor Summary
public  DevelopmentLocale(VirtualUniverse universe)
    
public  DevelopmentLocale(VirtualUniverse universe, HiResCoord hiRes)
    
public  DevelopmentLocale(VirtualUniverse universe, int[] x, int[] y, int[] z)
    

Method Summary
public  voidaddBranchGraph(BranchGroup branchGroup)
    
public  voidaddGraphChangeListener(SceneGraphChangeListener listener)
    
public  voidaddLiveListener(SceneGraphLiveListener listener)
    
public  BranchGroup[]getBranchGraphs()
    
public  BranchGroupgetHiddenBranchGraph()
    
public  booleangetLive()
    
public  ArrayListgetSceneGraphChangeListeners()
    
public  booleanisLive()
    
public  voidnotifyGraphChanged(BranchGroup graph, javax.media.j3d.Node node)
    
public  voidnotifyGroupAddChild(Group parent, BranchGroup child)
    
public  voidnotifyGroupRemoveAllChildren(Group parent)
    
public  voidnotifyGroupRemoveChild(Group parent, BranchGroup child)
    
public  voidnotifyGroupSetChild(Group parent, BranchGroup child, int index)
    
public  intnumBranchGraphs()
    
public  voidremoveBranchGraph(BranchGroup branchGroup)
    
public  voidremoveGraphChangeListener(SceneGraphChangeListener listener)
    
public  voidremoveLiveListener(SceneGraphLiveListener listener)
    
public  voidreplaceBranchGraph(BranchGroup oldGroup, BranchGroup newGroup)
    
public  voidsetHiddenBranchGraph(BranchGroup hiddenBranchGraph)
     Hidden BranchGraph is always the last branchgraph in the locale.
public synchronized  voidsetLive(boolean live)
    
public  voidsetSceneGraphChangeListeners(ArrayList listeners)
    
public  voidsilentReplaceBranchGraph(BranchGroup oldGroup, BranchGroup newGroup)
    
protected  voidupdateBranchGraphArray()
    

Field Detail
branchGraphArray
protected BranchGroup branchGraphArray(Code)



branchGraphs
protected ArrayList branchGraphs(Code)



changeListeners
protected ArrayList changeListeners(Code)



hiddenBranchGraph
protected BranchGroup hiddenBranchGraph(Code)



isLive
protected boolean isLive(Code)



liveListeners
protected ArrayList liveListeners(Code)




Constructor Detail
DevelopmentLocale
public DevelopmentLocale(VirtualUniverse universe)(Code)
Creates new Locale



DevelopmentLocale
public DevelopmentLocale(VirtualUniverse universe, HiResCoord hiRes)(Code)



DevelopmentLocale
public DevelopmentLocale(VirtualUniverse universe, int[] x, int[] y, int[] z)(Code)




Method Detail
addBranchGraph
public void addBranchGraph(BranchGroup branchGroup)(Code)



addGraphChangeListener
public void addGraphChangeListener(SceneGraphChangeListener listener)(Code)



addLiveListener
public void addLiveListener(SceneGraphLiveListener listener)(Code)



getBranchGraphs
public BranchGroup[] getBranchGraphs()(Code)



getHiddenBranchGraph
public BranchGroup getHiddenBranchGraph()(Code)
Return the hidden branch graph



getLive
public boolean getLive()(Code)



getSceneGraphChangeListeners
public ArrayList getSceneGraphChangeListeners()(Code)
Returns a copy of the list of SceneGraphChangeListeners



isLive
public boolean isLive()(Code)



notifyGraphChanged
public void notifyGraphChanged(BranchGroup graph, javax.media.j3d.Node node)(Code)



notifyGroupAddChild
public void notifyGroupAddChild(Group parent, BranchGroup child)(Code)
Notify all listeners that child is about to be added to parent



notifyGroupRemoveAllChildren
public void notifyGroupRemoveAllChildren(Group parent)(Code)
Notify all listeners that all children are about to be removed



notifyGroupRemoveChild
public void notifyGroupRemoveChild(Group parent, BranchGroup child)(Code)
Notify all listeners that all children are about to be removed



notifyGroupSetChild
public void notifyGroupSetChild(Group parent, BranchGroup child, int index)(Code)
Notify all listeners that child is about to be set in the parent



numBranchGraphs
public int numBranchGraphs()(Code)
Return the number of BranchGraphs in this locale



removeBranchGraph
public void removeBranchGraph(BranchGroup branchGroup)(Code)



removeGraphChangeListener
public void removeGraphChangeListener(SceneGraphChangeListener listener)(Code)



removeLiveListener
public void removeLiveListener(SceneGraphLiveListener listener)(Code)



replaceBranchGraph
public void replaceBranchGraph(BranchGroup oldGroup, BranchGroup newGroup)(Code)



setHiddenBranchGraph
public void setHiddenBranchGraph(BranchGroup hiddenBranchGraph)(Code)
Hidden BranchGraph is always the last branchgraph in the locale. It is not returned by getBranchGraphs(), it is not included in numBranchGraphs and no listeners are notified when it is set The Hidden BranchGraph is made live and not live when setLive is called



setLive
public synchronized void setLive(boolean live)(Code)



setSceneGraphChangeListeners
public void setSceneGraphChangeListeners(ArrayList listeners)(Code)
Overwrites the current set of listeners with the supplied set of listeners



silentReplaceBranchGraph
public void silentReplaceBranchGraph(BranchGroup oldGroup, BranchGroup newGroup)(Code)
Replace the BranchGraph without notifying listeners



updateBranchGraphArray
protected void updateBranchGraphArray()(Code)



Methods inherited from javax.media.j3d.Locale
public void addBranchGraph(BranchGroup branchGroup)(Code)(Java Doc)
public Enumeration getAllBranchGraphs()(Code)(Java Doc)
public void getHiRes(HiResCoord hiRes)(Code)(Java Doc)
public VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
public int numBranchGraphs()(Code)(Java Doc)
public SceneGraphPath[] pickAll(PickShape pickShape)(Code)(Java Doc)
public PickInfo[] pickAll(int mode, int flags, PickShape pickShape)(Code)(Java Doc)
public SceneGraphPath[] pickAllSorted(PickShape pickShape)(Code)(Java Doc)
public PickInfo[] pickAllSorted(int mode, int flags, PickShape pickShape)(Code)(Java Doc)
public SceneGraphPath pickAny(PickShape pickShape)(Code)(Java Doc)
public PickInfo pickAny(int mode, int flags, PickShape pickShape)(Code)(Java Doc)
public SceneGraphPath pickClosest(PickShape pickShape)(Code)(Java Doc)
public PickInfo pickClosest(int mode, int flags, PickShape pickShape)(Code)(Java Doc)
public void removeBranchGraph(BranchGroup branchGroup)(Code)(Java Doc)
public void replaceBranchGraph(BranchGroup oldGroup, BranchGroup newGroup)(Code)(Java Doc)
public void setHiRes(int[] x, int[] y, int[] z)(Code)(Java Doc)
public void setHiRes(HiResCoord hiRes)(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.