VASSAL.configure
Class AutoConfigurer
java.lang.Object
|
+--VASSAL.configure.Configurer
|
+--VASSAL.configure.AutoConfigurer
- All Implemented Interfaces:
- java.util.EventListener, java.beans.PropertyChangeListener
- public class AutoConfigurer
- extends Configurer
- implements java.beans.PropertyChangeListener
A Configurer for configuring Configurable components
(Is that as redundant as it sounds?)
Automatically builds a property editor with controls for setting all
of the attributes of the target Configurable component
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoConfigurer
public AutoConfigurer(AutoConfigurable c)
reset
public void reset()
getValueString
public java.lang.String getValueString()
- Overrides:
getValueString in class Configurer
- Following copied from class:
VASSAL.configure.Configurer
- Returns:
- a String representation of the Object value
setValue
public void setValue(java.lang.String s)
- Description copied from class:
Configurer
- Set the Object value from a String
- Overrides:
setValue in class Configurer
getControls
public java.awt.Component getControls()
- Description copied from class:
Configurer
- GUI interface for setting the option in an editing window
- Overrides:
getControls in class Configurer
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
setVisibility
public void setVisibility(java.lang.String attribute,
VisibilityCondition c)
checkVisibility
protected void checkVisibility()
getConfigurer
public Configurer getConfigurer(java.lang.String attribute)