Package org.jline.builtins
Class Tmux.Layout
java.lang.Object
org.jline.builtins.Tmux.Layout
- Enclosing class:
- Tmux
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) List<Tmux.Layout>
private static final int
(package private) Tmux.Layout
(package private) static final Pattern
(package private) int
(package private) int
(package private) Tmux.Layout.Type
(package private) int
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
checksum
(CharSequence layout) private static int
checksum
(CharSequence layout, int start) int
private void
doDump
(StringBuilder sb) dump()
void
void
fixPanes()
void
fixPanes
(int sx, int sy) (package private) Tmux.Layout
static Tmux.Layout
private static Tmux.Layout
parseCell
(Tmux.Layout parent, String layout) (package private) Tmux.Layout
void
remove()
void
resize
(int sx, int sy) void
resize
(Tmux.Layout.Type type, int change, boolean opposite) private void
resizeAdjust
(Tmux.Layout.Type type, int change) private int
resizeCheck
(Tmux.Layout.Type type) (package private) int
resizePaneGrow
(Tmux.Layout.Type type, int needed, boolean opposite) (package private) int
resizePaneShrink
(Tmux.Layout.Type type, int needed) void
resizeTo
(Tmux.Layout.Type type, int new_size) private void
setSize
(int sx, int sy, int xoff, int yoff) split
(Tmux.Layout.Type type, int size, boolean insertBefore) private static char
toHexChar
(int i)
-
Field Details
-
PATTERN
-
PANE_MINIMUM
private static final int PANE_MINIMUM- See Also:
-
type
Tmux.Layout.Type type -
parent
Tmux.Layout parent -
sx
int sx -
sy
int sy -
xoff
int xoff -
yoff
int yoff -
cells
List<Tmux.Layout> cells
-
-
Constructor Details
-
Layout
Layout()
-
-
Method Details
-
parse
-
dump
-
toHexChar
private static char toHexChar(int i) -
doDump
-
resize
-
resizePaneGrow
-
resizePaneShrink
-
prevSibling
Tmux.Layout prevSibling() -
nextSibling
Tmux.Layout nextSibling() -
resizeTo
-
resize
public void resize(int sx, int sy) -
remove
public void remove() -
resizeCheck
-
resizeAdjust
-
fixOffsets
public void fixOffsets() -
fixPanes
public void fixPanes() -
fixPanes
public void fixPanes(int sx, int sy) -
countCells
public int countCells() -
split
-
setSize
private void setSize(int sx, int sy, int xoff, int yoff) -
checksum
-
checksum
-
parseCell
-