Subtrees hinzugefügt
6
Software/alg_oo_blackjack/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
6
Software/alg_oo_blackjack/01_BlackJack_Loes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*.sh
|
||||
*.class
|
||||
*.ctxt
|
||||
repo.adoc
|
||||
repo_subtree.adoc
|
||||
/alt
|
||||
67
Software/alg_oo_blackjack/01_BlackJack_Loes/BlackJack.uml
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
[Files]
|
||||
File0=BlackJackGUI.java
|
||||
File1=Karte.java
|
||||
File2=Kartenhand.java
|
||||
File3=KartenPanel.java
|
||||
File4=Spieler.java
|
||||
File5=Spielleitung.java
|
||||
|
||||
[Box: - BlackJackGUI]
|
||||
X=68
|
||||
Y=52
|
||||
MinVis=4
|
||||
|
||||
[Box: - Karte]
|
||||
X=684
|
||||
Y=603
|
||||
MinVis=0
|
||||
|
||||
[Box: - Kartenhand]
|
||||
X=387
|
||||
Y=562
|
||||
MinVis=0
|
||||
|
||||
[Box: - KartenPanel]
|
||||
X=420
|
||||
Y=9
|
||||
MinVis=0
|
||||
|
||||
[Box: - Spieler]
|
||||
X=390
|
||||
Y=232
|
||||
MinVis=0
|
||||
|
||||
[Box: - Spielleitung]
|
||||
X=49
|
||||
Y=257
|
||||
MinVis=0
|
||||
|
||||
[Diagram]
|
||||
OffsetX=0
|
||||
OffsetY=0
|
||||
ShowAssoc=1
|
||||
Visibility=4
|
||||
ShowParameter=2
|
||||
SortOrder=0
|
||||
ShowIcons=0
|
||||
Fontname=MS Sans Serif
|
||||
Fontsize=10
|
||||
|
||||
[Connections]
|
||||
V0=BlackJackGUI#Spielleitung#Aggregation#1##1#0#0#
|
||||
V1=BlackJackGUI#KartenPanel#Aggregation#1##n#0#0#
|
||||
V2=Kartenhand#Karte#AssociationDirected#1##n#0#0#
|
||||
V3=KartenPanel#Spieler#AssociationDirected#1##1#0#0#
|
||||
V4=Spieler#Spielleitung#AssociationBidirectional#n##1#0#0#
|
||||
V5=Spieler#Kartenhand#Aggregation#1##1#0#0#
|
||||
V6=Spielleitung#Kartenhand#Aggregation#1##1#0#0#
|
||||
|
||||
[Interactive]
|
||||
I0=
|
||||
|
||||
[Window]
|
||||
Left=125
|
||||
Top=125
|
||||
Width=1720
|
||||
Height=467
|
||||
|
||||
631
Software/alg_oo_blackjack/01_BlackJack_Loes/BlackJackGUI.java
Normal file
|
|
@ -0,0 +1,631 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.event.*;
|
||||
|
||||
/**
|
||||
* GUI fuer das Kartenspiel BlackJack
|
||||
* Die GUI ist fuer vier Spieler realisiert. Jeder Spieler kann einen Betrag setzen.
|
||||
* Daraufhin erhuelt er zwei Karten. Er kann weitere Karten ziehen oder aufhueren.
|
||||
* Wenn alle Spieler fertig sind, bekommt der Dealer seine Karten und der
|
||||
* Gewinn wird ermittelt.
|
||||
*
|
||||
* @version 1.0 vom 20.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class BlackJackGUI extends JFrame {
|
||||
// Anfang Attribute
|
||||
|
||||
private Spielleitung spielleitung; // Referenz auf den Spielleiter
|
||||
|
||||
private JPanel jPSpieler1 = new JPanel(null, true);
|
||||
private JLabel jLabel1 = new JLabel();
|
||||
private JLabel jLabel2 = new JLabel();
|
||||
private JNumberField jNFSpieler1Guthaben = new JNumberField();
|
||||
private JLabel jLabel3 = new JLabel();
|
||||
private JNumberField jNFSpieler1Einsatz = new JNumberField();
|
||||
private JButton jBSpieler1Setzen = new JButton();
|
||||
private KartenPanel kartenPanel1 = new KartenPanel();
|
||||
private JButton jBSpieler1Ziehe = new JButton();
|
||||
private JButton jBSpieler1Beende = new JButton();
|
||||
private JLabel jLSpieler1Punkte = new JLabel();
|
||||
private JPanel jPSpieler2 = new JPanel(null, true);
|
||||
private JLabel jLabel21 = new JLabel();
|
||||
private JNumberField jNFSpieler2Guthaben = new JNumberField();
|
||||
private JLabel jLabel31 = new JLabel();
|
||||
private JNumberField jNFSpieler2Einsatz = new JNumberField();
|
||||
private JButton jBSpieler2Setzen = new JButton();
|
||||
private JLabel jLabel11 = new JLabel();
|
||||
private KartenPanel kartenPanel2 = new KartenPanel();
|
||||
private JLabel jLSpieler2Punkte = new JLabel();
|
||||
private JButton jBSpieler2Ziehe = new JButton();
|
||||
private JButton jBSpieler2Beende = new JButton();
|
||||
private JLabel jLMeldung = new JLabel();
|
||||
private KartenPanel kartenPanelCroupier = new KartenPanel();
|
||||
private JButton jBAuswerten = new JButton();
|
||||
private JButton jBNeu = new JButton();
|
||||
private JPanel jPSpieler3 = new JPanel(null, true);
|
||||
private JLabel jLabel211 = new JLabel();
|
||||
private JNumberField jNFSpieler3Guthaben = new JNumberField();
|
||||
private JLabel jLabel311 = new JLabel();
|
||||
private JNumberField jNFSpieler3Einsatz = new JNumberField();
|
||||
private JButton jBSpieler3Setzen = new JButton();
|
||||
private JLabel jLabel111 = new JLabel();
|
||||
private KartenPanel kartenPanel3 = new KartenPanel();
|
||||
private JLabel jLSpieler3Punkte = new JLabel();
|
||||
private JButton jBSpieler3Ziehe = new JButton();
|
||||
private JButton jBSpieler3Beende = new JButton();
|
||||
private JPanel jPSpieler4 = new JPanel(null, true);
|
||||
private JLabel jLabel212 = new JLabel();
|
||||
private JNumberField jNFSpieler4Guthaben = new JNumberField();
|
||||
private JLabel jLabel312 = new JLabel();
|
||||
private JNumberField jNFSpieler4Einsatz = new JNumberField();
|
||||
private JButton jBSpieler4Setzen = new JButton();
|
||||
private JLabel jLabel112 = new JLabel();
|
||||
private KartenPanel kartenPanel4 = new KartenPanel();
|
||||
private JLabel jLSpieler4Punkte = new JLabel();
|
||||
private JButton jBSpieler4Ziehe = new JButton();
|
||||
private JButton jBSpieler4Beende = new JButton();
|
||||
private JButton jBStart = new JButton();
|
||||
// Ende Attribute
|
||||
|
||||
public BlackJackGUI(String title) {
|
||||
// Frame-Initialisierung
|
||||
super(title);
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
int frameWidth = 831;
|
||||
int frameHeight = 521;
|
||||
setSize(frameWidth, frameHeight);
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
int x = (d.width - getSize().width) / 2;
|
||||
int y = (d.height - getSize().height) / 2;
|
||||
setLocation(x, y);
|
||||
setResizable(false);
|
||||
Container cp = getContentPane();
|
||||
cp.setLayout(null);
|
||||
// Anfang Komponenten
|
||||
// SPIELER 1 GUI-----------------------------------------------------------------------
|
||||
|
||||
jPSpieler1.setBounds(8, 8, 185, 305);
|
||||
jPSpieler1.setOpaque(true);
|
||||
jPSpieler1.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPSpieler1);
|
||||
jLabel1.setBounds(8, 8, 110, 20);
|
||||
jLabel1.setText("Spieler 1");
|
||||
jPSpieler1.add(jLabel1);
|
||||
jLabel2.setBounds(8, 40, 70, 20);
|
||||
jNFSpieler1Guthaben.setBounds(86, 40, 75, 20);
|
||||
jLabel3.setBounds(8, 72, 70, 20);
|
||||
jNFSpieler1Einsatz.setBounds(86, 72, 75, 20);
|
||||
jBSpieler1Setzen.setBounds(48, 104, 75, 25);
|
||||
jLabel2.setText("Guthaben");
|
||||
jPSpieler1.add(jLabel2);
|
||||
jNFSpieler1Guthaben.setText("0");
|
||||
jNFSpieler1Guthaben.setEditable(false);
|
||||
jPSpieler1.add(jNFSpieler1Guthaben);
|
||||
jLabel3.setText("Einsatz");
|
||||
jPSpieler1.add(jLabel3);
|
||||
jNFSpieler1Einsatz.setText("0");
|
||||
jPSpieler1.add(jNFSpieler1Einsatz);
|
||||
jBSpieler1Setzen.setText("setzen");
|
||||
jBSpieler1Setzen.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Setzen.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Setzen_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler1.add(jBSpieler1Setzen);
|
||||
kartenPanel1.setBounds(8, 144, 169, 97);
|
||||
kartenPanel1.setBackground(new Color(0x00A000));
|
||||
jPSpieler1.add(kartenPanel1);
|
||||
jBSpieler1Ziehe.setBounds(8, 272, 75, 25);
|
||||
jBSpieler1Ziehe.setText("Ziehen");
|
||||
jBSpieler1Ziehe.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Ziehe.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Ziehe_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler1Ziehe.setEnabled(false);
|
||||
jPSpieler1.add(jBSpieler1Ziehe);
|
||||
jBSpieler1Beende.setBounds(96, 272, 75, 25);
|
||||
jBSpieler1Beende.setText("Fertig");
|
||||
jBSpieler1Beende.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler1Beende.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Beende_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBSpieler1Beende.setEnabled(false);
|
||||
jPSpieler1.add(jBSpieler1Beende);
|
||||
jLSpieler1Punkte.setBounds(8, 240, 158, 20);
|
||||
jLSpieler1Punkte.setText("Sie haben 0 Punkte.");
|
||||
jLSpieler1Punkte.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPSpieler1.add(jLSpieler1Punkte);
|
||||
|
||||
// SPIELER 2 GUI-----------------------------------------------------------------------
|
||||
|
||||
|
||||
jPSpieler2.setBounds(200, 8, 201, 305);
|
||||
jPSpieler2.setOpaque(true);
|
||||
jPSpieler2.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPSpieler2);
|
||||
jLabel21.setBounds(16, 40, 70, 20);
|
||||
jNFSpieler2Guthaben.setBounds(96, 40, 75, 20);
|
||||
jLabel31.setBounds(16, 72, 70, 20);
|
||||
jNFSpieler2Einsatz.setBounds(96, 72, 75, 20);
|
||||
jBSpieler2Setzen.setBounds(64, 104, 75, 25);
|
||||
jLabel21.setText("Guthaben");
|
||||
jPSpieler2.add(jLabel21);
|
||||
jNFSpieler2Guthaben.setText("0");
|
||||
jNFSpieler2Guthaben.setEditable(false);
|
||||
jPSpieler2.add(jNFSpieler2Guthaben);
|
||||
jLabel31.setText("Einsatz");
|
||||
jPSpieler2.add(jLabel31);
|
||||
jNFSpieler2Einsatz.setText("0");
|
||||
jPSpieler2.add(jNFSpieler2Einsatz);
|
||||
jBSpieler2Setzen.setText("setzen");
|
||||
jBSpieler2Setzen.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Setzen.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Setzen_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler2.add(jBSpieler2Setzen);
|
||||
jLabel11.setBounds(8, 8, 110, 20);
|
||||
jLabel11.setText("Spieler 2");
|
||||
jPSpieler2.add(jLabel11);
|
||||
kartenPanel2.setBounds(8, 144, 185, 97);
|
||||
kartenPanel2.setBackground(new Color(0x00A000));
|
||||
jPSpieler2.add(kartenPanel2);
|
||||
jLSpieler2Punkte.setBounds(8, 240, 182, 20);
|
||||
jLSpieler2Punkte.setText("Sie haben 0 Punkte.");
|
||||
jLSpieler2Punkte.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPSpieler2.add(jLSpieler2Punkte);
|
||||
jBSpieler2Ziehe.setBounds(8, 272, 83, 25);
|
||||
jBSpieler2Ziehe.setText("Ziehen");
|
||||
jBSpieler2Ziehe.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Ziehe.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Ziehe_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler2.add(jBSpieler2Ziehe);
|
||||
jBSpieler2Beende.setBounds(104, 272, 83, 25);
|
||||
jBSpieler2Beende.setText("Fertig");
|
||||
jBSpieler2Beende.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler2Beende.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Beende_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler2.add(jBSpieler2Beende);
|
||||
|
||||
|
||||
// SPIELER 3 GUI-----------------------------------------------------------------------
|
||||
|
||||
jPSpieler3.setBounds(408, 8, 201, 305);
|
||||
jPSpieler3.setOpaque(true);
|
||||
jPSpieler3.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPSpieler3);
|
||||
jLabel211.setBounds(16, 40, 70, 20);
|
||||
jLabel211.setText("Guthaben");
|
||||
jPSpieler3.add(jLabel211);
|
||||
jNFSpieler3Guthaben.setBounds(96, 40, 75, 20);
|
||||
jNFSpieler3Guthaben.setText("0");
|
||||
jNFSpieler3Guthaben.setEditable(false);
|
||||
jPSpieler3.add(jNFSpieler3Guthaben);
|
||||
jLabel311.setBounds(16, 72, 70, 20);
|
||||
jLabel311.setText("Einsatz");
|
||||
jPSpieler3.add(jLabel311);
|
||||
jNFSpieler3Einsatz.setBounds(96, 72, 75, 20);
|
||||
jNFSpieler3Einsatz.setText("0");
|
||||
jPSpieler3.add(jNFSpieler3Einsatz);
|
||||
jBSpieler3Setzen.setBounds(64, 104, 75, 25);
|
||||
jBSpieler3Setzen.setText("setzen");
|
||||
jBSpieler3Setzen.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler3Setzen.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler3Setzen_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler3.add(jBSpieler3Setzen);
|
||||
jLabel111.setBounds(8, 8, 110, 20);
|
||||
jLabel111.setText("Spieler 3");
|
||||
jPSpieler3.add(jLabel111);
|
||||
kartenPanel3.setBounds(8, 144, 185, 97);
|
||||
kartenPanel3.setBackground(new Color(0x00A000));
|
||||
jPSpieler3.add(kartenPanel3);
|
||||
jLSpieler3Punkte.setBounds(8, 240, 182, 20);
|
||||
jLSpieler3Punkte.setText("Sie haben 0 Punkte.");
|
||||
jLSpieler3Punkte.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPSpieler3.add(jLSpieler3Punkte);
|
||||
jBSpieler3Ziehe.setBounds(8, 272, 83, 25);
|
||||
jBSpieler3Ziehe.setText("Ziehen");
|
||||
jBSpieler3Ziehe.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler3Ziehe.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler3Ziehe_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler3.add(jBSpieler3Ziehe);
|
||||
jBSpieler3Beende.setBounds(104, 272, 83, 25);
|
||||
jBSpieler3Beende.setText("Fertig");
|
||||
jBSpieler3Beende.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler3Beende.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler3Beende_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler3.add(jBSpieler3Beende);
|
||||
|
||||
// SPIELER 4 GUI-----------------------------------------------------------------------
|
||||
|
||||
jPSpieler4.setBounds(616, 8, 201, 305);
|
||||
jPSpieler4.setOpaque(true);
|
||||
jPSpieler4.setBackground(new Color(0xC0C0C0));
|
||||
cp.add(jPSpieler4);
|
||||
jLabel212.setBounds(16, 40, 70, 20);
|
||||
jLabel212.setText("Guthaben");
|
||||
jPSpieler4.add(jLabel212);
|
||||
jNFSpieler4Guthaben.setBounds(96, 40, 75, 20);
|
||||
jNFSpieler4Guthaben.setText("0");
|
||||
jNFSpieler4Guthaben.setEditable(false);
|
||||
jPSpieler4.add(jNFSpieler4Guthaben);
|
||||
jLabel312.setBounds(16, 72, 70, 20);
|
||||
jLabel312.setText("Einsatz");
|
||||
jPSpieler4.add(jLabel312);
|
||||
jNFSpieler4Einsatz.setBounds(96, 72, 75, 20);
|
||||
jNFSpieler4Einsatz.setText("0");
|
||||
jPSpieler4.add(jNFSpieler4Einsatz);
|
||||
jBSpieler4Setzen.setBounds(64, 104, 75, 25);
|
||||
jBSpieler4Setzen.setText("setzen");
|
||||
jBSpieler4Setzen.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler4Setzen.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler4Setzen_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler4.add(jBSpieler4Setzen);
|
||||
jLabel112.setBounds(8, 8, 110, 20);
|
||||
jLabel112.setText("Spieler 4");
|
||||
jPSpieler4.add(jLabel112);
|
||||
kartenPanel4.setBounds(8, 144, 185, 97);
|
||||
kartenPanel4.setBackground(new Color(0x00A000));
|
||||
jPSpieler4.add(kartenPanel4);
|
||||
jLSpieler4Punkte.setBounds(8, 240, 182, 20);
|
||||
jLSpieler4Punkte.setText("Sie haben 0 Punkte.");
|
||||
jLSpieler4Punkte.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
jPSpieler4.add(jLSpieler4Punkte);
|
||||
jBSpieler4Ziehe.setBounds(8, 272, 83, 25);
|
||||
jBSpieler4Ziehe.setText("Ziehen");
|
||||
jBSpieler4Ziehe.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler4Ziehe.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler4Ziehe_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler4.add(jBSpieler4Ziehe);
|
||||
jBSpieler4Beende.setBounds(104, 272, 83, 25);
|
||||
jBSpieler4Beende.setText("Fertig");
|
||||
jBSpieler4Beende.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBSpieler4Beende.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBSpieler4Beende_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jPSpieler4.add(jBSpieler4Beende);
|
||||
|
||||
|
||||
jLMeldung.setBounds(272, 312, 262, 28);
|
||||
jLMeldung.setText("Bitte machen Sie Ihre Einsuetze");
|
||||
jLMeldung.setHorizontalTextPosition(SwingConstants.CENTER);
|
||||
jLMeldung.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
cp.add(jLMeldung);
|
||||
kartenPanelCroupier.setBounds(296, 344, 209, 97);
|
||||
kartenPanelCroupier.setBackground(new Color(0x00A000));
|
||||
cp.add(kartenPanelCroupier);
|
||||
|
||||
jBAuswerten.setBounds(312, 456, 171, 25);
|
||||
jBAuswerten.setText("Auswerten");
|
||||
jBAuswerten.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBAuswerten.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBAuswerten_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
cp.add(jBAuswerten);
|
||||
jBNeu.setBounds(312, 456, 169, 25);
|
||||
jBNeu.setText("Neues Spiel");
|
||||
jBNeu.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBNeu.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBNeu_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBNeu.setVisible(false);
|
||||
cp.add(jBNeu);
|
||||
|
||||
jBStart.setBounds(312, 456, 169, 25);
|
||||
jBStart.setText("Starten");
|
||||
jBStart.setMargin(new Insets(2, 2, 2, 2));
|
||||
jBStart.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent evt) {
|
||||
jBStart_ActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jBStart.setVisible(true);
|
||||
cp.add(jBStart);
|
||||
// Ende Komponenten
|
||||
// Rahmenbedingungen fuer das Spiel schaffen ------------------------------------------------------------
|
||||
|
||||
spielleitung = new Spielleitung();
|
||||
|
||||
// 4 Spieler mit Startguthaben 100 erzeugen
|
||||
Spieler sp1 = new Spieler(100);
|
||||
Spieler sp2 = new Spieler(100);
|
||||
Spieler sp3 = new Spieler(100);
|
||||
Spieler sp4 = new Spieler(100);
|
||||
|
||||
// Spieler beim Spielleiter anmelden
|
||||
spielleitung.addSpieler(sp1);
|
||||
spielleitung.addSpieler(sp2);
|
||||
spielleitung.addSpieler(sp3);
|
||||
spielleitung.addSpieler(sp4);
|
||||
|
||||
// Die Kartenpanels ueber die Spieler, deren Kartenhand angezeigt werden soll informieren.
|
||||
kartenPanel1.setSpieler(sp1);
|
||||
kartenPanel2.setSpieler(sp2);
|
||||
kartenPanel3.setSpieler(sp3);
|
||||
kartenPanel4.setSpieler(sp4);
|
||||
kartenPanelCroupier.setSpieler(spielleitung.getCroupier());
|
||||
|
||||
jBNeu_ActionPerformed(null);
|
||||
setVisible(true);
|
||||
} // end of public BlackJackGUI
|
||||
|
||||
// Anfang Methoden
|
||||
/** Zeigt die Informationen (Guthaben und Kartenwert) ueber die Spieler an.
|
||||
*/
|
||||
public void showSpieler() {
|
||||
Spieler sp1 = spielleitung.getSpieler(1);
|
||||
Spieler sp2 = spielleitung.getSpieler(2);
|
||||
Spieler sp3 = spielleitung.getSpieler(3);
|
||||
Spieler sp4 = spielleitung.getSpieler(4);
|
||||
|
||||
jNFSpieler1Guthaben.setInt(sp1.getGuthaben());
|
||||
jNFSpieler2Guthaben.setInt(sp2.getGuthaben());
|
||||
jNFSpieler3Guthaben.setInt(sp3.getGuthaben());
|
||||
jNFSpieler4Guthaben.setInt(sp4.getGuthaben());
|
||||
jLSpieler1Punkte.setText("Sie haben "+sp1.getKarten().getSumme()+" Punkte.");
|
||||
jLSpieler2Punkte.setText("Sie haben "+sp2.getKarten().getSumme()+" Punkte.");
|
||||
jLSpieler3Punkte.setText("Sie haben "+sp3.getKarten().getSumme()+" Punkte.");
|
||||
jLSpieler4Punkte.setText("Sie haben "+sp4.getKarten().getSumme()+" Punkte.");
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
}
|
||||
|
||||
/** Aktion, wenn alle Spieler gesetzt haben und beim Dealer "Start" gedrueckt wurde
|
||||
*/
|
||||
public void jBStart_ActionPerformed(ActionEvent evt) {
|
||||
if (jNFSpieler1Einsatz.getInt()>0 && !jBSpieler1Setzen.isEnabled()) { // Spieler 1 hat gesetzt
|
||||
spielleitung.getSpieler(1).zieheKarte(); // Spieler erhuelt zwei Karten
|
||||
spielleitung.getSpieler(1).zieheKarte();
|
||||
jBSpieler1Ziehe.setEnabled(true); // Spielerbuttons zum Ziehen und Beenden aktivieren
|
||||
jBSpieler1Beende.setEnabled(true);
|
||||
kartenPanel1.repaint();
|
||||
} // end of if
|
||||
|
||||
if (jNFSpieler2Einsatz.getInt()>0 && !jBSpieler2Setzen.isEnabled()) { // Spieler 2 hat gesetzt
|
||||
spielleitung.getSpieler(2).zieheKarte(); // Spieler erhuelt zwei Karten
|
||||
spielleitung.getSpieler(2).zieheKarte();
|
||||
jBSpieler2Ziehe.setEnabled(true); // Spielerbuttons zum Ziehen und Beenden aktivieren
|
||||
jBSpieler2Beende.setEnabled(true);
|
||||
kartenPanel2.repaint();
|
||||
} // end of if
|
||||
|
||||
if (jNFSpieler3Einsatz.getInt()>0 && !jBSpieler3Setzen.isEnabled()) { // Spieler 3 hat gesetzt
|
||||
spielleitung.getSpieler(3).zieheKarte(); // Spieler erhuelt zwei Karten
|
||||
spielleitung.getSpieler(3).zieheKarte();
|
||||
jBSpieler3Ziehe.setEnabled(true); // Spielerbuttons zum Ziehen und Beenden aktivieren
|
||||
jBSpieler3Beende.setEnabled(true);
|
||||
kartenPanel3.repaint();
|
||||
} // end of if
|
||||
|
||||
if (jNFSpieler4Einsatz.getInt()>0 && !jBSpieler4Setzen.isEnabled()) { // Spieler 4 hat gesetzt
|
||||
spielleitung.getSpieler(4).zieheKarte(); // Spieler erhuelt zwei Karten
|
||||
spielleitung.getSpieler(4).zieheKarte();
|
||||
jBSpieler4Ziehe.setEnabled(true); // Spielerbuttons zum Ziehen und Beenden aktivieren
|
||||
jBSpieler4Beende.setEnabled(true);
|
||||
kartenPanel4.repaint();
|
||||
} // end of if
|
||||
showSpieler();
|
||||
|
||||
spielleitung.getCroupier().zieheKarte(); // Der Croupier erhuelt seine erste Karte
|
||||
kartenPanelCroupier.repaint();
|
||||
|
||||
jBStart.setVisible(false);
|
||||
jBAuswerten.setVisible(true);
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
} // end of jBStart_ActionPerformed
|
||||
|
||||
/** Aktion, wenn der Auswerten-Button beim Dealer gedrueckt wird.
|
||||
*/
|
||||
public void jBAuswerten_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.auswerten();
|
||||
jNFSpieler1Einsatz.setInt(0);
|
||||
jNFSpieler2Einsatz.setInt(0);
|
||||
jNFSpieler3Einsatz.setInt(0);
|
||||
jNFSpieler4Einsatz.setInt(0);
|
||||
showSpieler();
|
||||
jLMeldung.setText("Der Dealer hat "+spielleitung.getCroupier().getKarten().getSumme()+" Punkte.");
|
||||
kartenPanelCroupier.repaint();
|
||||
jBNeu.setVisible(true);
|
||||
jBAuswerten.setVisible(false);
|
||||
} // end of jBAuswerten_ActionPerformed
|
||||
|
||||
/** Aktion, wenn der "Neues Spiel"-Button beim Dealer gedrueckt wird.
|
||||
*/
|
||||
public void jBNeu_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.neueRunde();
|
||||
kartenPanel1.repaint();
|
||||
kartenPanel2.repaint();
|
||||
kartenPanel3.repaint();
|
||||
kartenPanel4.repaint();
|
||||
kartenPanelCroupier.repaint();
|
||||
showSpieler();
|
||||
jBNeu.setVisible(false);
|
||||
jBAuswerten.setVisible(true);
|
||||
jNFSpieler1Einsatz.setEditable(true);
|
||||
jNFSpieler2Einsatz.setEditable(true);
|
||||
jNFSpieler3Einsatz.setEditable(true);
|
||||
jNFSpieler4Einsatz.setEditable(true);
|
||||
jBSpieler1Setzen.setEnabled(true);
|
||||
jBSpieler2Setzen.setEnabled(true);
|
||||
jBSpieler3Setzen.setEnabled(true);
|
||||
jBSpieler4Setzen.setEnabled(true);
|
||||
jBSpieler1Ziehe.setEnabled(false);
|
||||
jBSpieler2Ziehe.setEnabled(false);
|
||||
jBSpieler3Ziehe.setEnabled(false);
|
||||
jBSpieler4Ziehe.setEnabled(false);
|
||||
jBSpieler1Beende.setEnabled(false);
|
||||
jBSpieler2Beende.setEnabled(false);
|
||||
jBSpieler3Beende.setEnabled(false);
|
||||
jBSpieler4Beende.setEnabled(false);
|
||||
jBStart.setVisible(true);
|
||||
jBAuswerten.setVisible(false);
|
||||
jBNeu.setVisible(false);
|
||||
|
||||
jLMeldung.setText("Machen Sie ihre Einsuetze.");
|
||||
} // end of jBNeu_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 1 "Setzen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler1Setzen_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.getSpieler(1).setze(jNFSpieler1Einsatz.getInt()); // setzen durchfuehren
|
||||
jNFSpieler1Einsatz.setEditable(false); // es darf jetzt nicht mehr gesetzt werden
|
||||
jBSpieler1Setzen.setEnabled(false);
|
||||
showSpieler();
|
||||
} // end of jBSpieler1Setzen_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 2 "Setzen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler2Setzen_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.getSpieler(2).setze(jNFSpieler2Einsatz.getInt()); // setzen durchfuehren
|
||||
jNFSpieler2Einsatz.setEditable(false); // es darf jetzt nicht mehr gesetzt werden
|
||||
jBSpieler2Setzen.setEnabled(false);
|
||||
showSpieler();
|
||||
} // end of jBSpieler2Setzen_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 3 "Setzen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler3Setzen_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.getSpieler(3).setze(jNFSpieler3Einsatz.getInt()); // setzen durchfuehren
|
||||
jNFSpieler3Einsatz.setEditable(false); // es darf jetzt nicht mehr gesetzt werden
|
||||
jBSpieler3Setzen.setEnabled(false);
|
||||
showSpieler();
|
||||
} // end of jBSpieler3Setzen_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 4 "Setzen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler4Setzen_ActionPerformed(ActionEvent evt) {
|
||||
spielleitung.getSpieler(4).setze(jNFSpieler4Einsatz.getInt()); // setzen durchfuehren
|
||||
jNFSpieler4Einsatz.setEditable(false); // es darf jetzt nicht mehr gesetzt werden
|
||||
jBSpieler4Setzen.setEnabled(false);
|
||||
showSpieler();
|
||||
} // end of jBSpieler4Setzen_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 1 "Karten ziehen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler1Ziehe_ActionPerformed(ActionEvent evt) {
|
||||
Spieler sp1 = spielleitung.getSpieler(1);
|
||||
sp1.zieheKarte(); // Spieler erhuelt eine Karte
|
||||
kartenPanel1.repaint();
|
||||
if (sp1.getKarten().getSumme()>21) { // Hat sich Spieler ueberkauft
|
||||
jBSpieler1Ziehe.setEnabled(false);
|
||||
jBSpieler1Beende.setEnabled(false);
|
||||
} // end of if
|
||||
showSpieler();
|
||||
} // end of jBSpieler1Ziehe_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 2 "Karten ziehen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler2Ziehe_ActionPerformed(ActionEvent evt) {
|
||||
Spieler sp2 = spielleitung.getSpieler(2);
|
||||
sp2.zieheKarte(); // Spieler erhuelt eine Karte
|
||||
kartenPanel2.repaint();
|
||||
if (sp2.getKarten().getSumme()>21) { // Hat sich Spieler ueberkauft
|
||||
jBSpieler2Ziehe.setEnabled(false);
|
||||
jBSpieler2Beende.setEnabled(false);
|
||||
} // end of if
|
||||
showSpieler();
|
||||
} // end of jBSpieler2Ziehe_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 3 "Karten ziehen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler3Ziehe_ActionPerformed(ActionEvent evt) {
|
||||
Spieler sp3 = spielleitung.getSpieler(3);
|
||||
sp3.zieheKarte(); // Spieler erhuelt eine Karte
|
||||
kartenPanel3.repaint();
|
||||
|
||||
if (sp3.getKarten().getSumme()>21) { // Hat sich Spieler ueberkauft
|
||||
jBSpieler3Ziehe.setEnabled(false);
|
||||
jBSpieler3Beende.setEnabled(false);
|
||||
} // end of if
|
||||
showSpieler();
|
||||
} // end of jBSpieler3Ziehe_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 4 "Karten ziehen" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler4Ziehe_ActionPerformed(ActionEvent evt) {
|
||||
Spieler sp4 = spielleitung.getSpieler(4);
|
||||
sp4.zieheKarte(); // Spieler erhuelt eine Karte
|
||||
kartenPanel4.repaint();
|
||||
if (sp4.getKarten().getSumme()>21) { // Hat sich Spieler ueberkauft
|
||||
jBSpieler4Ziehe.setEnabled(false);
|
||||
jBSpieler4Beende.setEnabled(false);
|
||||
} // end of if
|
||||
showSpieler();
|
||||
} // end of jBSpieler4Ziehe_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 1 "Beenden" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler1Beende_ActionPerformed(ActionEvent evt) {
|
||||
jBSpieler1Ziehe.setEnabled(false);
|
||||
jBSpieler1Beende.setEnabled(false);
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
} // end of jBSpieler1Beende_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 2 "Beenden" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler2Beende_ActionPerformed(ActionEvent evt) {
|
||||
jBSpieler2Ziehe.setEnabled(false);
|
||||
jBSpieler2Beende.setEnabled(false);
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
} // end of jBSpieler2Beende_ActionPerformed
|
||||
|
||||
/** Aktion, wenn Spieler 3 "Beenden" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler3Beende_ActionPerformed(ActionEvent evt) {
|
||||
jBSpieler3Ziehe.setEnabled(false);
|
||||
jBSpieler3Beende.setEnabled(false);
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
} // end of jBSpieler3Beende_ActionPerformed
|
||||
|
||||
|
||||
/** Aktion, wenn Spieler 4 "Beenden" gedrueckt hat
|
||||
*/
|
||||
public void jBSpieler4Beende_ActionPerformed(ActionEvent evt) {
|
||||
jBSpieler4Ziehe.setEnabled(false);
|
||||
jBSpieler4Beende.setEnabled(false);
|
||||
jBAuswerten.setEnabled(!jBSpieler1Beende.isEnabled() && !jBSpieler2Beende.isEnabled() && !jBSpieler3Beende.isEnabled() && !jBSpieler4Beende.isEnabled());
|
||||
} // end of jBSpieler4Beende_ActionPerformed
|
||||
|
||||
|
||||
// Ende Methoden
|
||||
|
||||
public static void main(String[] args) {
|
||||
new BlackJackGUI("Black Jack");
|
||||
} // end of main
|
||||
|
||||
} // end of class crapsGUI
|
||||
1482
Software/alg_oo_blackjack/01_BlackJack_Loes/BlackJackGUI.jfm
Normal file
129
Software/alg_oo_blackjack/01_BlackJack_Loes/JNumberField.java
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
Swing-component for input and output of numeric values.
|
||||
*/
|
||||
|
||||
public class JNumberField extends JTextField {
|
||||
|
||||
/** constructor for a JNumberField */
|
||||
public JNumberField() {
|
||||
enableEvents(AWTEvent.KEY_EVENT_MASK);
|
||||
}
|
||||
|
||||
/** Gets a double-value from the JNumberField. */
|
||||
public double getDouble() {
|
||||
Double d = new Double(getText());
|
||||
return d.doubleValue();
|
||||
}
|
||||
|
||||
/** Gets a float-value from the JNumberField. */
|
||||
public float getFloat() {
|
||||
Double d = new Double(getText());
|
||||
return d.floatValue();
|
||||
}
|
||||
|
||||
/** Gets an int-value from the JNumberField. */
|
||||
public int getInt() {
|
||||
Double d = new Double(getText());
|
||||
return d.intValue();
|
||||
}
|
||||
|
||||
/** Gets a long-value from the JNumberField. */
|
||||
public long getLong() {
|
||||
Double d = new Double(getText());
|
||||
return d.longValue();
|
||||
}
|
||||
|
||||
/** Checks wether the JNumberField contains a valid numeric value. */
|
||||
public boolean isNumeric() {
|
||||
final String Digits = "(\\p{Digit}+)";
|
||||
final String HexDigits = "(\\p{XDigit}+)";
|
||||
// an exponent is 'e' or 'E' followed by an optionally
|
||||
// signed decimal integer.
|
||||
final String Exp = "[eE][+-]?"+Digits;
|
||||
final String fpRegex =
|
||||
("[\\x00-\\x20]*"+ // Optional leading "whitespace"
|
||||
"[+-]?(" + // Optional sign character
|
||||
"NaN|" + // "NaN" string
|
||||
"Infinity|" + // "Infinity" string
|
||||
|
||||
// A decimal floating-point string representing a finite positive
|
||||
// number without a leading sign has at most five basic pieces:
|
||||
// Digits . Digits ExponentPart FloatTypeSuffix
|
||||
//
|
||||
// Since this method allows integer-only strings as input
|
||||
// in addition to strings of floating-point literals, the
|
||||
// two sub-patterns below are simplifications of the grammar
|
||||
// productions from the Java Language Specification, 2nd
|
||||
// edition, section 3.10.2.
|
||||
|
||||
// Digits ._opt Digits_opt ExponentPart_opt FloatTypeSuffix_opt
|
||||
"((("+Digits+"(\\.)?("+Digits+"?)("+Exp+")?)|"+
|
||||
|
||||
// . Digits ExponentPart_opt FloatTypeSuffix_opt
|
||||
"(\\.("+Digits+")("+Exp+")?)|"+
|
||||
|
||||
// Hexadecimal strings
|
||||
"((" +
|
||||
// 0[xX] HexDigits ._opt BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "(\\.)?)|" +
|
||||
|
||||
// 0[xX] HexDigits_opt . HexDigits BinaryExponent FloatTypeSuffix_opt
|
||||
"(0[xX]" + HexDigits + "?(\\.)" + HexDigits + ")" +
|
||||
|
||||
")[pP][+-]?" + Digits + "))" +
|
||||
"[fFdD]?))" +
|
||||
"[\\x00-\\x20]*");// Optional trailing "whitespace"
|
||||
|
||||
return java.util.regex.Pattern.matches(fpRegex, getText());
|
||||
}
|
||||
|
||||
/** Sets a double-value into the JNumberField. */
|
||||
public void setDouble(double d) {
|
||||
setText(String.valueOf(d));
|
||||
}
|
||||
|
||||
/** Sets a double-value with N digits into the JNumberField. */
|
||||
public void setDouble(double d, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", d));
|
||||
}
|
||||
|
||||
/** Sets a float-value into the JNumberField. */
|
||||
public void setFloat(float f) {
|
||||
setText(String.valueOf(f));
|
||||
}
|
||||
|
||||
/** Sets a float-value with N digits into the JNumberField. */
|
||||
public void setFloat(float f, int N) {
|
||||
setText(String.format(Locale.ENGLISH, "%." + N + "f", f));
|
||||
}
|
||||
|
||||
/** Sets an int-value into the JNumberField. */
|
||||
public void setInt(int i) {
|
||||
setText(String.valueOf(i));
|
||||
}
|
||||
|
||||
/** Sets a long-value into the JNumberField. */
|
||||
public void setLong(long l) {
|
||||
setText(String.valueOf(l));
|
||||
}
|
||||
|
||||
/** Clears the JNumberField */
|
||||
public void clear() {
|
||||
setText("");
|
||||
}
|
||||
|
||||
protected void processKeyEvent(KeyEvent e) {
|
||||
super.processKeyEvent(e);
|
||||
if (isNumeric() || getText().equals("-") ||
|
||||
getText().equals("") || getText().equals("."))
|
||||
setBackground(Color.white);
|
||||
else
|
||||
setBackground(Color.red);
|
||||
}
|
||||
|
||||
}
|
||||
74
Software/alg_oo_blackjack/01_BlackJack_Loes/Karte.java
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
/**
|
||||
*
|
||||
* Speichert die Informationen ueber eine Karte fuer ein Kartenspiel.
|
||||
* Jede Karte ist ueber eine Kartenfarbe und einen Kartenwert festgelegt.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Karte {
|
||||
|
||||
// Anfang Attribute
|
||||
private int farbe;
|
||||
private int wert;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt eine Karte.
|
||||
* @param farbe Farbe (0=Kreuz, 1=Pik, 2=Herz, 3=Karo)
|
||||
* @param wert Kartenwert (1=Ass, 2=Zwei,...,10=Zehn, 11=Bube, 12=Dame, 13=Kuenig)
|
||||
*/
|
||||
public Karte(int farbe, int wert) {;
|
||||
this.farbe = farbe;
|
||||
this.wert = wert;
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
/** Liefert den Wert der Karte
|
||||
* @return Kartenwert (1=Ass, 2=Zwei,...,10=Zehn, 11=Bube, 12=Dame, 13=Kuenig)
|
||||
*/
|
||||
public int getWert() {
|
||||
return wert;
|
||||
}
|
||||
|
||||
/** Liefert die Farbe der Karte
|
||||
* @return Kartenfarbe (0=Kreuz, 1=Pik, 2=Herz, 3=Karo)
|
||||
*/
|
||||
public int getFarbe() {
|
||||
return farbe;
|
||||
}
|
||||
|
||||
/** Liefert eine Textbeschreibung der Karte. Dies ist zum Testen der Klassen hilfreich.
|
||||
* @return Kartenbeschreibung (z.B. Kreuz 3)
|
||||
*/
|
||||
public String toString() {
|
||||
String bezeichnung="";
|
||||
switch(farbe) {
|
||||
|
||||
case 0: bezeichnung = "Kreuz "; break;
|
||||
case 1: bezeichnung = "Pik "; break;
|
||||
case 2: bezeichnung = "Herz "; break;
|
||||
case 3: bezeichnung = "Karo "; break;
|
||||
}
|
||||
switch (wert) {
|
||||
case 1: bezeichnung = bezeichnung + "As"; break;
|
||||
case 2: bezeichnung = bezeichnung + "2"; break;
|
||||
case 3: bezeichnung = bezeichnung + "3"; break;
|
||||
case 4: bezeichnung = bezeichnung + "4"; break;
|
||||
case 5: bezeichnung = bezeichnung + "5"; break;
|
||||
case 6: bezeichnung = bezeichnung + "6"; break;
|
||||
case 7: bezeichnung = bezeichnung + "7"; break;
|
||||
case 8: bezeichnung = bezeichnung + "8"; break;
|
||||
case 9: bezeichnung = bezeichnung + "9"; break;
|
||||
case 10: bezeichnung = bezeichnung + "10"; break;
|
||||
case 11: bezeichnung = bezeichnung + "Bube"; break;
|
||||
case 12: bezeichnung = bezeichnung + "Dame"; break;
|
||||
case 13: bezeichnung = bezeichnung + "Kuenig"; break;
|
||||
|
||||
} // end of switch
|
||||
|
||||
return bezeichnung;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Wuerfel
|
||||
61
Software/alg_oo_blackjack/01_BlackJack_Loes/KartenPanel.java
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
import javax.swing.JPanel;
|
||||
import java.awt.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* Panel zum Anzeigen der Kartenhand eines Spielers (fuer BlackJack)
|
||||
* Angezeigt werden die Bilder im Unterverzeichnis bilder. Dabei muessen
|
||||
* die Karten von 10.png - 14.png (Ass Kreuz-Ass Karo) bis 130.png - 134.png
|
||||
* (Kuenig Kreuz - Kuenig Karo) benannt sein.
|
||||
*
|
||||
* @version 1.0 vom 16.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class KartenPanel extends JPanel {
|
||||
|
||||
// Anfang Attribute
|
||||
private Image[] bilder = new Image[52];
|
||||
private Spieler spieler = null;
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt ein Panel zur Anzeige einer Kartenhand.
|
||||
*/
|
||||
public KartenPanel() {;
|
||||
|
||||
// Bilder laden von i = 0 (Ass) bis i=13 (Kuenig)
|
||||
for (int i = 0; i < 13; i++ ) {
|
||||
bilder[i] = Toolkit.getDefaultToolkit().getImage("bilder/"+(i+1)+"0.png"); // Kreuz
|
||||
bilder[13+i] = Toolkit.getDefaultToolkit().getImage("bilder/"+(i+1)+"1.png"); // Pik
|
||||
bilder[26+i] = Toolkit.getDefaultToolkit().getImage("bilder/"+(i+1)+"2.png"); // Herz
|
||||
bilder[39+i] = Toolkit.getDefaultToolkit().getImage("bilder/"+(i+1)+"3.png"); // Karo
|
||||
} // end of for
|
||||
|
||||
this.setBackground(Color.white);
|
||||
}
|
||||
|
||||
/** Setzt eine Referenz auf den Spieler, dessen Kartenhand angezeigt werden soll.
|
||||
* @param spieler Spieler, dessen Hand angezeigt werden soll.
|
||||
*/
|
||||
public void setSpieler(Spieler spieler) {
|
||||
this.spieler = spieler;
|
||||
}
|
||||
|
||||
/** Zeichnet die Karten auf einen gegebenen Grafikkontext. Es werden die Bilder
|
||||
* aus dem Unterverzeichnis bilder angezeigt.
|
||||
* @param g Grafikkontext, auf den gezeichnet werden soll.
|
||||
*/
|
||||
public void paint(Graphics g) {
|
||||
super.paint(g); // Aufruf der ueberlagerten paint-Methode, damit Hintergrund richtig gezeichnet wird.
|
||||
|
||||
if (spieler != null) { // Wenn Spieler-Referenz gesetzt ist
|
||||
|
||||
// Zeichne alle Karten der Hand
|
||||
Kartenhand k = spieler.getKarten();
|
||||
for (int i=0; i < k.getAnzahl(); i++) {
|
||||
g.drawImage(bilder[(k.getKarte(i).getWert()-1)+k.getKarte(i).getFarbe()*13],15+i*25,15,Color.white,this);
|
||||
} // end of while
|
||||
} // end of if
|
||||
|
||||
}
|
||||
} // end of Board
|
||||
139
Software/alg_oo_blackjack/01_BlackJack_Loes/Kartenhand.java
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
import java.util.Random;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
* Speichert eine Reihe von Spielkarten fuer BlackJack. Damit kann
|
||||
* sowohl die Hand eines Spielers als auch des Dealers abgespeichert werden.
|
||||
* Es ist mueglich, den Wert der Kartenhand zu ermitteln und festzustellen, ob es
|
||||
* sich um eine Triple-7 handelt.
|
||||
*
|
||||
* @version 1.0 vom 27.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Kartenhand {
|
||||
|
||||
// Anfang Attribute
|
||||
private ArrayList<Karte> karten; // es kuennen max. 312 Karten gespeichert werden
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
public Kartenhand() {
|
||||
karten = new ArrayList<Karte>();
|
||||
}
|
||||
|
||||
/** Erzeugt einen gemischten Kartenstapel mit 6 Kartenbluettern a 52 Karten.
|
||||
*/
|
||||
public void erzeugeKartenblatt() {
|
||||
// 6 Kartenbluetter erzeugen. Der Kartenstapel ist dann noch sortiert.
|
||||
for (int i=0; i<6 ; i++ ) {
|
||||
for (int j=0; j<4 ; j++) {
|
||||
for (int k=0;k < 13 ;k++ ) {
|
||||
karten.add(new Karte(j, k+1));
|
||||
} // end of for
|
||||
} // end of for
|
||||
} // end of for
|
||||
|
||||
// Kartenstapel mischen. 10000 mal zufuellig 2 Karten vertauschen
|
||||
Random r = new Random();
|
||||
for (int i=0; i<10000 ; i++ ) {
|
||||
int j = r.nextInt(312);
|
||||
int k = r.nextInt(312);
|
||||
Karte m = karten.get(j);
|
||||
karten.set(j,karten.get(k));
|
||||
karten.set(k, m);
|
||||
} // end of for
|
||||
}
|
||||
|
||||
/** Fuegt der Hand eine Karte hinzu. Es sind maximal 10 Karten mueglich.
|
||||
* @param k Die Karte, die der Hand hinzugefuegt werden soll
|
||||
*/
|
||||
public void add(Karte k) {
|
||||
karten.add(k);
|
||||
}
|
||||
|
||||
/** Entfernt die oberste Karte von der Kartenhand.
|
||||
* @return Referenz auf die oberste Karte
|
||||
*/
|
||||
public Karte remove() {
|
||||
return karten.remove(karten.size()-1);
|
||||
}
|
||||
|
||||
/** Liefert die Anzahl der Karten auf der Hand.
|
||||
* @return Anzahl der Karten
|
||||
*/
|
||||
public int getAnzahl() {
|
||||
return karten.size();
|
||||
}
|
||||
|
||||
/** Liefert die Summe der Kartenwerte. Dabei werden die Asse so
|
||||
* gewertet, dass es fuer den Spieler optimal ist, d.h. sie werden als 11 gewertet,
|
||||
* solange die 21 nicht ueberschritten ist.
|
||||
* @return Summe der Kartenwerte
|
||||
*/
|
||||
public int getSumme() {
|
||||
int summe=0; // Summe der Kartenwerte
|
||||
int anzahlAsse=0; // Anzahl der mit 1 bewerteten Asse
|
||||
|
||||
for (Karte k : karten) {
|
||||
int kartenwert = k.getWert();
|
||||
if (kartenwert > 10) { // Alle Bilder mit 10 bewerten
|
||||
kartenwert = 10;
|
||||
} // end of if
|
||||
if (kartenwert == 1) { // Asse zunuechst mit 1 bewerten, aber zuehlen
|
||||
anzahlAsse++;
|
||||
} // end of if
|
||||
summe += kartenwert;
|
||||
} // end of for
|
||||
while (anzahlAsse > 0 && summe <= 11) { // Wenn noch Asse mit 1 bewertet wurden und eine Bewertung mit 11 nicht zum ueberkaufen fuehrt
|
||||
summe += 10; // Ass mit 11 statt 1 bewerten.
|
||||
anzahlAsse--;
|
||||
} // end of if
|
||||
return summe;
|
||||
}
|
||||
|
||||
/** Liefert eine Karte aus der Kartenhand. Der Benutzer ist dafuer verantwortlich,
|
||||
* nur Karten abzufragen, die es auch gibt.
|
||||
* @param nr Nummer der Karte, die geliefert werden soll
|
||||
* @return Referenz auf Karte
|
||||
*/
|
||||
public Karte getKarte(int nr) {
|
||||
return karten.get(nr);
|
||||
}
|
||||
|
||||
/** Testet, ob die Kartenhand ein Blackjack ist
|
||||
* @return true, falls es sich um einen Blackjack handelt, sonst false
|
||||
*/
|
||||
public boolean isBlackJack() {
|
||||
return (karten.size() == 2) && (getSumme()==21); // Mit zwei Karten kann man nur dann 21 erreichen, wenn es ein Blackjack ist
|
||||
}
|
||||
|
||||
/** Testet, ob die Kartenhand eine Triple-7 ist
|
||||
* @return true, falls die Kartenhand genau 3x Siebener enthuelt, sonst false
|
||||
*/
|
||||
public boolean isTripleSeven() {
|
||||
if (karten.size() == 3) { // Es sind 3 Karten
|
||||
for (int i=0; i<3 ; i++) {
|
||||
if (karten.get(i).getWert()!= 7) { // eine Karte ist keine 7
|
||||
return false;
|
||||
} // end of if
|
||||
} // end of for
|
||||
return true;
|
||||
} // end of if
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Die Kartenhand wird als String zurueckgegeben. Das ist zum Testen der Klassen hilfreich.
|
||||
* @return Die Beschreibungen der Karten durch Kommas getrennt.
|
||||
*/
|
||||
public String toString() {
|
||||
String s = "";
|
||||
for (Karte k : karten) {
|
||||
s = s + k.toString()+", ";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Kartenhand
|
||||
82
Software/alg_oo_blackjack/01_BlackJack_Loes/Spieler.java
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
/**
|
||||
* Die Klasse Spieler speichert die Daten eines Spielers fuer das Spiel BlackJack.
|
||||
* Der Dealer wird dabei auch als Spieler angesehen.
|
||||
*
|
||||
* @version 1.0 vom 19.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spieler {
|
||||
|
||||
// Anfang Attribute
|
||||
private int guthaben; // Guthaben des Spielers
|
||||
private int einsatz = 0; // Betrag den der Spieler gesetzt hat
|
||||
private Spielleitung spielleiter; // Referenz auf Spielleitung
|
||||
private Kartenhand karten; // Referenz auf die Karten des Spielers
|
||||
// Ende Attribute
|
||||
|
||||
/** Erzeugt einen Spieler mit einem bestimmten Startguthaben. Der Spieler
|
||||
* wird mit einer leeren Kartenhand erzeugt.
|
||||
* @param guthaben Startguthaben des Spielers
|
||||
*/
|
||||
public Spieler(int guthaben) {
|
||||
this.guthaben = guthaben;
|
||||
this.einsatz = 0;
|
||||
this.spielleiter = null;
|
||||
this.karten = new Kartenhand();
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
|
||||
/** Referenz auf Spielleiter setzen.
|
||||
* @param spielleiter Referenz auf einen BlackJack-Spielleiter
|
||||
*/
|
||||
public void setSpielleiter(Spielleitung spielleiter) {
|
||||
this.spielleiter = spielleiter;
|
||||
}
|
||||
|
||||
/** Liefert das aktuelle Guthaben des Spielers.
|
||||
* @return Guthaben des Spielers
|
||||
*/
|
||||
public int getGuthaben() {
|
||||
return guthaben;
|
||||
}
|
||||
|
||||
/** Setzt den Einsatz fuer das nuechste Spiel.
|
||||
* @param betrag eingesetzter Betrag
|
||||
*/
|
||||
public void setze(int betrag) {
|
||||
einsatz += betrag;
|
||||
guthaben -= betrag;
|
||||
}
|
||||
|
||||
/** Rechnet den Gewinn des Spielers ab, da er gewonnen hat.
|
||||
* @param gewinnfaktor (0 falls verloren, 1 falls unentschieden, 2 bei normalem Gewinn, 2.5 bei Triple-7 oder Blackjack)
|
||||
*/
|
||||
public void abrechnen(double gewinnfaktor) {
|
||||
guthaben += (int) (gewinnfaktor*einsatz);
|
||||
einsatz = 0;
|
||||
}
|
||||
|
||||
/** Eine neue Runde wird begonnen. Daher bekommt der Spieler wieder eine leere Kartenhand.
|
||||
*/
|
||||
public void neueRunde() {
|
||||
karten = new Kartenhand();
|
||||
}
|
||||
|
||||
/** Liefert eine Referenz auf die Kartenhand.
|
||||
* @return Kartenhand
|
||||
*/
|
||||
public Kartenhand getKarten() {
|
||||
return karten;
|
||||
}
|
||||
|
||||
/** Der Spieler wuenscht eine weitere Karte. Diese wird der Kartenhand hinzugefuegt.
|
||||
*/
|
||||
public void zieheKarte() {
|
||||
Karte k = spielleiter.getKarte(); // Karte beim Spielleiter anfordern
|
||||
karten.add(k); // Karte hinzufuegen
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Spieler
|
||||
118
Software/alg_oo_blackjack/01_BlackJack_Loes/Spielleitung.java
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Spielleitung fuer das Kartenspiel BlackJack.
|
||||
* Der Spielleiter verwaltet Referenzen auf die Spieler. Auueerdem wird
|
||||
* automatisch ein Dealer erzeugt. Blackjack wird mit 6 Kartenbluettern
|
||||
* gespielt, die komplett gemischt werden. Wenn mehr als 250 Karten
|
||||
* verbraucht wurden, kommen alle Karten wieder ins Spiel.
|
||||
*
|
||||
* @version 1.0 vom 20.06.2012
|
||||
* @author Thomas Schaller
|
||||
*/
|
||||
|
||||
public class Spielleitung {
|
||||
|
||||
// Anfang Attribute
|
||||
private ArrayList<Spieler> spieler; // Bis zu 5 Spieler+Croupier kuennen teilnehmen
|
||||
private Kartenhand kartenstapel = new Kartenhand(); // Stapel mit unbenutzen Karten
|
||||
// Ende Attribute
|
||||
|
||||
public Spielleitung() {
|
||||
spieler = new ArrayList<Spieler>();
|
||||
kartenstapel.erzeugeKartenblatt(); // Kartenstapel erzeugen.
|
||||
|
||||
Spieler croupier = new Spieler(0); // erzeuge Croupier (mit Guthaben 0)
|
||||
addSpieler(croupier); // Croupier ist immer erster Spieler
|
||||
}
|
||||
|
||||
// Anfang Methoden
|
||||
|
||||
/** Meldet Spieler bei der Spielleitung an. Der Spieler wird ueber die Spielleitung informiert.
|
||||
* @param s Spieler, der am Spiel teilnehmen muechte.
|
||||
*/
|
||||
public void addSpieler(Spieler s) {
|
||||
s.setSpielleiter(this);
|
||||
spieler.add(s);
|
||||
}
|
||||
|
||||
/** Wertet eine Runde aus. Dazu bekommt der Dealer seine Karte. Er zieht so lange Karten bis er
|
||||
mindestens 17 Punkte erreicht hat. Danach wird ermittelt, welche Spieler gewonnen haben. Die
|
||||
Spieler werden ueber Gewinn oder Niederlage informiert.
|
||||
*/
|
||||
public void auswerten() {
|
||||
// Dealer erhuelt seine Karten
|
||||
Kartenhand dealer = spieler.get(0).getKarten();
|
||||
while (dealer.getSumme()<17) {
|
||||
spieler.get(0).zieheKarte();
|
||||
} // end of while
|
||||
|
||||
// Gewinne ermitteln
|
||||
|
||||
for (Spieler s: spieler) {
|
||||
Kartenhand k = s.getKarten();
|
||||
double gewinnfaktor = 0;
|
||||
if (k.getSumme()<=21) { // nur wer kleiner 22 kann gewinnen
|
||||
if (dealer.getSumme()>21) { // Dealer hat sich ueberkauft
|
||||
gewinnfaktor = 2; // Man gewinnt einfachen Einsatz
|
||||
}
|
||||
if (k.getSumme()>dealer.getSumme()) { // Spieler hat mehr Punkte als Dealer
|
||||
gewinnfaktor = 2; // Man gewinnt einfachen Einsatz
|
||||
}
|
||||
if (!k.isBlackJack() && k.getSumme() == dealer.getSumme() && !dealer.isBlackJack()) { // Gleichstand und kein BlackJack bei Dealer
|
||||
gewinnfaktor = 1; // Unentschieden. Man erhuelt Einsatz zurueck
|
||||
}
|
||||
if (k.isBlackJack() && dealer.isBlackJack()) { // BlackJack gewinn nur, wenn Dealer keinen BlackJack hat
|
||||
gewinnfaktor = 1; // Unentschieden
|
||||
} // end of if
|
||||
if (k.isBlackJack() && !dealer.isBlackJack()) { // BlackJack gewinn nur, wenn Dealer keinen BlackJack hat
|
||||
gewinnfaktor = 2.5; // Man gewinnt 1,5 fachen Einsatz
|
||||
} // end of if
|
||||
if (k.isTripleSeven()) { // Triple-Seven gewinnt auch bei Punktegleichstand (auch gegen BlackJack des Dealers)
|
||||
gewinnfaktor = 2.5; // Man gewinnt 1,5 fachen Einsatz
|
||||
}
|
||||
}
|
||||
s.abrechnen(gewinnfaktor);
|
||||
} // end of for
|
||||
|
||||
}
|
||||
|
||||
/** Zieht eine Karte vom Kartenstapel.
|
||||
* @return Referenz auf die gezogene Karte
|
||||
*/
|
||||
public Karte getKarte() {
|
||||
return kartenstapel.remove();
|
||||
}
|
||||
|
||||
/** Liefert eine Referenz auf den Croupier
|
||||
* @return Referenz auf den Croupier
|
||||
*/
|
||||
public Spieler getCroupier() {
|
||||
return spieler.get(0); // Spieler 0 ist immer der Croupier
|
||||
}
|
||||
|
||||
/** Liefert eine Refernz auf einen Spieler
|
||||
* @param nr Nummer des Spielers (1-n)
|
||||
* @return Referenz auf nr. Spieler
|
||||
*/
|
||||
public Spieler getSpieler(int nr) {
|
||||
return spieler.get(nr); // Spieler 0 ist immer der Croupier
|
||||
}
|
||||
|
||||
/** Eine neue Runde wird gestartet.
|
||||
* Alle Spieler werden ueber die neue Runde informiert (die alten Kartenhuende werden geluescht) und
|
||||
* kontrolliert, ob noch genuegend Karten auf dem Stapel sind.
|
||||
*/
|
||||
public void neueRunde() {
|
||||
// Spieler informieren
|
||||
for (Spieler s : spieler) {
|
||||
s.neueRunde();
|
||||
} // end of for
|
||||
// Kartenstapel kontrollieren
|
||||
if (kartenstapel.getAnzahl()<100) {
|
||||
kartenstapel.erzeugeKartenblatt();
|
||||
} // end of if
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
}
|
||||
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/10.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/100.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/101.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/102.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/103.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/11.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/110.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/111.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/112.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/113.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/12.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/120.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/121.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/122.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/123.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/13.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/130.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/131.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/132.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/133.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/20.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/21.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/22.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/23.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/30.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/31.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/32.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/33.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/40.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/41.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/42.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/43.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/50.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/51.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/52.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/53.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/60.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/61.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/62.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/63.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/70.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/71.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/72.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/73.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/80.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/81.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/82.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/83.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/90.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/91.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/92.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Software/alg_oo_blackjack/01_BlackJack_Loes/bilder/93.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
|
|
@ -0,0 +1,4 @@
|
|||
http://nicubunu.ro/cards/?gallery=ornamental
|
||||
Autor: Nicu Buculei
|
||||
Lizenz: Public Domain (kein Nachweis notwendig)
|
||||
Abrufdatum: 22.06.2019
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="BlackJackGUI.html" title="class in <Unnamed>" target="classFrame">BlackJackGUI</a></li>
|
||||
<li><a href="Karte.html" title="class in <Unnamed>" target="classFrame">Karte</a></li>
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>" target="classFrame">Kartenhand</a></li>
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>" target="classFrame">KartenPanel</a></li>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Spielleitung.html" title="class in <Unnamed>" target="classFrame">Spielleitung</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></li>
|
||||
<li><a href="Karte.html" title="class in <Unnamed>">Karte</a></li>
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></li>
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a></li>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></li>
|
||||
<li><a href="Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -0,0 +1,674 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>BlackJackGUI</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="BlackJackGUI";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?BlackJackGUI.html" target="_top">Frames</a></li>
|
||||
<li><a href="BlackJackGUI.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JFrame">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class BlackJackGUI" class="title">Class BlackJackGUI</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Component</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Container</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Window</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Frame</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>javax.swing.JFrame</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>BlackJackGUI</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">BlackJackGUI</span>
|
||||
extends javax.swing.JFrame</pre>
|
||||
<div class="block">GUI für das Kartenspiel BlackJack
|
||||
Die GUI ist für vier Spieler realisiert. Jeder Spieler kann einen Betrag setzen.
|
||||
Daraufhin erhält er zwei Karten. Er kann weitere Karten ziehen oder aufhören.
|
||||
Wenn alle Spieler fertig sind, bekommt der Dealer seine Karten und der
|
||||
Gewinn wird ermittelt.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 20.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd>
|
||||
<dt><span class="strong">See Also:</span></dt><dd><a href="serialized-form.html#BlackJackGUI">Serialized Form</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class javax.swing.JFrame</h3>
|
||||
<code>javax.swing.JFrame.AccessibleJFrame</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Frame</h3>
|
||||
<code>java.awt.Frame.AccessibleAWTFrame</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Window">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Window</h3>
|
||||
<code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
||||
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
||||
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class javax.swing.JFrame</h3>
|
||||
<code>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class java.awt.Frame</h3>
|
||||
<code>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class java.awt.Component</h3>
|
||||
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface javax.swing.WindowConstants</h3>
|
||||
<code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
||||
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="BlackJackGUI.html#BlackJackGUI(java.lang.String)">BlackJackGUI</a></strong>(java.lang.String title)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBAuswerten_ActionPerformed(java.awt.event.ActionEvent)">jBAuswerten_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn der Auswerten-Button beim Dealer gedrückt wird.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBNeu_ActionPerformed(java.awt.event.ActionEvent)">jBNeu_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn der "Neues Spiel"-Button beim Dealer gedrückt wird.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler1Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Beende_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Beenden" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler1Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Setzen_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Setzen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler1Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Ziehe_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Karten ziehen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler2Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Beende_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Beenden" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler2Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Setzen_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Setzen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler2Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Ziehe_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Karten ziehen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler3Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Beende_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Beenden" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler3Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Setzen_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Setzen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler3Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Ziehe_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Karten ziehen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler4Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Beende_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Beenden" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler4Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Setzen_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Setzen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBSpieler4Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Ziehe_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Karten ziehen" gedrückt hat</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#jBStart_ActionPerformed(java.awt.event.ActionEvent)">jBStart_ActionPerformed</a></strong>(java.awt.event.ActionEvent evt)</code>
|
||||
<div class="block">Aktion, wenn alle Spieler gesetzt haben und beim Dealer "Start" gedrückt wurde</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#main(java.lang.String[])">main</a></strong>(java.lang.String[] args)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="BlackJackGUI.html#showSpieler()">showSpieler</a></strong>()</code>
|
||||
<div class="block">Zeigt die Informationen (Guthaben und Kartenwert) über die Spieler an.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JFrame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class javax.swing.JFrame</h3>
|
||||
<code>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Frame">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Frame</h3>
|
||||
<code>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Window</h3>
|
||||
<code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Container</h3>
|
||||
<code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Component</h3>
|
||||
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.MenuContainer">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.awt.MenuContainer</h3>
|
||||
<code>getFont, postEvent</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="BlackJackGUI(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>BlackJackGUI</h4>
|
||||
<pre>public BlackJackGUI(java.lang.String title)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="showSpieler()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>showSpieler</h4>
|
||||
<pre>public void showSpieler()</pre>
|
||||
<div class="block">Zeigt die Informationen (Guthaben und Kartenwert) über die Spieler an.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBStart_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBStart_ActionPerformed</h4>
|
||||
<pre>public void jBStart_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn alle Spieler gesetzt haben und beim Dealer "Start" gedrückt wurde</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBAuswerten_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBAuswerten_ActionPerformed</h4>
|
||||
<pre>public void jBAuswerten_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn der Auswerten-Button beim Dealer gedrückt wird.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBNeu_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBNeu_ActionPerformed</h4>
|
||||
<pre>public void jBNeu_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn der "Neues Spiel"-Button beim Dealer gedrückt wird.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler1Setzen_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Setzen_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler1Setzen_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Setzen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler2Setzen_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Setzen_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler2Setzen_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Setzen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler3Setzen_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Setzen_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler3Setzen_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Setzen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler4Setzen_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Setzen_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler4Setzen_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Setzen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler1Ziehe_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Ziehe_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler1Ziehe_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Karten ziehen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler2Ziehe_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Ziehe_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler2Ziehe_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Karten ziehen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler3Ziehe_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Ziehe_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler3Ziehe_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Karten ziehen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler4Ziehe_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Ziehe_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler4Ziehe_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Karten ziehen" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler1Beende_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Beende_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler1Beende_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Beenden" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler2Beende_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Beende_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler2Beende_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Beenden" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler3Beende_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Beende_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler3Beende_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Beenden" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="jBSpieler4Beende_ActionPerformed(java.awt.event.ActionEvent)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Beende_ActionPerformed</h4>
|
||||
<pre>public void jBSpieler4Beende_ActionPerformed(java.awt.event.ActionEvent evt)</pre>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Beenden" gedrückt hat</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="main(java.lang.String[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>main</h4>
|
||||
<pre>public static void main(java.lang.String[] args)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?BlackJackGUI.html" target="_top">Frames</a></li>
|
||||
<li><a href="BlackJackGUI.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JFrame">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JFrame">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,208 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<em>This help file applies to API documentation generated using the standard doclet.</em></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,410 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Index</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="contentContainer"><a href="#_A_">A</a> <a href="#_B_">B</a> <a href="#_E_">E</a> <a href="#_G_">G</a> <a href="#_I_">I</a> <a href="#_J_">J</a> <a href="#_K_">K</a> <a href="#_M_">M</a> <a href="#_N_">N</a> <a href="#_P_">P</a> <a href="#_R_">R</a> <a href="#_S_">S</a> <a href="#_T_">T</a> <a href="#_Z_">Z</a> <a name="_A_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#abrechnen(double)">abrechnen(double)</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Rechnet den Gewinn des Spielers ab, da er gewonnen hat.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#add(Karte)">add(Karte)</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Fügt der Hand eine Karte hinzu.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#addSpieler(Spieler)">addSpieler(Spieler)</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Meldet Spieler bei der Spielleitung an.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#auswerten()">auswerten()</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Wertet eine Runde aus.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_B_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">B</h2>
|
||||
<dl>
|
||||
<dt><a href="./BlackJackGUI.html" title="class in <Unnamed>"><span class="strong">BlackJackGUI</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">GUI für das Kartenspiel BlackJack
|
||||
Die GUI ist für vier Spieler realisiert.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#BlackJackGUI(java.lang.String)">BlackJackGUI(String)</a></span> - Constructor for class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_E_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">E</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#erzeugeKartenblatt()">erzeugeKartenblatt()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt einen gemischten Kartenstapel mit 6 Kartenblättern a 52 Karten.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_G_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">G</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#getAnzahl()">getAnzahl()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Anzahl der Karten auf der Hand.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#getCroupier()">getCroupier()</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert eine Referenz auf den Croupier</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Karte.html#getFarbe()">getFarbe()</a></span> - Method in class <a href="./Karte.html" title="class in <Unnamed>">Karte</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Farbe der Karte</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getGuthaben()">getGuthaben()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert das aktuelle Guthaben des Spielers.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#getKarte(int)">getKarte(int)</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert eine Karte aus der Kartenhand.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#getKarte()">getKarte()</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Zieht eine Karte vom Kartenstapel.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#getKarten()">getKarten()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert eine Referenz auf die Kartenhand.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#getSpieler(int)">getSpieler(int)</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert eine Refernz auf einen Spieler</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#getSumme()">getSumme()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert die Summe der Kartenwerte.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Karte.html#getWert()">getWert()</a></span> - Method in class <a href="./Karte.html" title="class in <Unnamed>">Karte</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert den Wert der Karte</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_I_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">I</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#isBlackJack()">isBlackJack()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Testet, ob die Kartenhand ein Blackjack ist</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#isTripleSeven()">isTripleSeven()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Testet, ob die Kartenhand eine Triple-7 ist</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_J_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">J</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBAuswerten_ActionPerformed(java.awt.event.ActionEvent)">jBAuswerten_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn der Auswerten-Button beim Dealer gedrückt wird.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBNeu_ActionPerformed(java.awt.event.ActionEvent)">jBNeu_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn der "Neues Spiel"-Button beim Dealer gedrückt wird.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler1Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Beende_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Beenden" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler1Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Setzen_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Setzen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler1Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler1Ziehe_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 1 "Karten ziehen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler2Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Beende_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Beenden" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler2Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Setzen_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Setzen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler2Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler2Ziehe_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 2 "Karten ziehen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler3Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Beende_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Beenden" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler3Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Setzen_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Setzen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler3Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler3Ziehe_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 3 "Karten ziehen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler4Beende_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Beende_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Beenden" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler4Setzen_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Setzen_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Setzen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBSpieler4Ziehe_ActionPerformed(java.awt.event.ActionEvent)">jBSpieler4Ziehe_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn Spieler 4 "Karten ziehen" gedrückt hat</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#jBStart_ActionPerformed(java.awt.event.ActionEvent)">jBStart_ActionPerformed(ActionEvent)</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Aktion, wenn alle Spieler gesetzt haben und beim Dealer "Start" gedrückt wurde</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_K_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">K</h2>
|
||||
<dl>
|
||||
<dt><a href="./Karte.html" title="class in <Unnamed>"><span class="strong">Karte</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert die Informationen über eine Karte für ein Kartenspiel.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Karte.html#Karte(int, int)">Karte(int, int)</a></span> - Constructor for class <a href="./Karte.html" title="class in <Unnamed>">Karte</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt eine Karte.</div>
|
||||
</dd>
|
||||
<dt><a href="./Kartenhand.html" title="class in <Unnamed>"><span class="strong">Kartenhand</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Speichert eine Reihe von Spielkarten für BlackJack.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#Kartenhand()">Kartenhand()</a></span> - Constructor for class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="./KartenPanel.html" title="class in <Unnamed>"><span class="strong">KartenPanel</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Panel zum Anzeigen der Kartenhand eines Spielers (für BlackJack)
|
||||
Angezeigt werden die Bilder im Unterverzeichnis bilder.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./KartenPanel.html#KartenPanel()">KartenPanel()</a></span> - Constructor for class <a href="./KartenPanel.html" title="class in <Unnamed>">KartenPanel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt ein Panel zur Anzeige einer Kartenhand.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_M_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">M</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_N_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">N</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#neueRunde()">neueRunde()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Eine neue Runde wird begonnen.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#neueRunde()">neueRunde()</a></span> - Method in class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd>
|
||||
<div class="block">Eine neue Runde wird gestartet.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_P_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">P</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./KartenPanel.html#paint(java.awt.Graphics)">paint(Graphics)</a></span> - Method in class <a href="./KartenPanel.html" title="class in <Unnamed>">KartenPanel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Zeichnet die Karten auf einen gegebenen Grafikkontext.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_R_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">R</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#remove()">remove()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Entfernt die oberste Karte von der Kartenhand.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_S_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">S</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./KartenPanel.html#setSpieler(Spieler)">setSpieler(Spieler)</a></span> - Method in class <a href="./KartenPanel.html" title="class in <Unnamed>">KartenPanel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Setzt eine Referenz auf den Spieler, dessen Kartenhand angezeigt werden soll.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#setSpielleiter(Spielleitung)">setSpielleiter(Spielleitung)</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Referenz auf Spielleiter setzen.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#setze(int)">setze(int)</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Setzt den Einsatz für das nächste Spiel.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./BlackJackGUI.html#showSpieler()">showSpieler()</a></span> - Method in class <a href="./BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Zeigt die Informationen (Guthaben und Kartenwert) über die Spieler an.</div>
|
||||
</dd>
|
||||
<dt><a href="./Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Die Klasse Spieler speichert die Daten eines Spielers für das Spiel BlackJack.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spieler.html#Spieler(int)">Spieler(int)</a></span> - Constructor for class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Erzeugt einen Spieler mit einem bestimmten Startguthaben.</div>
|
||||
</dd>
|
||||
<dt><a href="./Spielleitung.html" title="class in <Unnamed>"><span class="strong">Spielleitung</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||||
<dd>
|
||||
<div class="block">Spielleitung für das Kartenspiel BlackJack.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Spielleitung.html#Spielleitung()">Spielleitung()</a></span> - Constructor for class <a href="./Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="_T_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">T</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Karte.html#toString()">toString()</a></span> - Method in class <a href="./Karte.html" title="class in <Unnamed>">Karte</a></dt>
|
||||
<dd>
|
||||
<div class="block">Liefert eine Textbeschreibung der Karte.</div>
|
||||
</dd>
|
||||
<dt><span class="strong"><a href="./Kartenhand.html#toString()">toString()</a></span> - Method in class <a href="./Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></dt>
|
||||
<dd>
|
||||
<div class="block">Die Kartenhand wird als String zurückgegeben.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="_Z_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">Z</h2>
|
||||
<dl>
|
||||
<dt><span class="strong"><a href="./Spieler.html#zieheKarte()">zieheKarte()</a></span> - Method in class <a href="./Spieler.html" title="class in <Unnamed>">Spieler</a></dt>
|
||||
<dd>
|
||||
<div class="block">Der Spieler wünscht eine weitere Karte.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#_A_">A</a> <a href="#_B_">B</a> <a href="#_E_">E</a> <a href="#_G_">G</a> <a href="#_I_">I</a> <a href="#_J_">J</a> <a href="#_K_">K</a> <a href="#_M_">M</a> <a href="#_N_">N</a> <a href="#_P_">P</a> <a href="#_R_">R</a> <a href="#_S_">S</a> <a href="#_T_">T</a> <a href="#_Z_">Z</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="./package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="./overview-tree.html">Tree</a></li>
|
||||
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="./help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||||
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<frame src="BlackJackGUI.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="BlackJackGUI.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,304 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Karte</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Karte";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="BlackJackGUI.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Karte.html" target="_top">Frames</a></li>
|
||||
<li><a href="Karte.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Karte" class="title">Class Karte</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Karte</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Karte</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert die Informationen über eine Karte für ein Kartenspiel.
|
||||
Jede Karte ist über eine Kartenfarbe und einen Kartenwert festgelegt.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Karte.html#Karte(int, int)">Karte</a></strong>(int farbe,
|
||||
int wert)</code>
|
||||
<div class="block">Erzeugt eine Karte.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Karte.html#getFarbe()">getFarbe</a></strong>()</code>
|
||||
<div class="block">Liefert die Farbe der Karte</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Karte.html#getWert()">getWert</a></strong>()</code>
|
||||
<div class="block">Liefert den Wert der Karte</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="Karte.html#toString()">toString</a></strong>()</code>
|
||||
<div class="block">Liefert eine Textbeschreibung der Karte.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Karte(int, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Karte</h4>
|
||||
<pre>public Karte(int farbe,
|
||||
int wert)</pre>
|
||||
<div class="block">Erzeugt eine Karte.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>farbe</code> - Farbe (0=Kreuz, 1=Pik, 2=Herz, 3=Karo)</dd><dd><code>wert</code> - Kartenwert (1=Ass, 2=Zwei,...,10=Zehn, 11=Bube, 12=Dame, 13=König)</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getWert()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWert</h4>
|
||||
<pre>public int getWert()</pre>
|
||||
<div class="block">Liefert den Wert der Karte</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Kartenwert (1=Ass, 2=Zwei,...,10=Zehn, 11=Bube, 12=Dame, 13=König)</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getFarbe()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFarbe</h4>
|
||||
<pre>public int getFarbe()</pre>
|
||||
<div class="block">Liefert die Farbe der Karte</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Kartenfarbe (0=Kreuz, 1=Pik, 2=Herz, 3=Karo)</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<div class="block">Liefert eine Textbeschreibung der Karte. Dies ist zum Testen der Klassen hilfreich.</div>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>Kartenbeschreibung (z.B. Kreuz 3)</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="BlackJackGUI.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Karte.html" target="_top">Frames</a></li>
|
||||
<li><a href="Karte.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,405 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Kartenhand</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Kartenhand";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Kartenhand.html" target="_top">Frames</a></li>
|
||||
<li><a href="Kartenhand.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Kartenhand" class="title">Class Kartenhand</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Kartenhand</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Kartenhand</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Speichert eine Reihe von Spielkarten für BlackJack. Damit kann
|
||||
sowohl die Hand eines Spielers als auch des Dealers abgespeichert werden.
|
||||
Es ist möglich, den Wert der Kartenhand zu ermitteln und festzustellen, ob es
|
||||
sich um eine Triple-7 handelt.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 27.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Kartenhand.html#Kartenhand()">Kartenhand</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#add(Karte)">add</a></strong>(<a href="Karte.html" title="class in <Unnamed>">Karte</a> k)</code>
|
||||
<div class="block">Fügt der Hand eine Karte hinzu.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#erzeugeKartenblatt()">erzeugeKartenblatt</a></strong>()</code>
|
||||
<div class="block">Erzeugt einen gemischten Kartenstapel mit 6 Kartenblättern a 52 Karten.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#getAnzahl()">getAnzahl</a></strong>()</code>
|
||||
<div class="block">Liefert die Anzahl der Karten auf der Hand.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="Karte.html" title="class in <Unnamed>">Karte</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#getKarte(int)">getKarte</a></strong>(int nr)</code>
|
||||
<div class="block">Liefert eine Karte aus der Kartenhand.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#getSumme()">getSumme</a></strong>()</code>
|
||||
<div class="block">Liefert die Summe der Kartenwerte.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#isBlackJack()">isBlackJack</a></strong>()</code>
|
||||
<div class="block">Testet, ob die Kartenhand ein Blackjack ist</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#isTripleSeven()">isTripleSeven</a></strong>()</code>
|
||||
<div class="block">Testet, ob die Kartenhand eine Triple-7 ist</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="Karte.html" title="class in <Unnamed>">Karte</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#remove()">remove</a></strong>()</code>
|
||||
<div class="block">Entfernt die oberste Karte von der Kartenhand.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="Kartenhand.html#toString()">toString</a></strong>()</code>
|
||||
<div class="block">Die Kartenhand wird als String zurückgegeben.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Kartenhand()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Kartenhand</h4>
|
||||
<pre>public Kartenhand()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="erzeugeKartenblatt()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>erzeugeKartenblatt</h4>
|
||||
<pre>public void erzeugeKartenblatt()</pre>
|
||||
<div class="block">Erzeugt einen gemischten Kartenstapel mit 6 Kartenblättern a 52 Karten.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="add(Karte)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre>public void add(<a href="Karte.html" title="class in <Unnamed>">Karte</a> k)</pre>
|
||||
<div class="block">Fügt der Hand eine Karte hinzu. Es sind maximal 10 Karten möglich.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>k</code> - Die Karte, die der Hand hinzugefügt werden soll</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="remove()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>remove</h4>
|
||||
<pre>public <a href="Karte.html" title="class in <Unnamed>">Karte</a> remove()</pre>
|
||||
<div class="block">Entfernt die oberste Karte von der Kartenhand.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Referenz auf die oberste Karte</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getAnzahl()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAnzahl</h4>
|
||||
<pre>public int getAnzahl()</pre>
|
||||
<div class="block">Liefert die Anzahl der Karten auf der Hand.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Anzahl der Karten</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSumme()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSumme</h4>
|
||||
<pre>public int getSumme()</pre>
|
||||
<div class="block">Liefert die Summe der Kartenwerte. Dabei werden die Asse so
|
||||
gewertet, dass es für den Spieler optimal ist, d.h. sie werden als 11 gewertet,
|
||||
solange die 21 nicht überschritten ist.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Summe der Kartenwerte</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getKarte(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKarte</h4>
|
||||
<pre>public <a href="Karte.html" title="class in <Unnamed>">Karte</a> getKarte(int nr)</pre>
|
||||
<div class="block">Liefert eine Karte aus der Kartenhand. Der Benutzer ist dafür verantwortlich,
|
||||
nur Karten abzufragen, die es auch gibt.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nr</code> - Nummer der Karte, die geliefert werden soll</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>Referenz auf Karte</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isBlackJack()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isBlackJack</h4>
|
||||
<pre>public boolean isBlackJack()</pre>
|
||||
<div class="block">Testet, ob die Kartenhand ein Blackjack ist</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true, falls es sich um einen Blackjack handelt, sonst false</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isTripleSeven()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isTripleSeven</h4>
|
||||
<pre>public boolean isTripleSeven()</pre>
|
||||
<div class="block">Testet, ob die Kartenhand eine Triple-7 ist</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true, falls die Kartenhand genau 3x Siebener enthält, sonst false</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<div class="block">Die Kartenhand wird als String zurückgegeben. Das ist zum Testen der Klassen hilfreich.</div>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>Die Beschreibungen der Karten durch Kommas getrennt.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Kartenhand.html" target="_top">Frames</a></li>
|
||||
<li><a href="Kartenhand.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,405 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>KartenPanel</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="KartenPanel";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?KartenPanel.html" target="_top">Frames</a></li>
|
||||
<li><a href="KartenPanel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JPanel">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JComponent">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class KartenPanel" class="title">Class KartenPanel</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Component</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.awt.Container</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>javax.swing.JComponent</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>javax.swing.JPanel</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>KartenPanel</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">KartenPanel</span>
|
||||
extends javax.swing.JPanel</pre>
|
||||
<div class="block">Panel zum Anzeigen der Kartenhand eines Spielers (für BlackJack)
|
||||
Angezeigt werden die Bilder im Unterverzeichnis bilder. Dabei müssen
|
||||
die Karten von 10.png - 14.png (Ass Kreuz-Ass Karo) bis 130.png - 134.png
|
||||
(König Kreuz - König Karo) benannt sein.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 16.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd>
|
||||
<dt><span class="strong">See Also:</span></dt><dd><a href="serialized-form.html#KartenPanel">Serialized Form</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JPanel">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class javax.swing.JPanel</h3>
|
||||
<code>javax.swing.JPanel.AccessibleJPanel</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JComponent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class javax.swing.JComponent</h3>
|
||||
<code>javax.swing.JComponent.AccessibleJComponent</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
||||
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
||||
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JComponent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class javax.swing.JComponent</h3>
|
||||
<code>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class java.awt.Component</h3>
|
||||
<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
||||
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="KartenPanel.html#KartenPanel()">KartenPanel</a></strong>()</code>
|
||||
<div class="block">Erzeugt ein Panel zur Anzeige einer Kartenhand.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="KartenPanel.html#paint(java.awt.Graphics)">paint</a></strong>(java.awt.Graphics g)</code>
|
||||
<div class="block">Zeichnet die Karten auf einen gegebenen Grafikkontext.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="KartenPanel.html#setSpieler(Spieler)">setSpieler</a></strong>(<a href="Spieler.html" title="class in <Unnamed>">Spieler</a> spieler)</code>
|
||||
<div class="block">Setzt eine Referenz auf den Spieler, dessen Kartenhand angezeigt werden soll.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JPanel">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class javax.swing.JPanel</h3>
|
||||
<code>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JComponent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class javax.swing.JComponent</h3>
|
||||
<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Container</h3>
|
||||
<code>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.awt.Component</h3>
|
||||
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="KartenPanel()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>KartenPanel</h4>
|
||||
<pre>public KartenPanel()</pre>
|
||||
<div class="block">Erzeugt ein Panel zur Anzeige einer Kartenhand.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="setSpieler(Spieler)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSpieler</h4>
|
||||
<pre>public void setSpieler(<a href="Spieler.html" title="class in <Unnamed>">Spieler</a> spieler)</pre>
|
||||
<div class="block">Setzt eine Referenz auf den Spieler, dessen Kartenhand angezeigt werden soll.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spieler</code> - Spieler, dessen Hand angezeigt werden soll.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="paint(java.awt.Graphics)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>paint</h4>
|
||||
<pre>public void paint(java.awt.Graphics g)</pre>
|
||||
<div class="block">Zeichnet die Karten auf einen gegebenen Grafikkontext. Es werden die Bilder
|
||||
aus dem Unterverzeichnis bilder angezeigt.</div>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>paint</code> in class <code>javax.swing.JComponent</code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>g</code> - Grafikkontext, auf den gezeichnet werden soll.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?KartenPanel.html" target="_top">Frames</a></li>
|
||||
<li><a href="KartenPanel.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_javax.swing.JPanel">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_javax.swing.JComponent">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,153 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Container
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JComponent (implements java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JPanel (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle"><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">KartenPanel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
|
||||
<ul>
|
||||
<li type="circle"><a href="BlackJackGUI.html" title="class in <Unnamed>"><span class="strong">BlackJackGUI</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle"><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Karte</span></a></li>
|
||||
<li type="circle"><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Kartenhand</span></a></li>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Spielleitung.html" title="class in <Unnamed>"><span class="strong">Spielleitung</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>&lt;Unnamed&gt;</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="package-summary.html" target="classFrame"><Unnamed></a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="BlackJackGUI.html" title="class in <Unnamed>" target="classFrame">BlackJackGUI</a></li>
|
||||
<li><a href="Karte.html" title="class in <Unnamed>" target="classFrame">Karte</a></li>
|
||||
<li><a href="Kartenhand.html" title="class in <Unnamed>" target="classFrame">Kartenhand</a></li>
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>" target="classFrame">KartenPanel</a></li>
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>" target="classFrame">Spieler</a></li>
|
||||
<li><a href="Spielleitung.html" title="class in <Unnamed>" target="classFrame">Spielleitung</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,156 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">GUI für das Kartenspiel BlackJack
|
||||
Die GUI ist für vier Spieler realisiert.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Karte.html" title="class in <Unnamed>">Karte</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert die Informationen über eine Karte für ein Kartenspiel.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Speichert eine Reihe von Spielkarten für BlackJack.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Panel zum Anzeigen der Kartenhand eines Spielers (für BlackJack)
|
||||
Angezeigt werden die Bilder im Unterverzeichnis bilder.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Die Klasse Spieler speichert die Daten eines Spielers für das Spiel BlackJack.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="Spielleitung.html" title="class in <Unnamed>">Spielleitung</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Spielleitung für das Kartenspiel BlackJack.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,153 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title> Class Hierarchy</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title=" Class Hierarchy";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.Object
|
||||
<ul>
|
||||
<li type="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Container
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JComponent (implements java.io.Serializable)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JPanel (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle"><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">KartenPanel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">java.awt.Window (implements javax.accessibility.Accessible)
|
||||
<ul>
|
||||
<li type="circle">java.awt.Frame (implements java.awt.MenuContainer)
|
||||
<ul>
|
||||
<li type="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
|
||||
<ul>
|
||||
<li type="circle"><a href="BlackJackGUI.html" title="class in <Unnamed>"><span class="strong">BlackJackGUI</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle"><a href="Karte.html" title="class in <Unnamed>"><span class="strong">Karte</span></a></li>
|
||||
<li type="circle"><a href="Kartenhand.html" title="class in <Unnamed>"><span class="strong">Kartenhand</span></a></li>
|
||||
<li type="circle"><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Spieler</span></a></li>
|
||||
<li type="circle"><a href="Spielleitung.html" title="class in <Unnamed>"><span class="strong">Spielleitung</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 849 B |
|
|
@ -0,0 +1,50 @@
|
|||
user:Benutzer[a]
|
||||
spielleitung:Spielleitung
|
||||
kartenstapel:Kartenhand
|
||||
spielerX:Spieler
|
||||
karten:Kartenhand
|
||||
croupier:Spieler
|
||||
karten_:Kartenhand
|
||||
karteX:Karte
|
||||
|
||||
user:spielleitung.auswerten()
|
||||
spielleitung:dealer=croupier.getKarten()
|
||||
spielleitung:karten_.dealer.getSumme()
|
||||
[c: bis Dealer mind. 17 Punkte hat]
|
||||
spielleitung:croupier.zieheKarte()
|
||||
croupier:karte=spielleitung.getKarte()
|
||||
spielleitung:karte=kartenstapel.remove()
|
||||
croupier:karten_.add(karte)
|
||||
[/c]
|
||||
|
||||
[c: Für jeden Mitspieler]
|
||||
spielleitung:k=spielerX.getKarten()
|
||||
spielleitung:karten.k.getSumme()
|
||||
[c: Für jede Karte]
|
||||
karten:karteX.getWert()
|
||||
[/c]
|
||||
spielleitung:karten_.dealer.getSumme()
|
||||
[c: Für jede Karte]
|
||||
karten_:karteX.getWert()
|
||||
[/c]
|
||||
spielleitung:karten[a].k.isspielleitung()
|
||||
karten[a]:karten[b].getSumme()
|
||||
[c: Für jede Karte]
|
||||
karten[b]:karteX.getWert()
|
||||
[/c]
|
||||
spielleitung:karten_[a].dealer.isspielleitung()
|
||||
karten_[a]:karten_[b].getSumme()
|
||||
[c: Für jede Karte]
|
||||
karten_[b]:karteX.getWert()
|
||||
[/c]
|
||||
spielleitung:karten.k.isTripleSeven()
|
||||
[c: Für jede Karte]
|
||||
karten:karteX.getWert()
|
||||
[/c]
|
||||
spielleitung:spielerX.abrechnen(gewinnfaktor)
|
||||
|
||||
[/c]
|
||||
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 58 KiB |
|
|
@ -0,0 +1,18 @@
|
|||
user:Benutzer[a]
|
||||
spielleitung:Spielleitung
|
||||
kartenstapel:Kartenhand
|
||||
/karteX:Karte
|
||||
spielerX:Spieler
|
||||
/kartenX:Kartenhand
|
||||
|
||||
user:spielleitung.neueRunde()
|
||||
[c: Für jeden Spieler (incl. Croupier)]
|
||||
spielleitung:spielerX.neueRunde()
|
||||
spielerX:kartenX.new
|
||||
[/c]
|
||||
spielleitung:kartenstapel.getAnzahl()
|
||||
[c: Falls weniger als 100 Karten]
|
||||
spielleitung:kartenstapel.erzeugeKartenblatt()
|
||||
|
||||
[/c]
|
||||
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
user:Benutzer[a]
|
||||
spielleitung:Spielleitung
|
||||
s:Spieler
|
||||
karten:Kartenhand
|
||||
|
||||
user:s=spielleitung.getSpieler(x)
|
||||
user:s.setzen(betrag)
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 5.9 KiB |
|
|
@ -0,0 +1,22 @@
|
|||
user:Benutzer[a]
|
||||
spielleitung:Spielleitung
|
||||
kartenstapel:Kartenhand
|
||||
karten0:ArrayList<Karte>
|
||||
s:Spieler
|
||||
karten:Kartenhand
|
||||
karten1:ArrayList<Karte>
|
||||
|
||||
|
||||
[c: 2x für jeden Spieler, der einen Betrag gesetzt hat, und 1x für den Croupier]
|
||||
user:s=spielleitung.get(i)/getCroupier()
|
||||
user:s.zieheKarte()
|
||||
s:karte=spielleitung.getKarte()
|
||||
spielleitung:karte=kartenstapel.remove()
|
||||
kartenstapel:letzter=karten0.size()
|
||||
kartenstapel:karten0.remove(letzter-1)
|
||||
s:karten.add(karte)
|
||||
karten:karten1.add(karte)
|
||||
[/c]
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 22 KiB |
|
|
@ -0,0 +1,31 @@
|
|||
user:Benutzer[a]
|
||||
/spielleitung:Spielleitung
|
||||
/croupier:Spieler
|
||||
/karten:Kartenhand
|
||||
/karten0:ArrayList<Karte>
|
||||
/kartenstapel:Kartenhand
|
||||
/karten1:ArrayList<Karte>
|
||||
/karte:Karte
|
||||
/spieler1:Spieler
|
||||
/spieler2:Spieler
|
||||
|
||||
user:spielleitung[a].new
|
||||
spielleitung[a]:croupier.new
|
||||
croupier:karten.new
|
||||
karten:karten0.new
|
||||
spielleitung[a]:spielleitung[b].setSpieler(croupier)
|
||||
spielleitung[b]:croupier.setSpielleiter(blackjack)
|
||||
spielleitung[a]:kartenstapel.new
|
||||
kartenstapel:karten1.new
|
||||
spielleitung[a]:kartenstapel.erzeugeKartenblatt()
|
||||
[c: Für alle 312 Karten]
|
||||
kartenstapel:karte.new
|
||||
kartenstapel:karten1.add(karte)
|
||||
[/c]
|
||||
[c: 10000x zum Mischen]
|
||||
kartenstapel:m=karten1.get(j)
|
||||
kartenstapel:n=karten1.get(k)
|
||||
kartenstapel:karten1.set(j,n);
|
||||
kartenstapel:karten1.set(k,m);
|
||||
[/c]
|
||||
|
||||
|
After Width: | Height: | Size: 43 KiB |
|
|
@ -0,0 +1,14 @@
|
|||
user:Benutzer[a]
|
||||
spielleitung:Spielleitung
|
||||
/spielerX:Spieler
|
||||
/karten:Kartenhand
|
||||
/karten0:ArrayList<Karte>
|
||||
|
||||
[c: Für jeden Spieler]
|
||||
user:spielerX.new(Startguthaben)
|
||||
spielerX:karten.new
|
||||
karten:karten0.new
|
||||
user:spielleitung.setSpieler(spieler1)
|
||||
spielleitung:spielerX.setSpielleiter(this)
|
||||
[/c]
|
||||
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -0,0 +1,365 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Serialized Form</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Serialized Form";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
||||
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Serialized Form" class="title">Serialized Form</h1>
|
||||
</div>
|
||||
<div class="serializedFormContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2 title="Package">Package &lt;Unnamed&gt;</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="BlackJackGUI">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="BlackJackGUI.html" title="class in <Unnamed>">BlackJackGUI</a> extends javax.swing.JFrame implements Serializable</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="serializedForm">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Serialized Fields</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>spielleitung</h4>
|
||||
<pre><a href="Spielleitung.html" title="class in <Unnamed>">Spielleitung</a> spielleitung</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jPSpieler1</h4>
|
||||
<pre>javax.swing.JPanel jPSpieler1</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel1</h4>
|
||||
<pre>javax.swing.JLabel jLabel1</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel2</h4>
|
||||
<pre>javax.swing.JLabel jLabel2</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler1Guthaben</h4>
|
||||
<pre>JNumberField jNFSpieler1Guthaben</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel3</h4>
|
||||
<pre>javax.swing.JLabel jLabel3</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler1Einsatz</h4>
|
||||
<pre>JNumberField jNFSpieler1Einsatz</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Setzen</h4>
|
||||
<pre>javax.swing.JButton jBSpieler1Setzen</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>kartenPanel1</h4>
|
||||
<pre><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> kartenPanel1</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Ziehe</h4>
|
||||
<pre>javax.swing.JButton jBSpieler1Ziehe</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler1Beende</h4>
|
||||
<pre>javax.swing.JButton jBSpieler1Beende</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLSpieler1Punkte</h4>
|
||||
<pre>javax.swing.JLabel jLSpieler1Punkte</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jPSpieler2</h4>
|
||||
<pre>javax.swing.JPanel jPSpieler2</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel21</h4>
|
||||
<pre>javax.swing.JLabel jLabel21</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler2Guthaben</h4>
|
||||
<pre>JNumberField jNFSpieler2Guthaben</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel31</h4>
|
||||
<pre>javax.swing.JLabel jLabel31</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler2Einsatz</h4>
|
||||
<pre>JNumberField jNFSpieler2Einsatz</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Setzen</h4>
|
||||
<pre>javax.swing.JButton jBSpieler2Setzen</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel11</h4>
|
||||
<pre>javax.swing.JLabel jLabel11</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>kartenPanel2</h4>
|
||||
<pre><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> kartenPanel2</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLSpieler2Punkte</h4>
|
||||
<pre>javax.swing.JLabel jLSpieler2Punkte</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Ziehe</h4>
|
||||
<pre>javax.swing.JButton jBSpieler2Ziehe</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler2Beende</h4>
|
||||
<pre>javax.swing.JButton jBSpieler2Beende</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLMeldung</h4>
|
||||
<pre>javax.swing.JLabel jLMeldung</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>kartenPanelCroupier</h4>
|
||||
<pre><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> kartenPanelCroupier</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBAuswerten</h4>
|
||||
<pre>javax.swing.JButton jBAuswerten</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBNeu</h4>
|
||||
<pre>javax.swing.JButton jBNeu</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jPSpieler3</h4>
|
||||
<pre>javax.swing.JPanel jPSpieler3</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel211</h4>
|
||||
<pre>javax.swing.JLabel jLabel211</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler3Guthaben</h4>
|
||||
<pre>JNumberField jNFSpieler3Guthaben</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel311</h4>
|
||||
<pre>javax.swing.JLabel jLabel311</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler3Einsatz</h4>
|
||||
<pre>JNumberField jNFSpieler3Einsatz</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Setzen</h4>
|
||||
<pre>javax.swing.JButton jBSpieler3Setzen</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel111</h4>
|
||||
<pre>javax.swing.JLabel jLabel111</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>kartenPanel3</h4>
|
||||
<pre><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> kartenPanel3</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLSpieler3Punkte</h4>
|
||||
<pre>javax.swing.JLabel jLSpieler3Punkte</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Ziehe</h4>
|
||||
<pre>javax.swing.JButton jBSpieler3Ziehe</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler3Beende</h4>
|
||||
<pre>javax.swing.JButton jBSpieler3Beende</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jPSpieler4</h4>
|
||||
<pre>javax.swing.JPanel jPSpieler4</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel212</h4>
|
||||
<pre>javax.swing.JLabel jLabel212</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler4Guthaben</h4>
|
||||
<pre>JNumberField jNFSpieler4Guthaben</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel312</h4>
|
||||
<pre>javax.swing.JLabel jLabel312</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jNFSpieler4Einsatz</h4>
|
||||
<pre>JNumberField jNFSpieler4Einsatz</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Setzen</h4>
|
||||
<pre>javax.swing.JButton jBSpieler4Setzen</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLabel112</h4>
|
||||
<pre>javax.swing.JLabel jLabel112</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>kartenPanel4</h4>
|
||||
<pre><a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> kartenPanel4</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jLSpieler4Punkte</h4>
|
||||
<pre>javax.swing.JLabel jLSpieler4Punkte</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Ziehe</h4>
|
||||
<pre>javax.swing.JButton jBSpieler4Ziehe</pre>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h4>jBSpieler4Beende</h4>
|
||||
<pre>javax.swing.JButton jBSpieler4Beende</pre>
|
||||
</li>
|
||||
<li class="blockListLast">
|
||||
<h4>jBStart</h4>
|
||||
<pre>javax.swing.JButton jBStart</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList"><a name="JNumberField">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class JNumberField extends javax.swing.JTextField implements Serializable</h3>
|
||||
</li>
|
||||
<li class="blockList"><a name="KartenPanel">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class <a href="KartenPanel.html" title="class in <Unnamed>">KartenPanel</a> extends javax.swing.JPanel implements Serializable</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="serializedForm">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Serialized Fields</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>bilder</h4>
|
||||
<pre>java.awt.Image[] bilder</pre>
|
||||
</li>
|
||||
<li class="blockListLast">
|
||||
<h4>spieler</h4>
|
||||
<pre><a href="Spieler.html" title="class in <Unnamed>">Spieler</a> spieler</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList"><a name="NumberField">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Class NumberField extends java.awt.TextField implements Serializable</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
|
||||
<li><a href="serialized-form.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,366 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Spieler</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Spieler";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Spielleitung.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Spieler" class="title">Class Spieler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Spieler</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Spieler</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Die Klasse Spieler speichert die Daten eines Spielers für das Spiel BlackJack.
|
||||
Der Dealer wird dabei auch als Spieler angesehen.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 19.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Spieler.html#Spieler(int)">Spieler</a></strong>(int guthaben)</code>
|
||||
<div class="block">Erzeugt einen Spieler mit einem bestimmten Startguthaben.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#abrechnen(double)">abrechnen</a></strong>(double gewinnfaktor)</code>
|
||||
<div class="block">Rechnet den Gewinn des Spielers ab, da er gewonnen hat.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getGuthaben()">getGuthaben</a></strong>()</code>
|
||||
<div class="block">Liefert das aktuelle Guthaben des Spielers.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Kartenhand.html" title="class in <Unnamed>">Kartenhand</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#getKarten()">getKarten</a></strong>()</code>
|
||||
<div class="block">Liefert eine Referenz auf die Kartenhand.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#neueRunde()">neueRunde</a></strong>()</code>
|
||||
<div class="block">Eine neue Runde wird begonnen.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#setSpielleiter(Spielleitung)">setSpielleiter</a></strong>(<a href="Spielleitung.html" title="class in <Unnamed>">Spielleitung</a> spielleiter)</code>
|
||||
<div class="block">Referenz auf Spielleiter setzen.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#setze(int)">setze</a></strong>(int betrag)</code>
|
||||
<div class="block">Setzt den Einsatz für das nächste Spiel.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spieler.html#zieheKarte()">zieheKarte</a></strong>()</code>
|
||||
<div class="block">Der Spieler wünscht eine weitere Karte.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Spieler(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Spieler</h4>
|
||||
<pre>public Spieler(int guthaben)</pre>
|
||||
<div class="block">Erzeugt einen Spieler mit einem bestimmten Startguthaben. Der Spieler
|
||||
wird mit einer leeren Kartenhand erzeugt.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>guthaben</code> - Startguthaben des Spielers</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="setSpielleiter(Spielleitung)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setSpielleiter</h4>
|
||||
<pre>public void setSpielleiter(<a href="Spielleitung.html" title="class in <Unnamed>">Spielleitung</a> spielleiter)</pre>
|
||||
<div class="block">Referenz auf Spielleiter setzen.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>spielleiter</code> - Referenz auf einen BlackJack-Spielleiter</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getGuthaben()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getGuthaben</h4>
|
||||
<pre>public int getGuthaben()</pre>
|
||||
<div class="block">Liefert das aktuelle Guthaben des Spielers.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Guthaben des Spielers</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setze(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setze</h4>
|
||||
<pre>public void setze(int betrag)</pre>
|
||||
<div class="block">Setzt den Einsatz für das nächste Spiel.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>betrag</code> - eingesetzter Betrag</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="abrechnen(double)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>abrechnen</h4>
|
||||
<pre>public void abrechnen(double gewinnfaktor)</pre>
|
||||
<div class="block">Rechnet den Gewinn des Spielers ab, da er gewonnen hat.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>gewinnfaktor</code> - (0 falls verloren, 1 falls unentschieden, 2 bei normalem Gewinn, 2.5 bei Triple-7 oder Blackjack)</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="neueRunde()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>neueRunde</h4>
|
||||
<pre>public void neueRunde()</pre>
|
||||
<div class="block">Eine neue Runde wird begonnen. Daher bekommt der Spieler wieder eine leere Kartenhand.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getKarten()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKarten</h4>
|
||||
<pre>public <a href="Kartenhand.html" title="class in <Unnamed>">Kartenhand</a> getKarten()</pre>
|
||||
<div class="block">Liefert eine Referenz auf die Kartenhand.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Kartenhand</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="zieheKarte()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>zieheKarte</h4>
|
||||
<pre>public void zieheKarte()</pre>
|
||||
<div class="block">Der Spieler wünscht eine weitere Karte. Diese wird der Kartenhand hinzugefügt.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="KartenPanel.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="Spielleitung.html" title="class in <Unnamed>"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spieler.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spieler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,352 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_03) on Sat Dec 22 15:23:44 CET 2012 -->
|
||||
<title>Spielleitung</title>
|
||||
<meta name="date" content="2012-12-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Spielleitung";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spielleitung.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spielleitung.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<h2 title="Class Spielleitung" class="title">Class Spielleitung</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>Spielleitung</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Spielleitung</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Spielleitung für das Kartenspiel BlackJack.
|
||||
Der Spielleiter verwaltet Referenzen auf die Spieler. Außerdem wird
|
||||
automatisch ein Dealer erzeugt. Blackjack wird mit 6 Kartenblättern
|
||||
gespielt, die komplett gemischt werden. Wenn mehr als 250 Karten
|
||||
verbraucht wurden, kommen alle Karten wieder ins Spiel.</div>
|
||||
<dl><dt><span class="strong">Version:</span></dt>
|
||||
<dd>1.0 vom 20.06.2012</dd>
|
||||
<dt><span class="strong">Author:</span></dt>
|
||||
<dd>Thomas Schaller</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="Spielleitung.html#Spielleitung()">Spielleitung</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#addSpieler(Spieler)">addSpieler</a></strong>(<a href="Spieler.html" title="class in <Unnamed>">Spieler</a> s)</code>
|
||||
<div class="block">Meldet Spieler bei der Spielleitung an.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#auswerten()">auswerten</a></strong>()</code>
|
||||
<div class="block">Wertet eine Runde aus.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#getCroupier()">getCroupier</a></strong>()</code>
|
||||
<div class="block">Liefert eine Referenz auf den Croupier</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="Karte.html" title="class in <Unnamed>">Karte</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#getKarte()">getKarte</a></strong>()</code>
|
||||
<div class="block">Zieht eine Karte vom Kartenstapel.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="Spieler.html" title="class in <Unnamed>">Spieler</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#getSpieler(int)">getSpieler</a></strong>(int nr)</code>
|
||||
<div class="block">Liefert eine Refernz auf einen Spieler</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="Spielleitung.html#neueRunde()">neueRunde</a></strong>()</code>
|
||||
<div class="block">Eine neue Runde wird gestartet.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Spielleitung()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Spielleitung</h4>
|
||||
<pre>public Spielleitung()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="addSpieler(Spieler)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addSpieler</h4>
|
||||
<pre>public void addSpieler(<a href="Spieler.html" title="class in <Unnamed>">Spieler</a> s)</pre>
|
||||
<div class="block">Meldet Spieler bei der Spielleitung an. Der Spieler wird über die Spielleitung informiert.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - Spieler, der am Spiel teilnehmen möchte.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="auswerten()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>auswerten</h4>
|
||||
<pre>public void auswerten()</pre>
|
||||
<div class="block">Wertet eine Runde aus. Dazu bekommt der Dealer seine Karte. Er zieht so lange Karten bis er
|
||||
mindestens 17 Punkte erreicht hat. Danach wird ermittelt, welche Spieler gewonnen haben. Die
|
||||
Spieler werden über Gewinn oder Niederlage informiert.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getKarte()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKarte</h4>
|
||||
<pre>public <a href="Karte.html" title="class in <Unnamed>">Karte</a> getKarte()</pre>
|
||||
<div class="block">Zieht eine Karte vom Kartenstapel.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Referenz auf die gezogene Karte</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCroupier()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCroupier</h4>
|
||||
<pre>public <a href="Spieler.html" title="class in <Unnamed>">Spieler</a> getCroupier()</pre>
|
||||
<div class="block">Liefert eine Referenz auf den Croupier</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Referenz auf den Croupier</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSpieler(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSpieler</h4>
|
||||
<pre>public <a href="Spieler.html" title="class in <Unnamed>">Spieler</a> getSpieler(int nr)</pre>
|
||||
<div class="block">Liefert eine Refernz auf einen Spieler</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nr</code> - Nummer des Spielers (1-n)</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>Referenz auf nr. Spieler</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="neueRunde()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>neueRunde</h4>
|
||||
<pre>public void neueRunde()</pre>
|
||||
<div class="block">Eine neue Runde wird gestartet.
|
||||
Alle Spieler werden über die neue Runde informiert (die alten Kartenhände werden gelöscht) und
|
||||
kontrolliert, ob noch genügend Karten auf dem Stapel sind.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="Spieler.html" title="class in <Unnamed>"><span class="strong">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?Spielleitung.html" target="_top">Frames</a></li>
|
||||
<li><a href="Spielleitung.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||