Class ComboBox.PopupWindow
java.lang.Object
com.googlecode.lanterna.gui2.AbstractBasePane<Window>
com.googlecode.lanterna.gui2.AbstractWindow
com.googlecode.lanterna.gui2.BasicWindow
com.googlecode.lanterna.gui2.ComboBox.PopupWindow
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractBasePane
AbstractBasePane.ContentHolderNested classes/interfaces inherited from interface Window
Window.Hint -
Field Summary
FieldsFields inherited from class AbstractBasePane
contentHolder, interactableLookupMap -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractWindow
addWindowListener, draw, fromGlobal, fromGlobalToContentRelative, fromGlobalToDecoratedRelative, getDecoratedSize, getHints, getPosition, getPostRenderer, getPreferredSize, getSize, getTextGUI, getTitle, isVisible, removeWindowListener, self, setCloseWindowWithEscape, setContentOffset, setDecoratedSize, setFixedSize, setHints, setPosition, setSize, setTextGUI, setTitle, setVisible, setWindowPostRenderer, toGlobal, toGlobalFromContentRelative, toGlobalFromDecoratedRelative, waitUntilClosedMethods inherited from class AbstractBasePane
addBasePaneListener, getBasePaneListeners, getComponent, getCursorPosition, getFocusedInteractable, getMenuBar, invalidate, isInvalid, removeBasePaneListener, setComponent, setEnableDirectionBasedMovements, setFocusedInteractable, setFocusedInteractable, setMenuBar, setStrictFocusChange, setThemeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BasePane
setEnableDirectionBasedMovements, setStrictFocusChange, setThemeMethods inherited from interface Window
getBounds, getComponent, getCursorPosition, getFocusedInteractable, getMenuBar, invalidate, isInvalid, setComponent, setFocusedInteractable, setMenuBar
-
Field Details
-
listBox
-
-
Constructor Details
-
PopupWindow
public PopupWindow()
-
-
Method Details
-
close
public void close()Description copied from interface:WindowCloses the window, which will remove it from the GUI- Specified by:
closein interfaceWindow- Overrides:
closein classAbstractWindow
-
getTheme
Description copied from interface:BasePaneReturns the text GUIThemeassociated with this base pane/window. This is either coming from theTextGUIthis object is associated with, the theme set as the override throughBasePane.setTheme(Theme)ornullif this base pane/window isn't added to anyTextGUIand doesn't have any override. -
handleInput
Description copied from interface:BasePaneCalled by the GUI system to delegate a keyboard input event. The root container will decide what to do with this input, usually sending it to one of its sub-components, but if it isn't able to find any handler for this input it should returnfalseso that the GUI system can take further decisions on what to do with it.- Specified by:
handleInputin interfaceBasePane- Specified by:
handleInputin interfaceWindow- Overrides:
handleInputin classAbstractWindow- Parameters:
keyStroke- Keyboard input- Returns:
trueIf the root container could handle the input, false otherwise
-