VASSAL.build
Interface Configurable
- All Superinterfaces:
- Buildable
- All Known Subinterfaces:
- AutoConfigurable
- All Known Implementing Classes:
- PlayerRoster, Map, TextSaver, BoardPicker, LOS_Thread
- public interface Configurable
- extends Buildable
An object that implements the Configurable interface can, in
addition to being built from a configuration XML file, be
manipulated by the user directly in the VASSAL module editor via
the Configuration window.
NAME_PROPERTY
public static final java.lang.String NAME_PROPERTY
removeFrom
public void removeFrom(Buildable parent)
- Remove this component from its parent
remove
public void remove(Buildable child)
- Remove a child component
getConfigureName
public java.lang.String getConfigureName()
- The name of this Configurable Object
getHelpFile
public HelpFile getHelpFile()
- Returns:
- a HelpFilte describing how to use and configure
this component
getConfigureComponents
public Configurable[] getConfigureComponents()
- Returns:
- an array of Configurer objects representing
the Configurable children of this Configurable object
getConfigurer
public Configurer getConfigurer()
- Return a
Configurer object which can be used to set the
attributes of this object
getAllowableConfigureComponents
public java.lang.Class[] getAllowableConfigureComponents()
- Return a list of valid sub-component Classes. If a Class
appears in this list, then instances of that class may be added
to this component from the Configuration Window.
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Add a PropertyChangeListener. A PropertyChangeEvent should be fired
with property name
NAME_PROPERTY when the value returned from
getConfigureName() has changed