de.jreality.plugin.menu
Class BackgroundColor

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.menu.BackgroundColor

public class BackgroundColor
extends Plugin


Field Summary
static java.awt.Color[] defaultBackgroundColor
           
 
Constructor Summary
BackgroundColor()
           
 
Method Summary
 void addChoice(java.lang.String name, java.awt.Color... colors)
           
 java.lang.String getColor()
           
 javax.swing.JMenu getMenu()
           
 PluginInfo getPluginInfo()
           
 void install(Controller c)
           
 void install(Scene scene)
           
 void restoreStates(Controller c)
           
 void setColor(java.lang.String name)
          Sets the scene root's background color.
 void storeStates(Controller c)
           
 void uninstall(Controller c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultBackgroundColor

public static java.awt.Color[] defaultBackgroundColor
Constructor Detail

BackgroundColor

public BackgroundColor()
Method Detail

getColor

public java.lang.String getColor()

setColor

public void setColor(java.lang.String name)
Sets the scene root's background color.

Parameters:
colors - list of colors with length = 1 or 4

getMenu

public javax.swing.JMenu getMenu()

addChoice

public void addChoice(java.lang.String name,
                      java.awt.Color... colors)

getPluginInfo

public PluginInfo getPluginInfo()

install

public void install(Scene scene)

install

public void install(Controller c)
             throws java.lang.Exception
Throws:
java.lang.Exception

uninstall

public void uninstall(Controller c)
               throws java.lang.Exception
Throws:
java.lang.Exception

restoreStates

public void restoreStates(Controller c)
                   throws java.lang.Exception
Throws:
java.lang.Exception

storeStates

public void storeStates(Controller c)
                 throws java.lang.Exception
Throws:
java.lang.Exception