Class AbstractPanel
java.lang.Object
org.jline.curses.impl.AbstractComponent
org.jline.curses.impl.AbstractPanel
- Direct Known Subclasses:
BorderPanel, GridPanel
-
Nested Class Summary
Nested classes/interfaces inherited from interface Component
Component.Behavior -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Component component, Constraint constraint) protected voidReturns a read-only collection of all contained components.voidhandleInput(String input) voidhandleMouse(org.jline.terminal.MouseEvent event) protected abstract voidlayout()voidMethods inherited from class AbstractComponent
computePreferredSize, computeRenderer, doGetPreferredSize, draw, enable, focus, getBehaviors, getDefaultRenderer, getParent, getPosition, getPreferredSize, getRenderer, getScreenPosition, getSize, getTheme, getWindow, isEnabled, isFocused, isIn, onFocus, onUnfocus, setBehaviors, setParent, setPosition, setPreferredSize, setRenderer, setThemeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
draw, enable, focus, getBehaviors, getParent, getPosition, getPreferredSize, getScreenPosition, getSize, isEnabled, isFocused, isIn, setPosition
-
Field Details
-
components
-
-
Constructor Details
-
AbstractPanel
public AbstractPanel()
-
-
Method Details
-
addComponent
-
getComponents
Description copied from interface:ContainerReturns a read-only collection of all contained components.- Specified by:
getComponentsin interfaceContainer
-
setSize
- Specified by:
setSizein interfaceComponent- Overrides:
setSizein classAbstractComponent
-
layout
protected abstract void layout() -
doDraw
- Specified by:
doDrawin classAbstractComponent
-
handleMouse
public void handleMouse(org.jline.terminal.MouseEvent event) - Specified by:
handleMousein interfaceComponent- Overrides:
handleMousein classAbstractComponent
-
handleInput
- Specified by:
handleInputin interfaceComponent- Overrides:
handleInputin classAbstractComponent
-