|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSummaryEntry
public class SummaryEntry
This class describes a single summary entry. A summary entry is a blank or unused tile and the feedback associated with that tile.
| Field Summary | |
|---|---|
(package private) static int |
BLANK
Blank tile type of SummaryEntry |
(package private) java.lang.String |
description
Reason for leaving out, or description if a BLANK entry type |
(package private) javax.swing.ImageIcon |
img
Image of blank tile in the entry |
(package private) static int |
LEFT_OUT
Left Out type of SummaryEntry |
(package private) int |
moveNum
Move number the blank tile was added at |
private static long |
serialVersionUID
|
(package private) int |
tileID
Tile ID of tile in the entry |
(package private) java.lang.String |
tileName
Name of the blank tile in the entry |
(package private) int |
type
Type of entry ( LEFT_OUT or BLANK) |
| Constructor Summary | |
|---|---|
SummaryEntry(int id,
java.lang.String desc)
This constructor is used for LEFT_OUT type entries. |
|
SummaryEntry(java.lang.String name,
java.lang.String desc,
int num,
javax.swing.ImageIcon ii)
This constructor is used for the BLANK type entries. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
static final int LEFT_OUT
static final int BLANK
int type
LEFT_OUT or BLANK)
int tileID
java.lang.String tileName
java.lang.String description
BLANK entry type
int moveNum
javax.swing.ImageIcon img
| Constructor Detail |
|---|
public SummaryEntry(int id,
java.lang.String desc)
LEFT_OUT type entries.
It sets the tile ID and the description.
id - Tile ID of the left out tiledesc - Reason the tile was left out.
public SummaryEntry(java.lang.String name,
java.lang.String desc,
int num,
javax.swing.ImageIcon ii)
BLANK type entries.
It sets the name, description, move number, and image.
name - Name of the blank tiledesc - Description of the blank tilenum - Move number the tile was added atii - ImageIcon of the blank tile
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||