# io.github.libtmux.SplitSpec.SplitSpec.Builder

- **Module:** io.github.libtmux.SplitSpec.SplitSpec
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/SplitSpec.java#L265
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-splitspec-splitspec-builder-kfol/

Collects the choices, each named for what it does rather than for the field it sets.

## Members

- `below` (method) — Puts the new pane below the target, which is what tmux does by default.
- `above` (method) — Puts the new pane above the target.
- `toRight` (method) — Puts the new pane to the right of the target.
- `toLeft` (method) — Puts the new pane to the left of the target.
- `cells` (method) — Gives the new pane this many terminal cells.
- `percent` (method) — Gives the new pane this share of what is being split.
- `running` (method) — Runs a command, which closes the pane when it exits unless {@link #keepOnExit} is set.
- `empty` (method) — Creates a pane with no process in it. Requires tmux 3.7.
- `start` (method) — Sets what runs, for a caller holding a {@link PaneStart} already.
- `in` (method) — Starts the new pane in this directory.
- `env` (method) — Sets one variable in the new pane's environment.
- `environment` (method) — Adds several variables to the new pane's environment, keeping any already set.
- `detached` (method) — Leaves the target pane focused, where tmux would move to the new one.
- `fullWindow` (method) — Splits the whole window rather than just the target pane.
- `zoomed` (method) — Zooms the new pane on arrival.
- `keepOnExit` (method) — Keeps the pane after its command exits. Requires tmux 3.7.
- `style` (method) — Sets the new pane's {@code window-style}. Requires tmux 3.7.
- `activeBorderStyle` (method) — Sets the new pane's {@code pane-active-border-style}. Requires tmux 3.7.
- `inactiveBorderStyle` (method) — Sets the new pane's {@code pane-border-style}. Requires tmux 3.7.
- `build` (method) — The finished spec.
