Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
I
J
M
P
R
S
W
A
addGame(int, int, String, String)
- Method in class client.
InfoGamesPanel
Metoda pridava jeden radek (hru) do tabulky her.
B
Ball
- Class in
client
Trida reprezentujici micek ve hre Ping-pong.
Ball(Dimension)
- Constructor for class client.
Ball
Konstruktor tridy Ball.
Bat
- Class in
client
Trida reprezentujici palky ve hre Ping-pong.
Bat(Dimension, boolean)
- Constructor for class client.
Bat
Konstruktor tridy Bat.
C
changeCenterComponent(Component)
- Method in class client.
Window
Metoda pro zmenu prostredni komponenty.
client
- package client
closeComunication()
- Method in class client.
Comunication
Comunication
- Class in
client
Trida komunikace zajistuje vytvoreni komunikace pro odesilani a prijmani dat a uchovani informaci o serveru a klientovi potrebnych pro komunikaci.
Comunication(Window, String, int, String)
- Constructor for class client.
Comunication
Konstruktor tridy Comunication nastavuje komunikaci mezi klientem a serverem.
comunication
- Static variable in class client.
Main
ComunicationRecieve
- Class in
client
Trida pro prijmani zprav od serveru.
ComunicationRecieve(Comunication)
- Constructor for class client.
ComunicationRecieve
Konstruktor tridy ComunicationRecieve nastavuje potrebne parametry pro prijem dat.
ComunicationSend
- Class in
client
Trida pro odesilani zprav na serveru.
ComunicationSend(Comunication, String)
- Constructor for class client.
ComunicationSend
Konstruktor tridy ComunicationSend zahajuje komunikaci se serverem.
createDataModel()
- Method in class client.
InfoGamesPanel
Metoda vytvari datovy model pro tabulku her.
E
exitProgram()
- Static method in class client.
Main
Metoda pro ukonceni behu programu.
F
fill(Graphics2D)
- Method in class client.
Shape
G
GamePanel
- Class in
client
Trida reprezentujici hraci plochu hry Ping-pong.
GamePanel(Window)
- Constructor for class client.
GamePanel
Konstruktor tridy GamePanel.
getAddress()
- Method in class client.
Comunication
getComRec()
- Method in class client.
Comunication
getComSend()
- Method in class client.
Comunication
getComunication()
- Method in class client.
Window
getDs()
- Method in class client.
Comunication
getGamePanel()
- Method in class client.
Window
getIdSesion()
- Method in class client.
Comunication
getInfo()
- Method in class client.
Shape
getInfoGamesPanel()
- Method in class client.
Window
getLeftPlayerName()
- Method in class client.
GamePanel
getMainPort()
- Method in class client.
Comunication
getPlayerName()
- Method in class client.
Window
getPort()
- Method in class client.
Comunication
getPosition()
- Method in class client.
Shape
getRightPlayerName()
- Method in class client.
GamePanel
getServerConection()
- Method in class client.
Window
getServerInfo()
- Method in class client.
Window
getSize()
- Method in class client.
Shape
getWindow()
- Method in class client.
Comunication
getWindow()
- Method in class client.
GamePanel
I
InfoGamesPanel
- Class in
client
Trida zobrazujici informace o hrach na serveru a umoznuje zalozeni nebo pripojeni do hry.
InfoGamesPanel(Window)
- Constructor for class client.
InfoGamesPanel
Konstruktor tridy InfoGamePanel.
isLeft()
- Method in class client.
GamePanel
isRecived()
- Method in class client.
ComunicationRecieve
isServerConnected()
- Method in class client.
Comunication
isStart()
- Method in class client.
GamePanel
J
joinGame(int)
- Method in class client.
ComunicationSend
Metoda pro pripojeni do hry zalozene na serveru.
M
Main
- Class in
client
Hlavni trida programu Ping-pong.
Main()
- Constructor for class client.
Main
main(String[])
- Static method in class client.
Main
Hlavni metoda programu.
moveLeftBat(int)
- Method in class client.
GamePanel
moveRightBat(int)
- Method in class client.
GamePanel
P
paint(Graphics)
- Method in class client.
GamePanel
Metoda pro prekreslovani hraci plochy.
position
- Variable in class client.
Shape
R
refreshGames()
- Method in class client.
ComunicationSend
Metoda pro odeslani zadosti o znovuposlani informaci o hrach na serveru.
render()
- Method in class client.
GamePanel
Metoda pro rendrovani hraci plochy.
run()
- Method in class client.
ComunicationRecieve
Spusteni vlakna pro naslouchani na dane IP adrese.
S
sameName()
- Method in class client.
GamePanel
sendBallPosition(Point)
- Method in class client.
ComunicationSend
Metoda pro poslani souradnic micku.
sendBatPosition(boolean, int)
- Method in class client.
ComunicationSend
Metoda pro poslani souradnic palky.
sendConnected()
- Method in class client.
ComunicationSend
Metoda pro odeslani zpravy serveru, ze je klient pripojen.
sendOppName()
- Method in class client.
ComunicationSend
Zadost klienta serveru o znovuzaslani protivnikova jmena.
sendQuit()
- Method in class client.
ComunicationSend
Odeslani serveru, ze klient ukoncuje program/odpojuje se ze serveru.
sendScore(int, int)
- Method in class client.
ComunicationSend
Metoda pro poslani skore hry.
sendWin(char)
- Method in class client.
ComunicationSend
Odeslani informace o vitezstvi.
ServerConection
- Class in
client
Trida zobrazujici formular pro pripojeni klienta na server.
ServerConection(Window)
- Constructor for class client.
ServerConection
Konstruktor tridy ServerConection.
setBallPosition(int, int)
- Method in class client.
GamePanel
setComunication(Comunication)
- Method in class client.
Window
setCountBallPosition(boolean)
- Method in class client.
GamePanel
setGamePanel(GamePanel)
- Method in class client.
Window
setIdSesion(int)
- Method in class client.
Comunication
setInfoGamesPanel(InfoGamesPanel)
- Method in class client.
Window
setLeftPlayerName(String)
- Method in class client.
GamePanel
setPlayerName(String)
- Method in class client.
Window
setPort(int)
- Method in class client.
Comunication
setPosition(Point)
- Method in class client.
Ball
Nastaveni pozice micku.
setPosition(Point)
- Method in class client.
Bat
Nastaveni pozice palky.
setPosition(Point)
- Method in class client.
Shape
setRecived(boolean)
- Method in class client.
ComunicationRecieve
setRightPlayerName(String)
- Method in class client.
GamePanel
setScore(int, int)
- Method in class client.
GamePanel
setServerConnected(boolean)
- Method in class client.
Comunication
setServerInfo(String)
- Method in class client.
Window
setSide(char)
- Method in class client.
GamePanel
setStart(boolean)
- Method in class client.
GamePanel
Shape
- Class in
client
Trida reprezentujici tvar palek a micku ve hre Ping-pong.
Shape()
- Constructor for class client.
Shape
shape
- Variable in class client.
Shape
size
- Variable in class client.
Shape
startConnection()
- Method in class client.
ComunicationSend
Metoda pro odeslani zadosti o pripojeni k serveru.
startNewGame(int, char)
- Method in class client.
ComunicationSend
Metoda pro spusteni nove hry na serveru.
W
Window
- Class in
client
Trida reprezentujici hlavni okno programu.
Window()
- Constructor for class client.
Window
Konstruktor hlavniho okna.
A
B
C
E
F
G
I
J
M
P
R
S
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes