Package org.jline.builtins
Class Tmux.Layout
- java.lang.Object
-
- org.jline.builtins.Tmux.Layout
-
- Enclosing class:
- Tmux
static class Tmux.Layout extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Tmux.Layout.Type
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<Tmux.Layout>
cells
private static int
PANE_MINIMUM
(package private) Tmux.Layout
parent
(package private) static java.util.regex.Pattern
PATTERN
(package private) int
sx
(package private) int
sy
(package private) Tmux.Layout.Type
type
(package private) int
xoff
(package private) int
yoff
-
Constructor Summary
Constructors Constructor Description Layout()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
checksum(java.lang.CharSequence layout)
private static int
checksum(java.lang.CharSequence layout, int start)
int
countCells()
private void
doDump(java.lang.StringBuilder sb)
java.lang.String
dump()
void
fixOffsets()
void
fixPanes()
void
fixPanes(int sx, int sy)
(package private) Tmux.Layout
nextSibling()
static Tmux.Layout
parse(java.lang.String layout)
private static Tmux.Layout
parseCell(Tmux.Layout parent, java.lang.String layout)
(package private) Tmux.Layout
prevSibling()
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)
Tmux.Layout
split(Tmux.Layout.Type type, int size, boolean insertBefore)
private static char
toHexChar(int i)
-
-
-
Field Detail
-
PATTERN
static final java.util.regex.Pattern PATTERN
-
PANE_MINIMUM
private static final int PANE_MINIMUM
- See Also:
- Constant Field Values
-
type
Tmux.Layout.Type type
-
parent
Tmux.Layout parent
-
sx
int sx
-
sy
int sy
-
xoff
int xoff
-
yoff
int yoff
-
cells
java.util.List<Tmux.Layout> cells
-
-
Method Detail
-
parse
public static Tmux.Layout parse(java.lang.String layout)
-
dump
public java.lang.String dump()
-
toHexChar
private static char toHexChar(int i)
-
doDump
private void doDump(java.lang.StringBuilder sb)
-
resize
public void resize(Tmux.Layout.Type type, int change, boolean opposite)
-
resizePaneGrow
int resizePaneGrow(Tmux.Layout.Type type, int needed, boolean opposite)
-
resizePaneShrink
int resizePaneShrink(Tmux.Layout.Type type, int needed)
-
prevSibling
Tmux.Layout prevSibling()
-
nextSibling
Tmux.Layout nextSibling()
-
resizeTo
public void resizeTo(Tmux.Layout.Type type, int new_size)
-
resize
public void resize(int sx, int sy)
-
remove
public void remove()
-
resizeCheck
private int resizeCheck(Tmux.Layout.Type type)
-
resizeAdjust
private void resizeAdjust(Tmux.Layout.Type type, int change)
-
fixOffsets
public void fixOffsets()
-
fixPanes
public void fixPanes()
-
fixPanes
public void fixPanes(int sx, int sy)
-
countCells
public int countCells()
-
split
public Tmux.Layout split(Tmux.Layout.Type type, int size, boolean insertBefore)
-
setSize
private void setSize(int sx, int sy, int xoff, int yoff)
-
checksum
private static int checksum(java.lang.CharSequence layout)
-
checksum
private static int checksum(java.lang.CharSequence layout, int start)
-
parseCell
private static Tmux.Layout parseCell(Tmux.Layout parent, java.lang.String layout)
-
-