VASSAL.preferences
Class VisibilityOption

java.lang.Object
  |
  +--VASSAL.configure.Configurer
        |
        +--VASSAL.preferences.PositionOption
              |
              +--VASSAL.preferences.VisibilityOption
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener

public class VisibilityOption
extends PositionOption

A Preferences option controlling the visibility of a window


Fields inherited from class VASSAL.preferences.PositionOption
bounds, defaultValue, key, theFrame
 
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, name, NAME_PROPERTY, noUpdate, value
 
Constructor Summary
VisibilityOption(java.lang.String key, java.awt.Window f)
           
 
Method Summary
 void componentHidden(java.awt.event.ComponentEvent e)
           
 void componentShown(java.awt.event.ComponentEvent e)
           
 java.lang.String getValueString()
           
 void setValue(java.lang.String in)
          Set the Object value from a String
 
Methods inherited from class VASSAL.preferences.PositionOption
componentMoved, componentResized, getControls, getValue, setFrameBounds, setValue
 
Methods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, isFrozen, setFrozen, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisibilityOption

public VisibilityOption(java.lang.String key,
                        java.awt.Window f)
Method Detail

componentShown

public void componentShown(java.awt.event.ComponentEvent e)
Overrides:
componentShown in class PositionOption

componentHidden

public void componentHidden(java.awt.event.ComponentEvent e)
Overrides:
componentHidden in class PositionOption

setValue

public void setValue(java.lang.String in)
Description copied from class: Configurer
Set the Object value from a String
Overrides:
setValue in class PositionOption

getValueString

public java.lang.String getValueString()
Overrides:
getValueString in class PositionOption
Following copied from class: VASSAL.configure.Configurer
Returns:
a String representation of the Object value