net.sf.freecol.client.gui.action
Class ImprovementActionType
java.lang.Object
net.sf.freecol.common.model.FreeColObject
net.sf.freecol.common.model.FreeColGameObjectType
net.sf.freecol.client.gui.action.ImprovementActionType
public final class ImprovementActionType
- extends FreeColGameObjectType
A storage class for ImprovementActionType used to create ImprovementActions.
Filled by Specification.java, utilized by ActionManager.java
| Methods inherited from class net.sf.freecol.common.model.FreeColGameObjectType |
addAbility, addModifier, getFeatureContainer, getIndex, getModifierSet, hasAbility, hasAbility, readAttributes, readChild, readChildren, setFeatureContainer, setIndex, toString, toXMLImpl |
| Methods inherited from class net.sf.freecol.common.model.FreeColObject |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAttribute, getAttribute, getAttribute, getAttribute, getId, getPropertyChangeListeners, getPropertyChangeListeners, getXMLElementTagName, hasAttribute, hasListeners, readAttributes, readChildren, readFromArrayElement, readFromArrayElement, readFromArrayElement, readFromListElement, readFromXML, readFromXMLElement, readFromXMLPartialImpl, removePropertyChangeListener, removePropertyChangeListener, setId, toArrayElement, toArrayElement, toListElement, toXML, toXML, toXML, toXMLElement, toXMLElement, toXMLElement, toXMLElement, toXMLElementPartial, toXMLPartialImpl, writeAttribute, writeAttributes, writeChildren, writeFreeColGameObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
accelerator
private char accelerator
names
private final java.util.List<java.lang.String> names
impTypes
private final java.util.List<TileImprovementType> impTypes
imageIDs
private final java.util.List<java.lang.String> imageIDs
ImprovementActionType
public ImprovementActionType()
getAccelerator
public char getAccelerator()
getNames
public java.util.List<java.lang.String> getNames()
getImpTypes
public java.util.List<TileImprovementType> getImpTypes()
getImageIDs
public java.util.List<java.lang.String> getImageIDs()
readFromXMLImpl
protected void readFromXMLImpl(javax.xml.stream.XMLStreamReader in)
throws javax.xml.stream.XMLStreamException
- Description copied from class:
FreeColObject
- Initialize this object from an XML-representation of this object.
- Overrides:
readFromXMLImpl in class FreeColGameObjectType
- Parameters:
in - The input stream with the XML.
- Throws:
javax.xml.stream.XMLStreamException - if a problem was encountered
during parsing.
readFromXML
public void readFromXML(javax.xml.stream.XMLStreamReader in,
Specification specification)
throws javax.xml.stream.XMLStreamException
- Overrides:
readFromXML in class FreeColGameObjectType
- Throws:
javax.xml.stream.XMLStreamException