~ubuntu-branches/ubuntu/trusty/libjrosetta-java/trusty

« back to all changes in this revision

Viewing changes to modules/jrosetta-api/src/main/java/com/artenum/rosetta/interfaces/ui/CompletionWindow.java

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2011-10-10 23:52:06 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20111010235206-g8cg5y27xbiybm2z
Tags: 1.0.4-1
* New upstream release
* Update Standards-Version: 3.9.2
* Update of the watch file + repack script
* Fix FTBFS (Closes: #643534)
* Switch to maven (upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (c) Copyright: Artenum SARL, 24 rue Louis Blanc,
 
3
 *                75010, Paris, France 2007-2009.
 
4
 *                http://www.artenum.com
 
5
 *
 
6
 * License:
 
7
 *
 
8
 *  This program is free software; you can redistribute it
 
9
 *  and/or modify it under the terms of the license defined in the
 
10
 *  LICENSE.TXT file at the root of the present package.
 
11
 *
 
12
 *  This program is distributed in the hope that it will be
 
13
 *  useful, but WITHOUT ANY WARRANTY; without even the implied
 
14
 *  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
15
 *  PURPOSE. See the LICENSE.TXT for more details.
 
16
 *
 
17
 *  You should have received a copy of the License along with 
 
18
 *  this program; if not, write to:
 
19
 *    Artenum SARL, 24 rue Louis Blanc,
 
20
 *    75010, PARIS, FRANCE, e-mail: contact@artenum.com
 
21
 */ 
 
22
package com.artenum.rosetta.interfaces.ui;
 
23
 
 
24
import java.awt.Component;
 
25
import java.awt.Point;
 
26
import java.util.List;
 
27
 
 
28
import javax.swing.JComponent;
 
29
 
 
30
import com.artenum.rosetta.interfaces.core.CompletionItem;
 
31
import com.artenum.rosetta.interfaces.core.InputParsingManager;
 
32
 
 
33
/**
 
34
 * @author Sebastien Jourdain (jourdain@artenum.com)
 
35
 */
 
36
 
 
37
public interface CompletionWindow {
 
38
        /**
 
39
         * @param list
 
40
         * @param location
 
41
         */
 
42
        void show(List<CompletionItem> list, Point location);
 
43
        /**
 
44
         * @return the result of the completion
 
45
         */
 
46
        String getCompletionResult();
 
47
        
 
48
        /**
 
49
         * @param component
 
50
         */
 
51
        void setGraphicalContext(Component component);
 
52
        
 
53
        /**
 
54
         * @param inputParsingManager
 
55
         */
 
56
        void setInputParsingManager(InputParsingManager inputParsingManager);
 
57
        
 
58
        /**
 
59
         * @param component
 
60
         */
 
61
        void setFocusOut(JComponent component);
 
62
}