| 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 $ |
isLive | protected boolean isLive(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) | | |
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
|
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)
|
|
|