Package org.jline.curses.impl
Class BorderPanel
java.lang.Object
org.jline.curses.impl.AbstractComponent
org.jline.curses.impl.AbstractPanel
org.jline.curses.impl.BorderPanel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jline.curses.Component
Component.Behavior
-
Field Summary
Fields inherited from class org.jline.curses.impl.AbstractPanel
components
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponent
(Component component, Constraint constraint) protected Size
private void
fit
(Map<Curses.Location, Integer> h, int max, Curses.Location... locs) protected void
layout()
private static int
max
(int i0, int i1, int i2) private void
pos
(Map<Curses.Location, Integer> p, Map<Curses.Location, Integer> s, Curses.Location... locs) private void
Methods inherited from class org.jline.curses.impl.AbstractPanel
doDraw, getComponents, handleInput, handleMouse, setSize
Methods inherited from class org.jline.curses.impl.AbstractComponent
computePreferredSize, computeRenderer, draw, enable, focus, focused, getBehaviors, getDefaultRenderer, getParent, getPosition, getPreferredSize, getRenderer, getScreenPosition, getSize, getTheme, getWindow, isEnabled, isFocused, isIn, onFocus, onUnfocus, setBehaviors, setParent, setPosition, setPreferredSize, setRenderer, 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, isEnabled, isFocused, isIn, setPosition
-
Constructor Details
-
BorderPanel
public BorderPanel()
-
-
Method Details
-
addComponent
- Overrides:
addComponent
in classAbstractPanel
-
doGetPreferredSize
- Specified by:
doGetPreferredSize
in classAbstractComponent
-
layout
protected void layout()- Specified by:
layout
in classAbstractPanel
-
pos
private void pos(Map<Curses.Location, Integer> p, Map<Curses.Location, Integer> s, Curses.Location... locs) -
fit
-
preferred
-
max
private static int max(int i0, int i1, int i2)
-