01: /*
02: * Sun Public License Notice
03: *
04: * The contents of this file are subject to the Sun Public License
05: * Version 1.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://www.sun.com/
08: *
09: * The Original Code is NetBeans. The Initial Developer of the Original
10: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
11: * Microsystems, Inc. All Rights Reserved.
12: */
13:
14: package org.netbeans.editor.ext;
15:
16: /**
17: * Pane displaying the completion view and accompanying components like label
18: * for title etc. It can be a scroll-pane with the label at the top or something
19: * else.
20: *
21: * @author Miloslav Metelka
22: * @version 1.00
23: */
24:
25: public interface CompletionPane {
26:
27: /** Is the pane visible? */
28: public boolean isVisible();
29:
30: /** Set the pane to be visible. */
31: public void setVisible(boolean visible);
32:
33: /**
34: * Possibly refresh the look after either the view was changed or title was
35: * changed or both.
36: */
37: public void refresh();
38:
39: /** Set the title of the pane according to the completion query results. */
40: public void setTitle(String title);
41:
42: }
|