|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.model.FreeColObject
net.sf.freecol.common.model.HistoryEvent
public class HistoryEvent
Nested Class Summary | |
---|---|
static class |
HistoryEvent.Type
|
Field Summary |
---|
Fields inherited from class net.sf.freecol.common.model.FreeColObject |
---|
ID_ATTRIBUTE_TAG |
Constructor Summary | |
---|---|
HistoryEvent()
|
|
HistoryEvent(int turn,
HistoryEvent.Type type,
java.lang.String... strings)
|
Method Summary | |
---|---|
java.lang.String[] |
getStrings()
Get the Strings value. |
int |
getTurn()
Get the int value. |
HistoryEvent.Type |
getType()
Get the Type value. |
static java.lang.String |
getXMLElementTagName()
Returns the tag name of the root element representing this object. |
void |
setStrings(java.lang.String[] newStrings)
Set the Strings value. |
void |
setTurn(int newInt)
Set the int value. |
void |
setType(HistoryEvent.Type newType)
Set the Type value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HistoryEvent()
public HistoryEvent(int turn, HistoryEvent.Type type, java.lang.String... strings)
Method Detail |
---|
public final int getTurn()
int
value.
int
valuepublic final void setTurn(int newInt)
int
value.
newInt
- The new int value.public final HistoryEvent.Type getType()
Type
value.
Type
valuepublic final void setType(HistoryEvent.Type newType)
Type
value.
newType
- The new Type value.public final java.lang.String[] getStrings()
Strings
value.
String[]
valuepublic final void setStrings(java.lang.String[] newStrings)
Strings
value.
newStrings
- The new Strings value.public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getXMLElementTagName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |