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 classTmux.Layout.Type
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<Tmux.Layout>cellsprivate static intPANE_MINIMUM(package private) Tmux.Layoutparent(package private) static java.util.regex.PatternPATTERN(package private) intsx(package private) intsy(package private) Tmux.Layout.Typetype(package private) intxoff(package private) intyoff
-
Constructor Summary
Constructors Constructor Description Layout()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intchecksum(java.lang.CharSequence layout)private static intchecksum(java.lang.CharSequence layout, int start)intcountCells()private voiddoDump(java.lang.StringBuilder sb)java.lang.Stringdump()voidfixOffsets()voidfixPanes()voidfixPanes(int sx, int sy)(package private) Tmux.LayoutnextSibling()static Tmux.Layoutparse(java.lang.String layout)private static Tmux.LayoutparseCell(Tmux.Layout parent, java.lang.String layout)(package private) Tmux.LayoutprevSibling()voidremove()voidresize(int sx, int sy)voidresize(Tmux.Layout.Type type, int change, boolean opposite)private voidresizeAdjust(Tmux.Layout.Type type, int change)private intresizeCheck(Tmux.Layout.Type type)(package private) intresizePaneGrow(Tmux.Layout.Type type, int needed, boolean opposite)(package private) intresizePaneShrink(Tmux.Layout.Type type, int needed)voidresizeTo(Tmux.Layout.Type type, int new_size)private voidsetSize(int sx, int sy, int xoff, int yoff)Tmux.Layoutsplit(Tmux.Layout.Type type, int size, boolean insertBefore)private static chartoHexChar(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)
-
-