LEVIATHAN v962456e · 962456eee1

moby

class SplitBox

since 0.1.0-alpha.1linux

bases
Container, Bordered, Styleable

Constructors

new

new()

Fields

axis

Axis axis

dividerRect_

Rect dividerRect_

dragging_

bool dragging_

minFirst

int minFirst

minSecond

int minSecond

ratioPct

int ratioPct

resizable

bool resizable

resizeHandlers_

Array<(int) => void> resizeHandlers_

resizeTokens_

Array<int> resizeTokens_

Methods

add

add(IComponent child) -> Container

arrange

arrange(Rect assigned) -> void

axis

axis(Axis value) -> SplitBox

chrome

chrome() -> Insets

clampFirst

clampFirst(int proposed, int lo, int hi) -> int

fireResize

fireResize(int pct) -> void

hitsDivider

hitsDivider(int x, int y) -> bool

offResize

offResize(int token) -> void

onResize

onResize((int) => void h) -> int

paint

paint(Surface s) -> void

paintChrome

paintChrome(Surface s) -> void

ratio

ratio(int pct) -> SplitBox

resizable

resizable(bool value) -> SplitBox

setAxis

setAxis(Axis value) -> void

setLayout

setLayout(ILayoutStrategy l) -> Container

setRatio

setRatio(int pct) -> void

setResizable

setResizable(bool value) -> void

updateRatioFromPointer

updateRatioFromPointer(int x, int y) -> void