synergynetframework.config.display
Class DisplayConfigPrefsItem

java.lang.Object
  extended by synergynetframework.config.display.DisplayConfigPrefsItem
All Implemented Interfaces:
PreferencesItem

public class DisplayConfigPrefsItem
extends java.lang.Object
implements PreferencesItem

The Class DisplayConfigPrefsItem.


Constructor Summary
DisplayConfigPrefsItem()
          Instantiates a new display config prefs item.
 
Method Summary
 int getBitDepth()
          Gets the bit depth.
 javax.swing.JPanel getConfigurationPanel()
          Gets the configuration panel.
 org.lwjgl.opengl.DisplayMode getCurrentDisplayMode(org.lwjgl.opengl.DisplayMode[] modes)
          Gets the current display mode.
 int getCurrentDisplayModeIndex(org.lwjgl.opengl.DisplayMode[] modes)
          Gets the current display mode index.
 int getFrequency()
          Gets the frequency.
 boolean getFullScreen()
          Gets the full screen.
 int getHeight()
          Gets the height.
 int getMinimumAntiAliasSamples()
          Gets the minimum anti alias samples.
 java.lang.String getName()
          Gets the name.
 boolean getShowSceneMonitor()
          Gets the show scene monitor.
 java.lang.String getThreeDee()
          Gets the three dee.
 int getWidth()
          Gets the width.
 void setBitDepth(int b)
          Sets the bit depth.
 void setFrequency(int f)
          Sets the frequency.
 void setFullScreen(boolean fs)
          Sets the full screen.
 void setHeight(int h)
          Sets the height.
 void setMinimumAntiAliasSamples(int samples)
          Sets the minimum anti alias samples.
 void setShowSceneMonitor(boolean enabled)
          Sets the show scene monitor.
 void setThreeDee(java.lang.String s)
          Sets the three dee.
 void setWidth(int w)
          Sets the width.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayConfigPrefsItem

public DisplayConfigPrefsItem()
Instantiates a new display config prefs item.

Method Detail

getBitDepth

public int getBitDepth()
Gets the bit depth.

Returns:
the bit depth

getConfigurationPanel

public javax.swing.JPanel getConfigurationPanel()
Description copied from interface: PreferencesItem
Gets the configuration panel.

Specified by:
getConfigurationPanel in interface PreferencesItem
Returns:
the configuration panel

getCurrentDisplayMode

public org.lwjgl.opengl.DisplayMode getCurrentDisplayMode(org.lwjgl.opengl.DisplayMode[] modes)
Gets the current display mode.

Parameters:
modes - the modes
Returns:
the current display mode

getCurrentDisplayModeIndex

public int getCurrentDisplayModeIndex(org.lwjgl.opengl.DisplayMode[] modes)
Gets the current display mode index.

Parameters:
modes - the modes
Returns:
the current display mode index

getFrequency

public int getFrequency()
Gets the frequency.

Returns:
the frequency

getFullScreen

public boolean getFullScreen()
Gets the full screen.

Returns:
the full screen

getHeight

public int getHeight()
Gets the height.

Returns:
the height

getMinimumAntiAliasSamples

public int getMinimumAntiAliasSamples()
Gets the minimum anti alias samples.

Returns:
the minimum anti alias samples

getName

public java.lang.String getName()
Description copied from interface: PreferencesItem
Gets the name.

Specified by:
getName in interface PreferencesItem
Returns:
the name

getShowSceneMonitor

public boolean getShowSceneMonitor()
Gets the show scene monitor.

Returns:
the show scene monitor

getThreeDee

public java.lang.String getThreeDee()
Gets the three dee.

Returns:
the three dee

getWidth

public int getWidth()
Gets the width.

Returns:
the width

setBitDepth

public void setBitDepth(int b)
Sets the bit depth.

Parameters:
b - the new bit depth

setFrequency

public void setFrequency(int f)
Sets the frequency.

Parameters:
f - the new frequency

setFullScreen

public void setFullScreen(boolean fs)
Sets the full screen.

Parameters:
fs - the new full screen

setHeight

public void setHeight(int h)
Sets the height.

Parameters:
h - the new height

setMinimumAntiAliasSamples

public void setMinimumAntiAliasSamples(int samples)
Sets the minimum anti alias samples.

Parameters:
samples - the new minimum anti alias samples

setShowSceneMonitor

public void setShowSceneMonitor(boolean enabled)
Sets the show scene monitor.

Parameters:
enabled - the new show scene monitor

setThreeDee

public void setThreeDee(java.lang.String s)
Sets the three dee.

Parameters:
s - the new three dee

setWidth

public void setWidth(int w)
Sets the width.

Parameters:
w - the new width