de.jreality.plugin.basic
Class ViewPreferences

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

public class ViewPreferences
extends Plugin
implements java.awt.event.ActionListener


Nested Class Summary
static interface ViewPreferences.ColorPickerModeChangedListener
           
 
Constructor Summary
ViewPreferences()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 boolean addColorPickerChangedListener(ViewPreferences.ColorPickerModeChangedListener l)
           
 int getColorPickerMode()
           
 javax.swing.Icon getMainIcon()
           
 java.lang.String getMainName()
           
 javax.swing.JPanel getMainPage()
           
 int getNumSubPages()
           
 PluginInfo getPluginInfo()
           
 javax.swing.JPanel getSubPage(int i)
           
 javax.swing.Icon getSubPageIcon(int i)
           
 java.lang.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(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

setShowToolBar

public void setShowToolBar(boolean show)

setShowMenuBar

public void setShowMenuBar(boolean show)

storeStates

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

restoreStates

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

getMainIcon

public javax.swing.Icon getMainIcon()

getMainName

public java.lang.String getMainName()

getMainPage

public javax.swing.JPanel getMainPage()

getNumSubPages

public int getNumSubPages()

getSubPage

public javax.swing.JPanel getSubPage(int i)

getSubPageIcon

public javax.swing.Icon getSubPageIcon(int i)

getSubPageName

public java.lang.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 java.lang.Exception
Throws:
java.lang.Exception

uninstall

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

setFrontendListener

public void setFrontendListener(FrontendListener l)

isExclusiveFullscreen

public boolean isExclusiveFullscreen()