Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.fieldassist
Class AutoCompleteField


java.lang.Object
  extended by 
org.eclipse.jface.fieldassist.AutoCompleteField

public class AutoCompleteField
extends Object

AutoCompleteField is a class which attempts to auto-complete a user's keystrokes by activating a popup that filters a list of proposals according to the content typed by the user.

Since:
3.3
See Also:
ContentProposalAdapter, SimpleContentProposalProvider

Constructor Summary
AutoCompleteField ( Control control, IControlContentAdapter controlContentAdapter, String[] proposals)
          Construct an AutoComplete field on the specified control, whose completions are characterized by the specified array of Strings.
 
Method Summary
 void setProposals ( String[] proposals)
          Set the Strings to be used as content proposals.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCompleteField

public AutoCompleteField(
Control control,
                         
IControlContentAdapter controlContentAdapter,
                         
String[] proposals)
Construct an AutoComplete field on the specified control, whose completions are characterized by the specified array of Strings.

Parameters:
control - the control for which autocomplete is desired. May not be null.
controlContentAdapter - the IControlContentAdapter used to obtain and update the control's contents. May not be null.
proposals - the array of Strings representing valid content proposals for the field.
Method Detail

setProposals

public void setProposals(
String[] proposals)
Set the Strings to be used as content proposals.

Parameters:
proposals - the array of Strings to be used as proposals.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire