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 com.googlecode.lanterna.gui2.AbstractBasePane
AbstractBasePane.ContentHolder
Nested classes/interfaces inherited from interface com.googlecode.lanterna.gui2.Window
Window.Hint
-
Field Summary
FieldsFields inherited from class com.googlecode.lanterna.gui2.AbstractBasePane
contentHolder, interactableLookupMap
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.googlecode.lanterna.gui2.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, waitUntilClosed
Methods inherited from class com.googlecode.lanterna.gui2.AbstractBasePane
addBasePaneListener, getBasePaneListeners, getComponent, getCursorPosition, getFocusedInteractable, getMenuBar, invalidate, isInvalid, removeBasePaneListener, setComponent, setEnableDirectionBasedMovements, setFocusedInteractable, setFocusedInteractable, setMenuBar, setStrictFocusChange, setTheme
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.googlecode.lanterna.gui2.BasePane
setEnableDirectionBasedMovements, setStrictFocusChange, setTheme
Methods inherited from interface com.googlecode.lanterna.gui2.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:Window
Closes the window, which will remove it from the GUI- Specified by:
close
in interfaceWindow
- Overrides:
close
in classAbstractWindow
-
getTheme
Description copied from interface:BasePane
Returns the text GUITheme
associated with this base pane/window. This is either coming from theTextGUI
this object is associated with, the theme set as the override throughBasePane.setTheme(Theme)
ornull
if this base pane/window isn't added to anyTextGUI
and doesn't have any override. -
handleInput
Description copied from interface:BasePane
Called 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 returnfalse
so that the GUI system can take further decisions on what to do with it.- Specified by:
handleInput
in interfaceBasePane
- Specified by:
handleInput
in interfaceWindow
- Overrides:
handleInput
in classAbstractWindow
- Parameters:
keyStroke
- Keyboard input- Returns:
true
If the root container could handle the input, false otherwise
-