|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--VASSAL.build.AbstractBuildable
|
+--VASSAL.build.AbstractConfigurable
An abstract implementation of the Configurable interface. Takes care of most of the Configurable functionality
| Nested Class Summary |
| Nested classes inherited from class VASSAL.build.AutoConfigurable |
AutoConfigurable.Util |
| Field Summary | |
protected java.beans.PropertyChangeSupport |
changeSupport
|
protected Configurer |
config
|
protected java.lang.String |
name
|
| Fields inherited from class VASSAL.build.AbstractBuildable |
buildComponents |
| Fields inherited from interface VASSAL.build.Configurable |
NAME_PROPERTY |
| Constructor Summary | |
AbstractConfigurable()
|
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener. |
abstract java.lang.String[] |
getAttributeDescriptions()
Return an array of Strings describing the attributes of this object. |
abstract java.lang.Class[] |
getAttributeTypes()
Return the Class for the attributes of this object. |
VisibilityCondition |
getAttributeVisibility(java.lang.String name)
By default, all attributes are visible |
Configurable[] |
getConfigureComponents()
|
java.lang.String |
getConfigureName()
The name of this Configurable Object |
Configurer |
getConfigurer()
The default Configurer of an AbstractConfigurable class is an instance of AutoConfigurer |
void |
remove(Buildable b)
Remove a Buildable object from this object |
void |
setConfigureName(java.lang.String s)
Sets the name and fires a PropertyChangeEvent |
| Methods inherited from class VASSAL.build.AbstractBuildable |
add, build, getAttributeNames, getAttributeValueString, getBuildComponents, getBuildElement, getComponents, setAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface VASSAL.build.AutoConfigurable |
getAttributeNames, getAttributeValueString, setAttribute |
| Methods inherited from interface VASSAL.build.Configurable |
getAllowableConfigureComponents, getHelpFile, removeFrom |
| Methods inherited from interface VASSAL.build.Buildable |
add, addTo, build, getBuildElement |
| Field Detail |
protected java.beans.PropertyChangeSupport changeSupport
protected java.lang.String name
protected Configurer config
| Constructor Detail |
public AbstractConfigurable()
| Method Detail |
public void remove(Buildable b)
remove in interface Configurablepublic java.lang.String getConfigureName()
Configurable
getConfigureName in interface Configurablepublic void setConfigureName(java.lang.String s)
public abstract java.lang.String[] getAttributeDescriptions()
AbstractBuildable.getAttributeNames()
getAttributeDescriptions in interface AutoConfigurablepublic abstract java.lang.Class[] getAttributeTypes()
AbstractBuildable.getAttributeNames()
getAttributeTypes in interface AutoConfigurablepublic VisibilityCondition getAttributeVisibility(java.lang.String name)
getAttributeVisibility in interface AutoConfigurablename -
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
ConfigurableConfigurable.NAME_PROPERTY when the value returned from
Configurable.getConfigureName() has changed
addPropertyChangeListener in interface Configurablepublic Configurable[] getConfigureComponents()
getConfigureComponents in interface Configurablepublic Configurer getConfigurer()
Configurer of an AbstractConfigurable class is an instance of AutoConfigurer
getConfigurer in interface Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||