de.jreality.plugin.menu
Class BackgroundColor
java.lang.Object
Plugin
de.jreality.plugin.menu.BackgroundColor
public class BackgroundColor
- extends Plugin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultBackgroundColor
public static java.awt.Color[] defaultBackgroundColor
BackgroundColor
public BackgroundColor()
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