de.jreality.plugin.scene
Class Terrain

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.scene.Terrain
All Implemented Interfaces:
ViewPreferences.ColorPickerModeChangedListener, ActionListener, EventListener, ChangeListener

public class Terrain
extends Plugin
implements ActionListener, ChangeListener, ViewPreferences.ColorPickerModeChangedListener


Constructor Summary
Terrain()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void colorPickerModeChanged(int mode)
           
 Appearance getAppearance()
           
 Color getFaceColor()
           
 double getFaceReflection()
           
 JPanel getPanel()
           
 PluginInfo getPluginInfo()
           
 SceneGraphComponent getSceneGraphComponent()
           
 TextureInspector getTextureInspector()
           
 double getTransparency()
           
 void install(Controller c)
           
 boolean isFacesReflecting()
           
 boolean isReflectSceneContent()
           
 boolean isTransparencyEnabled()
           
 boolean isVisible()
           
 void restoreStates(Controller c)
           
 void setFaceColor(Color c)
           
 void setFaceReflection(double d)
           
 void setFacesReflecting(boolean b)
           
 void setReflectSceneContent(boolean b)
           
 void setTransparency(double d)
           
 void setTransparencyEnabled(boolean b)
           
 void setVisible(boolean b)
           
 void stateChanged(ChangeEvent e)
           
 void storeStates(Controller c)
           
 void uninstall(Controller c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terrain

public Terrain()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener

colorPickerModeChanged

public void colorPickerModeChanged(int mode)
Specified by:
colorPickerModeChanged in interface ViewPreferences.ColorPickerModeChangedListener

getTextureInspector

public TextureInspector getTextureInspector()

getPanel

public JPanel getPanel()

isFacesReflecting

public boolean isFacesReflecting()

setFacesReflecting

public void setFacesReflecting(boolean b)

setReflectSceneContent

public void setReflectSceneContent(boolean b)

getFaceReflection

public double getFaceReflection()

setFaceReflection

public void setFaceReflection(double d)

isReflectSceneContent

public boolean isReflectSceneContent()

getFaceColor

public Color getFaceColor()

setFaceColor

public void setFaceColor(Color c)

getTransparency

public double getTransparency()

setTransparency

public void setTransparency(double d)

isTransparencyEnabled

public boolean isTransparencyEnabled()

setTransparencyEnabled

public void setTransparencyEnabled(boolean b)

getSceneGraphComponent

public SceneGraphComponent getSceneGraphComponent()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean b)

install

public void install(Controller c)
             throws Exception
Throws:
Exception

uninstall

public void uninstall(Controller c)
               throws Exception
Throws:
Exception

getAppearance

public Appearance getAppearance()

getPluginInfo

public PluginInfo getPluginInfo()

restoreStates

public void restoreStates(Controller c)
                   throws Exception
Throws:
Exception

storeStates

public void storeStates(Controller c)
                 throws Exception
Throws:
Exception