Package br.com.gmartins.simbler.components.tooltip

Examples of br.com.gmartins.simbler.components.tooltip.WordRecognizer


    @Override
    public String getToolTipText(MouseEvent event) {
        if (Principal.getInstance().getMainPanel().getCommandList() != null && Principal.getInstance().getMainPanel().getCommandList().isEmpty() == false) {
            String word = WordUtilities.getPointedWord(event);
            int pos = WordUtilities.getPointedLinePosition(event);
            WordRecognizer wordRecognizer = new WordRecognizer(word, pos);
            return wordRecognizer.getKnownData();
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of br.com.gmartins.simbler.components.tooltip.WordRecognizer

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.