Serialized Form


Package org.game.Juzzle

Class org.game.Juzzle.ControlPanel implements Serializable

Serialized Fields

imagePanel

javax.swing.JLabel imagePanel
image label

piecesLabel

javax.swing.JLabel piecesLabel
all pieces label

solvedLabel

javax.swing.JLabel solvedLabel
solved pieces label

timeLabel

javax.swing.JLabel timeLabel
time label

gameTime

int gameTime
counter for time

gameTimeCounter

javax.swing.Timer gameTimeCounter
timer for the game time. It is a thread.

sec

int sec
help variables for time calculation.

min

int min
help variables for time calculation.

hour

int hour
help variables for time calculation.

time

int time
help variables for time calculation.

ssec

java.lang.String ssec
help variables for time calculation.

smin

java.lang.String smin
help variables for time calculation.

Class org.game.Juzzle.JuzzlePanel implements Serializable

Serialized Fields

pzp_jsp

javax.swing.JScrollPane pzp_jsp
reference to the ScrollPanel of the PuzzlePanel

pzp

PuzzlePanel pzp
reference to the PuzzlePanel

controlFrame

javax.swing.JInternalFrame controlFrame
reference to the Frame of the ControlPanel

controlPanel

ControlPanel controlPanel
reference to the ControlPanel

startDialog

StartDialog startDialog
reference to the StartDialog

menuListener

JuzzlePanel.MenuListener menuListener
reference to the callback function for the menu

jfc

javax.swing.JFileChooser jfc
reference to file chooser to load user images

Class org.game.Juzzle.MainFrame implements Serializable

Serialized Fields

juzzlePanel

JuzzlePanel juzzlePanel
the main and only panel in this frame
See Also:
JuzzlePanel

Class org.game.Juzzle.PuzzlePanel implements Serializable

Serialized Fields

bimage

java.awt.image.BufferedImage bimage
reference to the image

x_parts

int x_parts
x division

y_parts

int y_parts
y division

controlPanel

ControlPanel controlPanel
reference to the ControlPanel to set sthe solved pieces count
See Also:
ControlPanel

dragModus1

boolean dragModus1
drag modus 1 mean that the user clicks the mouse button and then move the piece and clicks again to release.


drag modus 2 mean that the user press the mouse button and then drag the piece and release the button.



dragModus2

boolean dragModus2
drag modus 1 mean that the user clicks the mouse button and then move the piece and clicks again to release.


drag modus 2 mean that the user press the mouse button and then drag the piece and release the button.



lastDragLocation

java.awt.Point lastDragLocation
last drag location for difference calculation

repaintRect1

java.awt.Rectangle repaintRect1
source rect to repaint

repaintRect2

java.awt.Rectangle repaintRect2
target rect to repaint

endMessagePrinted

boolean endMessagePrinted
needed to show only one time per game the win message

puzzlePartList

IPuzzlePartList puzzlePartList
reference to the pieces list model
See Also:
IPuzzlePartList

antialiasing

boolean antialiasing
antialiasing on/off

outline

boolean outline
outline on/off

shadow

boolean shadow
shadow on/off