LEVIATHAN v962456e · 962456eee1

moby

class Component

since 0.1.0-alpha.1linux

bases
IComponent

Fields

attached_

bool attached_

attrValidationMessage_

string attrValidationMessage_

attrValidatorMessages_

Array<string> attrValidatorMessages_

attrValidators_

Array<() => bool> attrValidators_

bindings_

Map<string, Array<() => void>> bindings_

boundShortcutTokens_

Array<int> boundShortcutTokens_

boundTimerTokens_

Array<int> boundTimerTokens_

box

Rect box

childDamage_

bool childDamage_

classes_

Array<string> classes_

contentDirty_

bool contentDirty_

desired_

Size desired_

dock

Dock dock

domSlot_

int domSlot_

frameRequested_

bool frameRequested_

gridCol

int gridCol

gridColSpan

int gridColSpan

gridRow

int gridRow

gridRowSpan

int gridRowSpan

height_

Constraint height_

hidden_

bool hidden_

keyCaptureHandlers_

Array<(KeyEvent) => void> keyCaptureHandlers_

keyCaptureTokens_

Array<int> keyCaptureTokens_

keyHandlers_

Array<(KeyEvent) => void> keyHandlers_

keyTokens_

Array<int> keyTokens_

layoutDirty_

bool layoutDirty_

mouseCaptureHandlers_

Array<(MouseEvent) => void> mouseCaptureHandlers_

mouseCaptureTokens_

Array<int> mouseCaptureTokens_

mouseHandlers_

Array<(MouseEvent) => void> mouseHandlers_

mouseTokens_

Array<int> mouseTokens_

nextHandlerToken_

int nextHandlerToken_

padding

Insets padding

parent_

IComponent | None parent_

pasteHandlers_

Array<(PasteEvent) => void> pasteHandlers_

pasteTokens_

Array<int> pasteTokens_

pendingShortcuts_

Array<ShortcutReg> pendingShortcuts_

pendingTimers_

Array<TimerReg> pendingTimers_

position_

Dom::Position | None position_

reactiveNotifying_

bool reactiveNotifying_

width_

Constraint width_

Methods

__mobyAbsolute

__mobyAbsolute() -> bool

__mobyAddValidator

__mobyAddValidator(() => bool check, string message) -> void

__mobyAttach

__mobyAttach() -> void

__mobyAttrValidationMessage

__mobyAttrValidationMessage() -> string

__mobyBind

__mobyBind(string field, () => void updater) -> void

__mobyBindShortcut

__mobyBindShortcut(string chord, () => void action) -> void

__mobyBoundShortcutTokens

__mobyBoundShortcutTokens() -> Array<int>

__mobyBoundTimerTokens

__mobyBoundTimerTokens() -> Array<int>

__mobyChildren

__mobyChildren() -> Array<IComponent>

__mobyClearChildDamage

__mobyClearChildDamage() -> void

__mobyClearDamage

__mobyClearDamage() -> void

__mobyContentRect

__mobyContentRect() -> Rect

__mobyDetach

__mobyDetach() -> void

__mobyLayoutDirty

__mobyLayoutDirty() -> bool

__mobyMarkChildDamage

__mobyMarkChildDamage() -> bool

__mobyNotify

__mobyNotify() -> void

__mobyPendingShortcuts

__mobyPendingShortcuts() -> Array<ShortcutReg>

__mobyPendingTimers

__mobyPendingTimers() -> Array<TimerReg>

__mobyRecordShortcutToken

__mobyRecordShortcutToken(int token) -> void

__mobyRecordTimerToken

__mobyRecordTimerToken(int token) -> void

__mobyRegisterTimer

__mobyRegisterTimer(int intervalMs, () => void action) -> void

__mobyRunAttrValidators

__mobyRunAttrValidators() -> bool

addClass

addClass(string name) -> void

arrange

arrange(Rect assigned) -> void

bubble

bubble() -> void

bubbleParent

bubbleParent(IComponent | None current) -> bool

chrome

chrome() -> Insets

classList

classList() -> Array<string>

clearDamage

clearDamage() -> void

contentDesired

contentDesired(Size avail) -> Size

desired

desired() -> Size

dirty

dirty() -> bool

fireKey

fireKey(KeyEvent e) -> void

fireKeyCapture

fireKeyCapture(KeyEvent e) -> void

fireMouse

fireMouse(MouseEvent e) -> void

fireMouseCapture

fireMouseCapture(MouseEvent e) -> void

firePaste

firePaste(PasteEvent e) -> void

hasClass

hasClass(string name) -> bool

heightConstraint

heightConstraint() -> Constraint

invalidate

invalidate() -> void

invalidateLayout

invalidateLayout() -> void

measure

measure(Size avail) -> void

newHandlerToken

newHandlerToken() -> int

offKey

offKey(int token) -> void

offKeyCapture

offKeyCapture(int token) -> void

offMouse

offMouse(int token) -> void

offMouseCapture

offMouseCapture(int token) -> void

offPaste

offPaste(int token) -> void

onAttach

onAttach() -> void

onDetach

onDetach() -> void

onKey

onKey((KeyEvent) => void h) -> int

onKeyCapture

onKeyCapture((KeyEvent) => void h) -> int

onMouse

onMouse((MouseEvent) => void h) -> int

onMouseCapture

onMouseCapture((MouseEvent) => void h) -> int

onPaste

onPaste((PasteEvent) => void h) -> int

paint

paint(Surface s) -> void

paintBackground

paintBackground(Surface s) -> void

paintChrome

paintChrome(Surface s) -> void

paintContent

paintContent(Surface s) -> void

parent

parent() -> IComponent | None

position

position() -> Dom::Position

removeClass

removeClass(string name) -> void

setHeight

setHeight(Constraint c) -> void

setParent

setParent(IComponent | None p) -> void

setVisible

setVisible(bool value) -> void

setWidth

setWidth(Constraint c) -> void

subtreeDamaged

subtreeDamaged() -> bool

takeFrameRequest

takeFrameRequest() -> bool

toggleClass

toggleClass(string name) -> void

visible

visible() -> bool

widthConstraint

widthConstraint() -> Constraint