de.jreality.ui.viewerapp
Class SelectionRenderer

java.lang.Object
  extended by de.jreality.ui.viewerapp.SelectionRenderer
All Implemented Interfaces:
SelectionListener, EventListener

public class SelectionRenderer
extends Object
implements SelectionListener

A class which handles rendering the selection coming from a selection manager (see SelectionManager) and to be rendered into an instance of Viewer.

Author:
gunn

Constructor Summary
SelectionRenderer(SelectionManager sm, Viewer v)
           
 
Method Summary
static void addAuxiliaryComponent(SceneGraphComponent aux, Viewer v)
           
 void dispose()
           
 boolean isVisible()
           
static void removeAuxiliaryComponent(SceneGraphComponent aux, Viewer v)
           
 void selectionChanged(SelectionEvent e)
           
 void setSelectionPath(SceneGraphPath s)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionRenderer

public SelectionRenderer(SelectionManager sm,
                         Viewer v)
Method Detail

setSelectionPath

public void setSelectionPath(SceneGraphPath s)

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

dispose

public void dispose()

addAuxiliaryComponent

public static void addAuxiliaryComponent(SceneGraphComponent aux,
                                         Viewer v)

removeAuxiliaryComponent

public static void removeAuxiliaryComponent(SceneGraphComponent aux,
                                            Viewer v)

selectionChanged

public void selectionChanged(SelectionEvent e)
Specified by:
selectionChanged in interface SelectionListener