public class CompletionWindowImpl extends Object implements CompletionWindow, KeyListener, FocusListener, MouseMotionListener, MouseListener
| Modifier and Type | Class and Description |
|---|---|
class |
CompletionWindowImpl.CompletionItemListModel
List model which allow filter on completion item
|
| Constructor and Description |
|---|
CompletionWindowImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(FocusEvent e)
To support the auto hide when focus is lost
|
void |
focusLost(FocusEvent e) |
String |
getCompletionResult() |
void |
keyPressed(KeyEvent e)
Management of the key typing for the filtering
|
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e)
To support the completion window resize
|
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
setFocusOut(JComponent component) |
void |
setGraphicalContext(Component component)
Caution, the component shouldn't be null otherwise the completion window will never get the focus
|
void |
setInputParsingManager(InputParsingManager inputParsingManager) |
void |
show(List<CompletionItem> list,
Point location) |
public void setFocusOut(JComponent component)
setFocusOut in interface CompletionWindowpublic void setInputParsingManager(InputParsingManager inputParsingManager)
setInputParsingManager in interface CompletionWindowpublic void setGraphicalContext(Component component)
setGraphicalContext in interface CompletionWindowpublic void show(List<CompletionItem> list, Point location)
show in interface CompletionWindowpublic String getCompletionResult()
getCompletionResult in interface CompletionWindowpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerCopyright © 2007-2013 Artenum. All Rights Reserved.