| | |
| | | this.kontraChoice.append("rektr.", null); |
| | | |
| | | this.partiaChoice = new ChoiceGroup(null, ChoiceGroup.EXCLUSIVE); |
| | | this.partiaChoice.append("przed", null); |
| | | this.partiaChoice.append("po", null); |
| | | this.partiaChoice.append("przed / przed", null); |
| | | this.partiaChoice.append("przed / po", null); |
| | | this.partiaChoice.append("po / przed", null); |
| | | this.partiaChoice.append("po / po", null); |
| | | |
| | | this.punktyField = new TextField("PC:", null, 2, TextField.NUMERIC); |
| | | this.lewyField = new TextField("Lew:", null, 2, TextField.NUMERIC); |
| | |
| | | } |
| | | |
| | | BrydzWynik wynik; |
| | | |
| | | String data = ""; |
| | | |
| | | |
| | | if( kontrakt < 0 || kontrakt > 7 ) { |
| | | this.resultText.setText("Niepoprawny kontrakt."); |
| | | return; |
| | |
| | | return; |
| | | } |
| | | |
| | | if( partia != 0 && partia != 1) { |
| | | if( partia < 0 || partia > 3) { |
| | | this.resultText.setText("Niepoprawna informacja o partii."); |
| | | return; |
| | | } |