A B C D E F G H I J L M N O P R S T U V W X Y

A

ABOUT_TEXT - Static variable in class org.game.Juzzle.JuzzlePanel
text as HTML for the about dialog
accept(File) - Method in class org.game.Juzzle.JuzzlePanel.ImageFileFilter
every directory and files with endings *.jpg, *.jpeg, *.gif are accepted
actionPerformed(ActionEvent) - Method in class org.game.Juzzle.JuzzlePanel.MenuListener
 
actionPerformed(ActionEvent) - Method in class org.game.Juzzle.ControlPanel.TimeCounterListener
 
addToImageList(ImageDescription) - Method in class org.game.Juzzle.StartDialog
add new images to list
antialiasing - Variable in class org.game.Juzzle.PuzzlePanel
antialiasing on/off

B

bimage - Variable in class org.game.Juzzle.PuzzlePanel
reference to the image
bimage - Variable in class org.game.Juzzle.PuzzlePaint
the reference to the whole image
bimage - Variable in class org.game.Juzzle.PuzzlePartList
reference to the current game image
boundsImage - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
image bounds
boundsIn - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
inner bounds
boundsOut - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
outer bounds

C

componentResized(ComponentEvent) - Method in class org.game.Juzzle.JuzzlePanel.JuzzlePanelResizer
 
componentShown(ComponentEvent) - Method in class org.game.Juzzle.JuzzlePanel.JuzzlePanelResizer
 
controlFrame - Variable in class org.game.Juzzle.JuzzlePanel
reference to the Frame of the ControlPanel
controlPanel - Variable in class org.game.Juzzle.PuzzlePanel
reference to the ControlPanel to set sthe solved pieces count
controlPanel - Variable in class org.game.Juzzle.JuzzlePanel
reference to the ControlPanel
ControlPanel - class org.game.Juzzle.ControlPanel.
ControlPanel is the tool window in the main frame that contain the menu, the scaled image and the time panel
ControlPanel.TimeCounterListener - class org.game.Juzzle.ControlPanel.TimeCounterListener.
callback function for Timer.
ControlPanel.TimeCounterListener(ControlPanel) - Constructor for class org.game.Juzzle.ControlPanel.TimeCounterListener
 
ControlPanel() - Constructor for class org.game.Juzzle.ControlPanel
simply constructor
createContext(ColorModel, Rectangle, Rectangle2D, AffineTransform, RenderingHints) - Method in class org.game.Juzzle.PuzzlePaint
get the PaintContext of this Paint
createLabel(String, int) - Method in class org.game.Juzzle.ControlPanel
help function.
createMenuItem(String, String) - Method in class org.game.Juzzle.JuzzlePanel
help function.
createMenuItem2(String, boolean) - Method in class org.game.Juzzle.JuzzlePanel
help function.
CURSOR_DEFAULT - Static variable in class org.game.Juzzle.PuzzlePanel
cursor normal
CURSOR_HAND - Static variable in class org.game.Juzzle.PuzzlePanel
cursor while dragging

D

deselectPart() - Method in class org.game.Juzzle.DummyPuzzlePartList
deselect the selected part if one selected
deselectPart() - Method in class org.game.Juzzle.PuzzlePartList
deselect the selected part if one selected
deselectPart() - Method in interface org.game.Juzzle.IPuzzlePartList
deselect the selected part if one selected
dispose() - Method in class org.game.Juzzle.PuzzlePaint
destroy the Paint, not needed in Juzzle
dragGroup - Variable in class org.game.Juzzle.PuzzlePartList
selected group to drag. dragPart is a member of this group
dragModus1 - Variable in class org.game.Juzzle.PuzzlePanel
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 - Variable in class org.game.Juzzle.PuzzlePanel
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.


dragPart - Variable in class org.game.Juzzle.PuzzlePartList
selected part to drag.
DummyPuzzlePartList - class org.game.Juzzle.DummyPuzzlePartList.
this class is used to write this code in the PuzzlePanel if no game is set:

partModel.doAnythingWithPart();

instead of:

if(part !
DummyPuzzlePartList() - Constructor for class org.game.Juzzle.DummyPuzzlePartList
simply constructor.

E

east - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
reference to the neighbourhood
EAST - Static variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
for locking if two pieces pass together
emptyGame() - Method in class org.game.Juzzle.PuzzlePanel
clear all variables
endMessagePrinted - Variable in class org.game.Juzzle.PuzzlePanel
needed to show only one time per game the win message

F

first - Variable in class org.game.Juzzle.PuzzlePartList
anchor for first and last part of list

G

gameTime - Variable in class org.game.Juzzle.ControlPanel
counter for time
gameTimeCounter - Variable in class org.game.Juzzle.ControlPanel
timer for the game time.
generalPath - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
geometricaly shape
getColorModel() - Method in class org.game.Juzzle.PuzzlePaint
the ColorModel of this Paint, it's the same the puzzle image
getDescription() - Method in class org.game.Juzzle.JuzzlePanel.ImageFileFilter
return the string to display it in the file chooser dialog
getFirstNode() - Method in class org.game.Juzzle.DummyPuzzlePartList
return the first node
getFirstNode() - Method in class org.game.Juzzle.PuzzlePartList
return the first node
getFirstNode() - Method in interface org.game.Juzzle.IPuzzlePartList
return the first node
getGameTime() - Method in class org.game.Juzzle.ControlPanel
convert the millisecond time into a string
getIcon(String) - Static method in class org.game.Juzzle.images.JuzzleImages
load a image as ImageIcon
getImages() - Static method in class org.game.Juzzle.images.JuzzleImages
load all game images.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class org.game.Juzzle.StartDialog.ImageListRenderer
set image and set text, set borders and background colors and return the main panel
getPartArray() - Method in class org.game.Juzzle.DummyPuzzlePartList
get the array with all parts, the array is never changing for a game, only the list is changing
getPartArray() - Method in class org.game.Juzzle.PuzzlePartList
get the array with all parts, the array is never changing for a game, only the list is changing
getPartArray() - Method in interface org.game.Juzzle.IPuzzlePartList
get the array with all parts, the array is never changing for a game, only the list is changing
getPartsCount() - Method in class org.game.Juzzle.DummyPuzzlePartList
return the puzzle part count
getPartsCount() - Method in class org.game.Juzzle.PuzzlePartList
return the puzzle part count
getPartsCount() - Method in interface org.game.Juzzle.IPuzzlePartList
return the puzzle part count
getRaster(int, int, int, int) - Method in class org.game.Juzzle.PuzzlePaint
return the part of the image to draw
getSelectedDivision() - Method in class org.game.Juzzle.StartDialog
after the dialog is closed return deivision of the image, it is always x > 1 and y > 1
getSelectedImage() - Method in class org.game.Juzzle.StartDialog
after the dialog is closed return the selected image
getSolvedPartsCount() - Method in class org.game.Juzzle.DummyPuzzlePartList
return the solved puzzle part count
getSolvedPartsCount() - Method in class org.game.Juzzle.PuzzlePartList
return the solved puzzle part count
getSolvedPartsCount() - Method in interface org.game.Juzzle.IPuzzlePartList
return the solved puzzle part count
getTransparency() - Method in class org.game.Juzzle.PuzzlePaint
has this Paint transparent parts or not

H

hour - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.

I

image - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
for image itself (scaled version)
ImageDescription - class org.game.Juzzle.ImageDescription.
this class contains the image, the scaled version of this image and the name for the image
ImageDescription(ImageIcon, ImageIcon, String) - Constructor for class org.game.Juzzle.ImageDescription
simply constructor
imageHeight - Variable in class org.game.Juzzle.PuzzlePartList
current game image height
imageIcon - Variable in class org.game.Juzzle.ImageDescription
the image itself
imageIcon_scaled - Variable in class org.game.Juzzle.ImageDescription
the scaled image
imagePanel - Variable in class org.game.Juzzle.ControlPanel
image label
imageSize - Static variable in class org.game.Juzzle.ControlPanel
the maximal image side length to fit it into the image label
imagesList - Variable in class org.game.Juzzle.StartDialog
array with ImageDescription's, from JuzzleImages
imageWidth - Variable in class org.game.Juzzle.PuzzlePartList
current game image width
IPuzzlePartList - interface org.game.Juzzle.IPuzzlePartList.
this model is using to realise the DummyPuzzlePartList to create a game with no function.
isSelectedPart(PuzzlePartList.PuzzlePart) - Method in class org.game.Juzzle.DummyPuzzlePartList
is the part the selected part or not
isSelectedPart(PuzzlePartList.PuzzlePart) - Method in class org.game.Juzzle.PuzzlePartList
is the part the selected part or not
isSelectedPart(PuzzlePartList.PuzzlePart) - Method in interface org.game.Juzzle.IPuzzlePartList
is the part the selected part or not

J

jfc - Variable in class org.game.Juzzle.JuzzlePanel
reference to file chooser to load user images
jpanel - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
panel for image and text panels
JuzzleImages - class org.game.Juzzle.images.JuzzleImages.
static class for loading of the images
JuzzleImages() - Constructor for class org.game.Juzzle.images.JuzzleImages
 
juzzlePanel - Variable in class org.game.Juzzle.MainFrame
the main and only panel in this frame
JuzzlePanel - class org.game.Juzzle.JuzzlePanel.
the main panel for Juzzle, it containt the ControlPanel and the PuzzlePanel
JuzzlePanel.ImageFileFilter - class org.game.Juzzle.JuzzlePanel.ImageFileFilter.
file filter for image loading.
JuzzlePanel.ImageFileFilter(JuzzlePanel) - Constructor for class org.game.Juzzle.JuzzlePanel.ImageFileFilter
 
JuzzlePanel.JuzzlePanelResizer - class org.game.Juzzle.JuzzlePanel.JuzzlePanelResizer.
needed to resize the puzzle panel scroller, because the layout for the JDesktopPane is null.
JuzzlePanel.JuzzlePanelResizer(JuzzlePanel) - Constructor for class org.game.Juzzle.JuzzlePanel.JuzzlePanelResizer
 
JuzzlePanel.MenuListener - class org.game.Juzzle.JuzzlePanel.MenuListener.
callback function for the menu items
JuzzlePanel.MenuListener(JuzzlePanel) - Constructor for class org.game.Juzzle.JuzzlePanel.MenuListener
 
JuzzlePanel() - Constructor for class org.game.Juzzle.JuzzlePanel
simply constructor

L

last - Variable in class org.game.Juzzle.PuzzlePartList
anchor for first and last part of list
lastDragLocation - Variable in class org.game.Juzzle.PuzzlePanel
last drag location for difference calculation
list - Variable in class org.game.Juzzle.StartDialog
the list with images
loadImage(String) - Static method in class org.game.Juzzle.images.JuzzleImages
load a game image
loadImageForGame() - Method in class org.game.Juzzle.JuzzlePanel
load the use image and add it to the StartDialog list
locationIn - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
location of inner bounds
locationOut - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
location of outer bounds
lock - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
if locked to WEST, EAST, NORTH, SOUTH or not

M

main - class org.game.Juzzle.main.
Main class for start as application.
main() - Constructor for class org.game.Juzzle.main
 
main(String[]) - Static method in class org.game.Juzzle.main
static main function.
MainFrame - class org.game.Juzzle.MainFrame.
Frame class for the Juzzle.
MainFrame() - Constructor for class org.game.Juzzle.MainFrame
Main constructor for MainFrame.
menuListener - Variable in class org.game.Juzzle.JuzzlePanel
reference to the callback function for the menu
min - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.
mouseClicked(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseListener
mouseDragged(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseMotionListener
mouseEntered(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseListener, not used
mouseExited(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseListener, not used
mouseMoved(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseMotionListener
mousePressed(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseListener
mouseReleased(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
from MouseListener
moveLocation(int, int) - Method in class org.game.Juzzle.DummyPuzzlePartList
move the selected part
moveLocation(int, int) - Method in class org.game.Juzzle.PuzzlePartList
move the selected part
moveLocation(int, int) - Method in interface org.game.Juzzle.IPuzzlePartList
move the selected part
moveLocationGroup(PuzzlePartList.PuzzlePart, int, int) - Method in class org.game.Juzzle.PuzzlePartList
move the selected group

N

name - Variable in class org.game.Juzzle.ImageDescription
the name of the image
next - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
next for the group (horizontal linking)
nextInGroup - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
next in group (vertical linking)
normBorder - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
normal border of panel
normColor - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
normal background color of panel
north - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
reference to the neighbourhood
NORTH - Static variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
for locking if two pieces pass together

O

org.game.Juzzle - package org.game.Juzzle
 
org.game.Juzzle.images - package org.game.Juzzle.images
 
outline - Variable in class org.game.Juzzle.PuzzlePanel
outline on/off
outlineColor - Static variable in class org.game.Juzzle.PuzzlePanel
outline color

P

PAINT_EXTEND - Static variable in class org.game.Juzzle.PuzzlePanel
thicknes of the outline for the piece for repaint rect
PAINT_SHADOW - Static variable in class org.game.Juzzle.PuzzlePanel
thicknes of the shadow while dragging and for repaint rect
paintComponent(Graphics) - Method in class org.game.Juzzle.PuzzlePanel
overwrite paintComponent to paint the pieces
panel - Variable in class org.game.Juzzle.StartDialog
the panel that contains the list and the divide text fields
piecesLabel - Variable in class org.game.Juzzle.ControlPanel
all pieces label
prev - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
prev for the group (horizontal linking)
prevInGroup - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
prev in group (vertical linking)
printPieces(String) - Method in class org.game.Juzzle.ControlPanel
set the text for all pieces label
printSolved(String) - Method in class org.game.Juzzle.ControlPanel
set the text for solved pieces label
printTime(String) - Method in class org.game.Juzzle.ControlPanel
set the text for time label
puzzleCount - Variable in class org.game.Juzzle.PuzzlePartList
solved parts
puzzlePaint - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
paint for this piece
PuzzlePaint - class org.game.Juzzle.PuzzlePaint.
puzzle paint return the part of the whole image to draw.
PuzzlePaint(BufferedImage, Rectangle) - Constructor for class org.game.Juzzle.PuzzlePaint
simply constructor.
PuzzlePanel - class org.game.Juzzle.PuzzlePanel.
this panel paints the pieces of the puzzle
PuzzlePanel(ControlPanel) - Constructor for class org.game.Juzzle.PuzzlePanel
simply constructor
puzzlePartList - Variable in class org.game.Juzzle.PuzzlePanel
reference to the pieces list model
PuzzlePartList - class org.game.Juzzle.PuzzlePartList.
PuzzlePartList create the pieces of the image and controls these
PuzzlePartList.PuzzlePart - class org.game.Juzzle.PuzzlePartList.PuzzlePart.
class for one piece
PuzzlePartList.PuzzlePart(BufferedImage, int, int, int, int, int, int) - Constructor for class org.game.Juzzle.PuzzlePartList.PuzzlePart
simply constructor
PuzzlePartList(BufferedImage, int, int, Dimension) - Constructor for class org.game.Juzzle.PuzzlePartList
simply constructor
pz_array - Variable in class org.game.Juzzle.PuzzlePartList
array of parts
pzp - Variable in class org.game.Juzzle.JuzzlePanel
reference to the PuzzlePanel
pzp_jsp - Variable in class org.game.Juzzle.JuzzlePanel
reference to the ScrollPanel of the PuzzlePanel

R

repaintRect1 - Variable in class org.game.Juzzle.PuzzlePanel
source rect to repaint
repaintRect2 - Variable in class org.game.Juzzle.PuzzlePanel
target rect to repaint
resetGame() - Method in class org.game.Juzzle.PuzzlePanel
reset the current game

S

scaleIcon(ImageIcon, int) - Static method in class org.game.Juzzle.images.JuzzleImages
scale the image to the scaled version
sec - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.
selBorder - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
selected border of panel
selColor - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
selected background color of panel
selectPart__(Point) - Method in class org.game.Juzzle.PuzzlePartList
another version only for part, don't used
selectPart(Point) - Method in class org.game.Juzzle.DummyPuzzlePartList
select part at the point
selectPart(Point) - Method in class org.game.Juzzle.PuzzlePartList
select part at the point
selectPart(Point) - Method in interface org.game.Juzzle.IPuzzlePartList
select part at the point
setAntialiasing(boolean) - Method in class org.game.Juzzle.PuzzlePanel
set antialiasing on/off
setGame(BufferedImage, int, int) - Method in class org.game.Juzzle.PuzzlePanel
set the new parameters to play the game
setImage(Image) - Method in class org.game.Juzzle.ControlPanel
set the current game image, create a scaled version and set it into the image label
setOutline(boolean) - Method in class org.game.Juzzle.PuzzlePanel
set outline on/off
setRedrawRect(Rectangle) - Method in class org.game.Juzzle.DummyPuzzlePartList
ask the model for the part that has changed and should be repainted
setRedrawRect(Rectangle) - Method in class org.game.Juzzle.PuzzlePartList
ask the model for the part that has changed and should be repainted
setRedrawRect(Rectangle) - Method in interface org.game.Juzzle.IPuzzlePartList
ask the model for the part that has changed and should be repainted
setShadow(boolean) - Method in class org.game.Juzzle.PuzzlePanel
set shadow on/off
setViewRect(Rectangle) - Method in class org.game.Juzzle.PuzzlePaint
set a new rectangle for this piece, needed if two pieces comes together
shadow - Variable in class org.game.Juzzle.PuzzlePanel
shadow on/off
shadowColor - Static variable in class org.game.Juzzle.PuzzlePanel
shadow color
shapeBounds - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
bounds of geometricaly shape
showDialog(Component) - Method in class org.game.Juzzle.StartDialog
create a modal dialog and show the panel
smin - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.
solvedLabel - Variable in class org.game.Juzzle.ControlPanel
solved pieces label
south - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
reference to the neighbourhood
SOUTH - Static variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
for locking if two pieces pass together
ssec - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.
startCounter() - Method in class org.game.Juzzle.ControlPanel
start the counter at game begin
startDialog - Variable in class org.game.Juzzle.JuzzlePanel
reference to the StartDialog
StartDialog - class org.game.Juzzle.StartDialog.
StartDialog shows a select dialog for the image choose.
StartDialog.ImageListRenderer - class org.game.Juzzle.StartDialog.ImageListRenderer.
this class renders the image with text line in the selection dialog
StartDialog.ImageListRenderer(StartDialog) - Constructor for class org.game.Juzzle.StartDialog.ImageListRenderer
simply constructor
StartDialog() - Constructor for class org.game.Juzzle.StartDialog
creates the panel only, but don't show it.
startDragging(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
if the user clicks one of the parts, start dragging
startGame() - Method in class org.game.Juzzle.JuzzlePanel
starts a new game and reset the system with new parameters
stopCounter() - Method in class org.game.Juzzle.ControlPanel
start the counter at game end
stopDragging(MouseEvent) - Method in class org.game.Juzzle.PuzzlePanel
the user put the piece on the desctop back

T

text - Variable in class org.game.Juzzle.StartDialog.ImageListRenderer
for image name
textBackground - Static variable in class org.game.Juzzle.ControlPanel
background color for time and solved labels
textForeground - Static variable in class org.game.Juzzle.ControlPanel
text color for time and solved labels
time - Variable in class org.game.Juzzle.ControlPanel
help variables for time calculation.
timeLabel - Variable in class org.game.Juzzle.ControlPanel
time label
toString() - Method in class org.game.Juzzle.ImageDescription
return the image name
toString() - Method in class org.game.Juzzle.PuzzlePartList.PuzzlePart
create a description of this part for debugging

U

updateGroup(PuzzlePartList.PuzzlePart, PuzzlePartList.PuzzlePart, PuzzlePartList.PuzzlePart) - Method in class org.game.Juzzle.PuzzlePartList
update the list and shape of group
updateLocationOut() - Method in class org.game.Juzzle.PuzzlePartList.PuzzlePart
update the outer location from inner
updatePart() - Method in class org.game.Juzzle.DummyPuzzlePartList
if the piece is releasing, test if it pass to another part and if true create a new part
updatePart() - Method in class org.game.Juzzle.PuzzlePartList
if the piece is releasing, test if it pass to another part and if true create a new part
updatePart() - Method in interface org.game.Juzzle.IPuzzlePartList
if the piece is releasing, test if it pass to another part and if true create a new part
userBounds - Variable in class org.game.Juzzle.PuzzlePaint
help variable
userImage - Static variable in class org.game.Juzzle.JuzzlePanel
counter for the user images.

V

version - Static variable in class org.game.Juzzle.JuzzlePanel
current verion of the program
viewRect - Variable in class org.game.Juzzle.PuzzlePaint
the part of the image rectangle

W

west - Variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
reference to the neighbourhood
WEST - Static variable in class org.game.Juzzle.PuzzlePartList.PuzzlePart
for locking if two pieces pass together

X

x_div - Variable in class org.game.Juzzle.StartDialog
value field for x division
x_parts - Variable in class org.game.Juzzle.PuzzlePanel
x division

Y

y_div - Variable in class org.game.Juzzle.StartDialog
value field for y division
y_parts - Variable in class org.game.Juzzle.PuzzlePanel
y division

A B C D E F G H I J L M N O P R S T U V W X Y