1 package org.textensor.vis; 2 3 import javax.media.j3d.BranchGroup; 4 5 6 public class SceneItem { 7 8 String id; 9 BranchGroup bGroup; 10 boolean showing = false; 11 12 public SceneItem(String sid, BranchGroup bg) { 13 id = sid; 14 bGroup = bg; 15 } 16 17 public void setShowing(boolean b) { 18 showing = b; 19 } 20 21 public void setID(String s) { 22 id = s; 23 } 24 25 public String getID() { 26 return id; 27 } 28 29 public BranchGroup getBranchGroup() { 30 return bGroup; 31 } 32 33 }