Package org.jline.curses.impl
Class Box
java.lang.Object
org.jline.curses.impl.AbstractComponent
org.jline.curses.impl.Box
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.jline.curses.Component
Component.Behavior
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Size
Returns a read-only collection of all contained components.protected Box.BoxRenderer
getTitle()
void
setRenderer
(Renderer renderer) void
Methods inherited from class org.jline.curses.impl.AbstractComponent
computePreferredSize, computeRenderer, draw, enable, focus, focused, getBehaviors, getParent, getPosition, getPreferredSize, getScreenPosition, getSize, getTheme, getWindow, handleInput, handleMouse, isEnabled, isFocused, isIn, onFocus, onUnfocus, setBehaviors, setParent, setPosition, setPreferredSize, setTheme
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jline.curses.Component
draw, enable, focus, getBehaviors, getParent, getPosition, getPreferredSize, getScreenPosition, getSize, handleInput, handleMouse, isEnabled, isFocused, isIn, setPosition
-
Field Details
-
title
-
border
-
component
-
-
Constructor Details
-
Box
-
-
Method Details
-
getRenderer
- Overrides:
getRenderer
in classAbstractComponent
-
setRenderer
- Overrides:
setRenderer
in classAbstractComponent
-
getTitle
-
getBorder
-
getComponent
-
setSize
- Specified by:
setSize
in interfaceComponent
- Overrides:
setSize
in classAbstractComponent
-
getComponents
Description copied from interface:Container
Returns a read-only collection of all contained components.- Specified by:
getComponents
in interfaceContainer
-
doDraw
- Specified by:
doDraw
in classAbstractComponent
-
doGetPreferredSize
- Specified by:
doGetPreferredSize
in classAbstractComponent
-
getDefaultRenderer
- Overrides:
getDefaultRenderer
in classAbstractComponent
-