Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.guicomponentutils.AutoCompletion Class Reference

Inherits PlainDocument.

Public Member Functions

 AutoCompletion (final JComboBox<?> comboBox)
 
void insertString (int offs, String str, AttributeSet a) throws BadLocationException
 
void remove (int offs, int len) throws BadLocationException
 

Static Public Member Functions

static void enable (JComboBox<?> comboBox)
 

Private Member Functions

void highlightCompletedText (int start)
 
Object lookupItem (String pattern)
 
void setSelectedItem (Object item)
 
void setText (String text)
 
boolean startsWithIgnoreCase (String str1, String str2)
 

Private Attributes

JComboBox<?> comboBox
 
JTextComponent editor
 
FocusListener editorFocusListener
 
KeyListener editorKeyListener
 
boolean hidePopupOnFocusLoss
 
boolean hitBackspace = false
 
boolean hitBackspaceOnSelection
 
ComboBoxModel<?> model
 
boolean selecting = false
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Definition at line 29 of file AutoCompletion.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.AutoCompletion ( final JComboBox<?>  comboBox)

Member Function Documentation

static void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.enable ( JComboBox<?>  comboBox)
static
void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.highlightCompletedText ( int  start)
private
void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.insertString ( int  offs,
String  str,
AttributeSet  a 
) throws BadLocationException
Object org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.lookupItem ( String  pattern)
private
void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.remove ( int  offs,
int  len 
) throws BadLocationException
void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.setSelectedItem ( Object  item)
private
void org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.setText ( String  text)
private
boolean org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.startsWithIgnoreCase ( String  str1,
String  str2 
)
private

Member Data Documentation

JComboBox<?> org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.comboBox
private
JTextComponent org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.editor
private

Definition at line 35 of file AutoCompletion.java.

FocusListener org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.editorFocusListener
private

Definition at line 44 of file AutoCompletion.java.

KeyListener org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.editorKeyListener
private

Definition at line 43 of file AutoCompletion.java.

boolean org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.hidePopupOnFocusLoss
private

Definition at line 39 of file AutoCompletion.java.

boolean org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.hitBackspace = false
private

Definition at line 40 of file AutoCompletion.java.

boolean org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.hitBackspaceOnSelection
private

Definition at line 41 of file AutoCompletion.java.

ComboBoxModel<?> org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.model
private

Definition at line 34 of file AutoCompletion.java.

boolean org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.selecting = false
private

Definition at line 38 of file AutoCompletion.java.

final long org.sleuthkit.autopsy.guicomponentutils.AutoCompletion.serialVersionUID = 1L
staticprivate

Definition at line 31 of file AutoCompletion.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.