|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bluebones.boggle.ConnectionType
public class ConnectionType
Typesafe enum for connection types.
Field Summary | |
---|---|
static ConnectionType |
CLIENT
Connection type representing being the host of a game. |
static ConnectionType |
CONNECTING
Connection type representing connecting to another machine. |
static ConnectionType |
HOST
Connection type representing being the client in a game. |
static ConnectionType |
NONE
Connection type representing no connection. |
Method Summary | |
---|---|
int |
id()
Gets the id of this ConnectionType. |
ImageIcon |
image()
Gets the image that represents this ConnectionType. |
String |
toString()
Gets a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ConnectionType NONE
public static final ConnectionType CLIENT
public static final ConnectionType HOST
public static final ConnectionType CONNECTING
Method Detail |
---|
public int id()
public ImageIcon image()
public String toString()
String
representation of this object.
toString
in class Object
String
representation of this object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |