Package kanakata.domain

Examples of kanakata.domain.KanaType


                    String answer = textField.getText();
                    textField.setText("");
                    if (answer.length() == 0) {
                        executor.skip();
                    } else {
                        KanaType type = executor.getKana().getType();
                        Syllable syllable = Syllable.answer(answer);
                        executor.answer(new Kana(type, syllable));
                    }
                }
            }
View Full Code Here


                setGroupSelected(type, SyllableGroup.PYA, selected);
        }
    }

    public void selectAllVisibleSyllableGroups() {
        KanaType type = selectedKanaType();
        setSyllabarySelected(type, selectedSyllabary(type), true);
    }
View Full Code Here

        KanaType type = selectedKanaType();
        setSyllabarySelected(type, selectedSyllabary(type), true);
    }

    public void unselectAllVisibleSyllableGroups() {
        KanaType type = selectedKanaType();
        setSyllabarySelected(type, selectedSyllabary(type), false);
    }
View Full Code Here

    private JButton newSyllableButton(final KataExecutor executor, final Syllable syllable) {
        AbstractAction action = new AbstractAction() {
            public void actionPerformed(ActionEvent actionEvent) {
                if (executor.isInProgess()) {
                    KanaType type = executor.getKana().getType();
                    executor.answer(Kana.get(type, syllable));
                }
            }
        };
        action.putValue("syllable", syllable);
View Full Code Here

TOP

Related Classes of kanakata.domain.KanaType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.