Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
A
AbstractFrame
- class jtge.sample.chat.common.ui.
AbstractFrame
.
Abstracts frame behaviours.
AbstractFrame(String, IClosable)
- Constructor for class jtge.sample.chat.common.ui.
AbstractFrame
Create a frame.
AbstractOutputView
- class jtge.sample.chat.common.ui.
AbstractOutputView
.
Provides a base class for output views.
AbstractOutputView()
- Constructor for class jtge.sample.chat.common.ui.
AbstractOutputView
Create an abstract output view.
AbstractUserListView
- class jtge.sample.chat.common.ui.
AbstractUserListView
.
Provides a base class for user list views.
AbstractUserListView()
- Constructor for class jtge.sample.chat.common.ui.
AbstractUserListView
Create an abstract user list view.
add(IUser)
- Method in class jtge.sample.chat.common.ui.
AbstractUserListView
Add a user to the list.
C
Chat
- class jtge.sample.chat.
Chat
.
Bootstraps the application.
ClientFacade
- class jtge.sample.chat.client.core.
ClientFacade
.
Provides a client facade.
ClientFacade()
- Constructor for class jtge.sample.chat.client.core.
ClientFacade
Create a client.
ClientFrame
- class jtge.sample.chat.client.ui.
ClientFrame
.
Implements the client frame.
ClientFrame(String, IController)
- Constructor for class jtge.sample.chat.client.ui.
ClientFrame
Create a client frame.
Coin
- class jtge.sample.toss.
Coin
.
This class implements the toss-game strategy component.
Coin()
- Constructor for class jtge.sample.toss.
Coin
Create a new coin.
ControlView
- class jtge.sample.chat.client.ui.
ControlView
.
Implements a view for the client control panel.
ControlView(IController)
- Constructor for class jtge.sample.chat.client.ui.
ControlView
Create a control view.
ControlView
- class jtge.sample.chat.server.ui.
ControlView
.
Implements a control view.
ControlView(IController)
- Constructor for class jtge.sample.chat.server.ui.
ControlView
Create a control view.
Controller
- class jtge.sample.toss.
Controller
.
This class deals with the player input.
Controller(IConsumer)
- Constructor for class jtge.sample.toss.
Controller
Create a new controller.
clear()
- Method in class jtge.sample.chat.common.ui.
AbstractUserListView
Remove all users from the list.
close()
- Method in class jtge.sample.chat.client.core.
ClientFacade
close()
- Method in class jtge.sample.chat.server.core.
ServerFacade
closed()
- Method in class jtge.sample.chat.server.ui.
ControlView
closed()
- Method in class jtge.sample.chat.server.ui.
OutputView
connected()
- Method in class jtge.sample.chat.client.ui.
ControlView
connected()
- Method in class jtge.sample.chat.client.ui.
InputView
connected()
- Method in class jtge.sample.chat.client.ui.
OutputView
connected()
- Method in class jtge.sample.chat.client.ui.
UserListView
connected()
- Method in class jtge.sample.chat.server.ui.
OutputView
D
disconnected()
- Method in class jtge.sample.chat.client.ui.
ControlView
disconnected()
- Method in class jtge.sample.chat.client.ui.
InputView
disconnected()
- Method in class jtge.sample.chat.client.ui.
OutputView
disconnected()
- Method in class jtge.sample.chat.client.ui.
UserListView
disconnected()
- Method in class jtge.sample.chat.server.ui.
OutputView
display(String)
- Method in class jtge.sample.toss.
View
Display a result.
displayPosition(Point)
- Method in class jtge.sample.grid.
GridFrame
Display the position within the bottom text of the widget.
E
execute(IContext)
- Method in class jtge.sample.chat.common.core.command.
MessageOrder
execute(IContext)
- Method in class jtge.sample.chat.common.core.command.
MessageResult
execute(IContext)
- Method in class jtge.sample.toss.
Loss
execute(IContext)
- Method in class jtge.sample.toss.
Toss
execute(IContext)
- Method in class jtge.sample.toss.
Win
F
fromPixel(Point)
- Method in class jtge.sample.grid.
HexagonCanvas
Convert a point to a coordinate.
G
GridDemo
- class jtge.sample.grid.
GridDemo
.
Demonstrates the various hexagon grid types handled by jtge.
GridFrame
- class jtge.sample.grid.
GridFrame
.
Implements a frame to display a grid.
GridFrame(String, HexagonCanvas)
- Constructor for class jtge.sample.grid.
GridFrame
Create a frame for an hexagon canvas.
GridFrameMouseAdapter
- class jtge.sample.grid.
GridFrameMouseAdapter
.
Captures mouse events for a grid frame.
GridFrameMouseAdapter(GridFrame)
- Constructor for class jtge.sample.grid.
GridFrameMouseAdapter
Create a mouse adapter for a given grid frame.
H
HexagonCanvas
- class jtge.sample.grid.
HexagonCanvas
.
Displays a grid.
HexagonCanvas(IGrid, IHexagonBuilder, int)
- Constructor for class jtge.sample.grid.
HexagonCanvas
Create an hexagon canvas.
handle(ICommand)
- Method in class jtge.sample.toss.
Model
handleChoice(String)
- Method in class jtge.sample.toss.
Controller
Interprets the string command.
I
IController
- interface jtge.sample.chat.client.core.
IController
.
Defines a controller.
IController
- interface jtge.sample.chat.server.core.
IController
.
Defines a controller.
IMessageView
- interface jtge.sample.chat.common.core.
IMessageView
.
Defines a callback for receiving a message.
InputView
- class jtge.sample.chat.client.ui.
InputView
.
Implements a view for the text input panel.
InputView(IController)
- Constructor for class jtge.sample.chat.client.ui.
InputView
Create an input view.
install(JPanel, String, String)
- Method in class jtge.sample.chat.common.ui.
AbstractFrame
Add a panel to the frame.
J
jtge.sample.chat
- package jtge.sample.chat
Contains classes for the chat sample.
jtge.sample.chat.client.core
- package jtge.sample.chat.client.core
Contains client core classes.
jtge.sample.chat.client.ui
- package jtge.sample.chat.client.ui
Contains client graphical user interface classes.
jtge.sample.chat.common.core
- package jtge.sample.chat.common.core
Contains core classes common to client and server.
jtge.sample.chat.common.core.command
- package jtge.sample.chat.common.core.command
Regroups all commands exchanged between client and server sides.
jtge.sample.chat.common.ui
- package jtge.sample.chat.common.ui
Contains graphical user interface classes common to client and server.
jtge.sample.chat.server.core
- package jtge.sample.chat.server.core
Contains server core classes.
jtge.sample.chat.server.ui
- package jtge.sample.chat.server.ui
Contains server graphical user interface classes.
jtge.sample.grid
- package jtge.sample.grid
Contains classes for the grid application sample.
jtge.sample.toss
- package jtge.sample.toss
Contains classes for the toss game application sample.
L
Loss
- class jtge.sample.toss.
Loss
.
This class stands for a loss result.
Loss()
- Constructor for class jtge.sample.toss.
Loss
log(String)
- Method in class jtge.sample.chat.common.ui.
AbstractOutputView
Logs a message.
login(String)
- Method in class jtge.sample.chat.client.core.
ClientFacade
Log in with a given nickname.
login(String)
- Method in interface jtge.sample.chat.client.core.
IController
Log in with a given nickname.
login(IUser)
- Method in class jtge.sample.chat.client.ui.
UserListView
login(IUser)
- Method in class jtge.sample.chat.server.ui.
OutputView
login(IUser)
- Method in class jtge.sample.chat.server.ui.
UserListView
logout(IUser)
- Method in class jtge.sample.chat.client.ui.
UserListView
logout(IUser)
- Method in class jtge.sample.chat.server.ui.
OutputView
logout(IUser)
- Method in class jtge.sample.chat.server.ui.
UserListView
M
MessageOrder
- class jtge.sample.chat.common.core.command.
MessageOrder
.
Implements a message order.
MessageOrder(IUser, String)
- Constructor for class jtge.sample.chat.common.core.command.
MessageOrder
Create a message.
MessageResult
- class jtge.sample.chat.common.core.command.
MessageResult
.
Implements a message result.
MessageResult(IUser, String)
- Constructor for class jtge.sample.chat.common.core.command.
MessageResult
Create a message.
Model
- class jtge.sample.toss.
Model
.
This class encapsulates the model within a facade.
Model(IConsumer)
- Constructor for class jtge.sample.toss.
Model
Create a model.
main(String[])
- Static method in class jtge.sample.chat.
Chat
Program entry point.
main(String[])
- Static method in class jtge.sample.grid.
GridDemo
Entry point.
main(String[])
- Static method in class jtge.sample.toss.
TossGame
Entry point.
mouseExited(MouseEvent)
- Method in class jtge.sample.grid.
GridFrameMouseAdapter
mouseMoved(MouseEvent)
- Method in class jtge.sample.grid.
GridFrameMouseAdapter
O
OutputView
- class jtge.sample.chat.client.ui.
OutputView
.
Implements a view for the client output panel.
OutputView(IController)
- Constructor for class jtge.sample.chat.client.ui.
OutputView
Create an output view.
OutputView
- class jtge.sample.chat.server.ui.
OutputView
.
Implements a view for the server output panel.
OutputView(IController)
- Constructor for class jtge.sample.chat.server.ui.
OutputView
Create an output view.
open(String, int)
- Method in class jtge.sample.chat.client.core.
ClientFacade
open(int)
- Method in class jtge.sample.chat.server.core.
ServerFacade
opened()
- Method in class jtge.sample.chat.server.ui.
ControlView
opened()
- Method in class jtge.sample.chat.server.ui.
OutputView
P
paintComponent(Graphics)
- Method in class jtge.sample.grid.
HexagonCanvas
R
receive(IUser, String)
- Method in class jtge.sample.chat.client.ui.
OutputView
Handle a message reception.
receive(IUser, String)
- Method in interface jtge.sample.chat.common.core.
IMessageView
Handle a message reception.
receive(IUser, String)
- Method in class jtge.sample.chat.server.ui.
OutputView
Handle a message reception.
register(IStatusObserver)
- Method in class jtge.sample.chat.client.core.
ClientFacade
Register a view to receive connection events.
register(IMessageView)
- Method in class jtge.sample.chat.client.core.
ClientFacade
Register a view to receive message events.
register(ILoginView)
- Method in class jtge.sample.chat.client.core.
ClientFacade
Register a view to receive login events.
register(IStatusObserver)
- Method in interface jtge.sample.chat.client.core.
IController
Register a view to receive connection events.
register(ILoginView)
- Method in interface jtge.sample.chat.client.core.
IController
Register a view to receive login events.
register(IMessageView)
- Method in interface jtge.sample.chat.client.core.
IController
Register a view to receive message events.
register(IServerView)
- Method in interface jtge.sample.chat.server.core.
IController
Register a view to receive server events.
register(IStatusObserver)
- Method in interface jtge.sample.chat.server.core.
IController
Register a view to receive connection events.
register(ILoginView)
- Method in interface jtge.sample.chat.server.core.
IController
Register a view to receive login events.
register(IMessageView)
- Method in interface jtge.sample.chat.server.core.
IController
Register a view to receive message events.
register(IServerView)
- Method in class jtge.sample.chat.server.core.
ServerFacade
Register a view to receive server events.
register(IStatusObserver)
- Method in class jtge.sample.chat.server.core.
ServerFacade
Register a view to receive connection events.
register(ILoginView)
- Method in class jtge.sample.chat.server.core.
ServerFacade
Register a view to receive login events.
register(IMessageView)
- Method in class jtge.sample.chat.server.core.
ServerFacade
Register a view to receive message events.
remove(IUser)
- Method in class jtge.sample.chat.common.ui.
AbstractUserListView
Remove a user from the list.
resetPosition()
- Method in class jtge.sample.grid.
GridFrame
Empty any position written in the text label.
S
ServerFacade
- class jtge.sample.chat.server.core.
ServerFacade
.
Provides a server facade.
ServerFacade()
- Constructor for class jtge.sample.chat.server.core.
ServerFacade
Create a server.
ServerFrame
- class jtge.sample.chat.server.ui.
ServerFrame
.
Implements the server frame.
ServerFrame(String, IController)
- Constructor for class jtge.sample.chat.server.ui.
ServerFrame
Create a server frame.
select(Coordinate)
- Method in class jtge.sample.grid.
HexagonCanvas
Highlight the given coordinate.
send(String)
- Method in class jtge.sample.chat.client.core.
ClientFacade
Send a message to the server.
send(String)
- Method in interface jtge.sample.chat.client.core.
IController
Send a message to the server.
start()
- Method in class jtge.sample.toss.
View
Start the main loop.
T
Toss
- class jtge.sample.toss.
Toss
.
Toss order.
Toss()
- Constructor for class jtge.sample.toss.
Toss
TossGame
- class jtge.sample.toss.
TossGame
.
This class contains the toss game bootstrap.
toString()
- Method in class jtge.sample.toss.
Loss
toString()
- Method in class jtge.sample.toss.
Win
toss()
- Method in class jtge.sample.toss.
Coin
Toss a coin.
U
UserListView
- class jtge.sample.chat.client.ui.
UserListView
.
Implements a view for the connected users list panel.
UserListView(IController)
- Constructor for class jtge.sample.chat.client.ui.
UserListView
Create a user list view.
UserListView
- class jtge.sample.chat.server.ui.
UserListView
.
Implements a view for the connected users list panel.
UserListView(IController)
- Constructor for class jtge.sample.chat.server.ui.
UserListView
Create a user list view.
V
View
- class jtge.sample.toss.
View
.
This class handles the user interface.
View(Controller)
- Constructor for class jtge.sample.toss.
View
Create a view.
validate(IUser)
- Method in class jtge.sample.chat.common.core.command.
MessageOrder
W
Win
- class jtge.sample.toss.
Win
.
This class stands for a win result.
Win()
- Constructor for class jtge.sample.toss.
Win
A
C
D
E
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2005 . All Rights Reserved.