|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.ResultBase
The base class for all Result objects. A Result is the information that a civ receives during turn generation about certain events. Such events might include building of an item, research complete, or a space battle.
Field Summary | |
private DisplayReturn |
DR
The DisplayReturn that is displayed on the Results list. |
Constructor Summary | |
protected |
ResultBase()
This constructor will set the DisplayReturn to an empty string. |
protected |
ResultBase(DisplayReturn in_DR)
Constructor that takes a DisplayReturn used to display a message. |
Method Summary | |
DisplayReturn |
getDisplayReturn()
This returns the DisplayReturn object associated with this result. |
abstract void |
selected()
This abstract method is called when the result line is double clicked. |
protected void |
setDisplayReturn(DisplayReturn in_DR)
This method sets the DisplayReturn object for this result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private DisplayReturn DR
Constructor Detail |
protected ResultBase()
protected ResultBase(DisplayReturn in_DR)
in_DR
- The DisplayReturn object.Method Detail |
protected void setDisplayReturn(DisplayReturn in_DR)
in_DR
- The new DisplayReturn object.public DisplayReturn getDisplayReturn()
public abstract void selected()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |