net.sf.freecol.client.gui.action
Class ImprovementActionType

java.lang.Object
  extended by net.sf.freecol.common.model.FreeColObject
      extended by net.sf.freecol.common.model.FreeColGameObjectType
          extended by 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


Field Summary
private  char accelerator
           
private  java.util.List<java.lang.String> imageIDs
           
private  java.util.List<TileImprovementType> impTypes
           
private  java.util.List<java.lang.String> names
           
 
Fields inherited from class net.sf.freecol.common.model.FreeColGameObjectType
featureContainer
 
Fields inherited from class net.sf.freecol.common.model.FreeColObject
ARRAY_SIZE, ID_ATTRIBUTE, ID_ATTRIBUTE_TAG, logger, PARTIAL_ATTRIBUTE
 
Constructor Summary
ImprovementActionType()
           
 
Method Summary
 char getAccelerator()
           
 java.util.List<java.lang.String> getImageIDs()
           
 java.util.List<TileImprovementType> getImpTypes()
           
 java.util.List<java.lang.String> getNames()
           
 void readFromXML(javax.xml.stream.XMLStreamReader in, Specification specification)
           
protected  void readFromXMLImpl(javax.xml.stream.XMLStreamReader in)
          Initialize this object from an XML-representation of this object.
 
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
 

Field Detail

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
Constructor Detail

ImprovementActionType

public ImprovementActionType()
Method Detail

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