it.polito.elite.visualization.ontoviewer.scenes3D
Class SceneFocusFacts5

java.lang.Object
  extended by it.polito.elite.visualization.ontoviewer.scenes3D.Scene3D
      extended by it.polito.elite.visualization.ontoviewer.scenes3D.SceneFocusFacts5

public class SceneFocusFacts5
extends Scene3D


Field Summary
private  InstanceData currentInstanceData
           
private  boolean showDatatype
           
private  boolean showIncoming
           
private  boolean showOutgoing
           
 
Fields inherited from class it.polito.elite.visualization.ontoviewer.scenes3D.Scene3D
behaviorCURS, behaviorROT, behaviorTRAS, behaviorZOOM, bgLabelScene, bgSCENE, currentConceptURI, currentInstanceURI, numScenes, positions, refMainPanel, rootPosition, sceneID, simplePick, tgROT, tgSCENE
 
Constructor Summary
SceneFocusFacts5(Pane3DScene _mf, java.lang.String uriConcept, java.lang.String uriInstance)
           
 
Method Summary
 void createScene()
           
private  void drawConcept(javax.media.j3d.TransformGroup tgx)
           
private  void drawFacts(javax.media.j3d.TransformGroup tgx)
           
private  void drawLink(javax.media.j3d.TransformGroup tgx, java.util.Hashtable<java.lang.String,java.util.HashSet<NodeTypeAbstraction>> relations, LinkDirectionEnum direction, float yValue)
           
private  void drawSameDifferent(javax.media.j3d.TransformGroup tg)
           
private  void drawSelfLoopRelation(javax.media.j3d.TransformGroup tgx)
           
 void expand_OR_collapseElement(java.lang.String uri)
           
 void fadeInAnimation()
           
 void fadeOutAnimation(java.lang.String uri, Scene3D nextScene)
           
private  void reInitializeScene()
           
 void selectElement(java.lang.String uri)
           
 boolean showContextMenu(java.awt.PopupMenu menu, java.lang.String uri)
           
 boolean showRelationContextMenu(java.awt.PopupMenu menu, java.util.HashSet<RelationData> relSet)
           
 
Methods inherited from class it.polito.elite.visualization.ontoviewer.scenes3D.Scene3D
addBehaviors, addPopUpMenu, addSceneLabel, backToInitialSceneView, centralPositionAtGivenHeightScale, createBGandTGforTheScene, createBranchGroup, createRandomSet, createTransformGroup, get2DTo3DPoint, get3DTo2DPoint, getBounds, getCanvas3DSize, getCurrentConceptURI, getCurrentInstanceURI, getSceneBranchGroup, getSceneID, getShapes, recreateSceneFromScratch, removeBehaviours, removePopUpMenu, repaintCanvas, setCurrentConceptURI, setCurrentInstanceURI, showSelectionPopUp, updateView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentInstanceData

private InstanceData currentInstanceData

showDatatype

private boolean showDatatype

showIncoming

private boolean showIncoming

showOutgoing

private boolean showOutgoing
Constructor Detail

SceneFocusFacts5

public SceneFocusFacts5(Pane3DScene _mf,
                        java.lang.String uriConcept,
                        java.lang.String uriInstance)
Method Detail

createScene

public void createScene()
Specified by:
createScene in class Scene3D

drawConcept

private void drawConcept(javax.media.j3d.TransformGroup tgx)

drawFacts

private void drawFacts(javax.media.j3d.TransformGroup tgx)

drawLink

private void drawLink(javax.media.j3d.TransformGroup tgx,
                      java.util.Hashtable<java.lang.String,java.util.HashSet<NodeTypeAbstraction>> relations,
                      LinkDirectionEnum direction,
                      float yValue)

drawSameDifferent

private void drawSameDifferent(javax.media.j3d.TransformGroup tg)

drawSelfLoopRelation

private void drawSelfLoopRelation(javax.media.j3d.TransformGroup tgx)

expand_OR_collapseElement

public void expand_OR_collapseElement(java.lang.String uri)
Specified by:
expand_OR_collapseElement in class Scene3D

fadeInAnimation

public void fadeInAnimation()
Specified by:
fadeInAnimation in class Scene3D

fadeOutAnimation

public void fadeOutAnimation(java.lang.String uri,
                             Scene3D nextScene)
Specified by:
fadeOutAnimation in class Scene3D

reInitializeScene

private void reInitializeScene()

selectElement

public void selectElement(java.lang.String uri)
Specified by:
selectElement in class Scene3D

showContextMenu

public boolean showContextMenu(java.awt.PopupMenu menu,
                               java.lang.String uri)
Specified by:
showContextMenu in class Scene3D

showRelationContextMenu

public boolean showRelationContextMenu(java.awt.PopupMenu menu,
                                       java.util.HashSet<RelationData> relSet)
Specified by:
showRelationContextMenu in class Scene3D