de.jreality.plugin.basic
Class ViewPreferences

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.basic.ViewPreferences
All Implemented Interfaces:
ActionListener, EventListener

public class ViewPreferences
extends Plugin
implements ActionListener


Nested Class Summary
static interface ViewPreferences.ColorPickerModeChangedListener
           
 
Constructor Summary
ViewPreferences()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 boolean addColorPickerChangedListener(ViewPreferences.ColorPickerModeChangedListener l)
           
 int getColorPickerMode()
           
 Icon getMainIcon()
           
 String getMainName()
           
 JPanel getMainPage()
           
 int getNumSubPages()
           
 PluginInfo getPluginInfo()
           
 JPanel getSubPage(int i)
           
 Icon getSubPageIcon(int i)
           
 String getSubPageName(int i)
           
 void install(Controller c)
           
 boolean isExclusiveFullscreen()
           
 boolean isResetTextureTransform()
           
 boolean removeColorPickerChangedListener(ViewPreferences.ColorPickerModeChangedListener l)
           
 void restoreStates(Controller c)
           
 void setFrontendListener(FrontendListener l)
           
 void setShowMenuBar(boolean show)
           
 void setShowToolBar(boolean show)
           
 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

ViewPreferences

public ViewPreferences()
Method Detail

getPluginInfo

public PluginInfo getPluginInfo()

actionPerformed

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

setShowToolBar

public void setShowToolBar(boolean show)

setShowMenuBar

public void setShowMenuBar(boolean show)

storeStates

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

restoreStates

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

getMainIcon

public Icon getMainIcon()

getMainName

public String getMainName()

getMainPage

public JPanel getMainPage()

getNumSubPages

public int getNumSubPages()

getSubPage

public JPanel getSubPage(int i)

getSubPageIcon

public Icon getSubPageIcon(int i)

getSubPageName

public String getSubPageName(int i)

getColorPickerMode

public int getColorPickerMode()

addColorPickerChangedListener

public boolean addColorPickerChangedListener(ViewPreferences.ColorPickerModeChangedListener l)

removeColorPickerChangedListener

public boolean removeColorPickerChangedListener(ViewPreferences.ColorPickerModeChangedListener l)

isResetTextureTransform

public boolean isResetTextureTransform()

install

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

uninstall

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

setFrontendListener

public void setFrontendListener(FrontendListener l)

isExclusiveFullscreen

public boolean isExclusiveFullscreen()