Winter Cardinal UI - v0.457.0 / DBaseStateSetImplObservable
↳ DBaseStateSetImplObservable
• new DBaseStateSetImplObservable(onChange): DBaseStateSetImplObservable
| Name | Type |
|---|---|
onChange |
DBaseStateSetImplObservableOnChange |
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:21
• Protected Optional _blinker: DBaseStateSetBlinker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:23
• Protected _doSave: boolean
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:18
• Protected _isLocked: number
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:16
• Protected _isSaved: boolean
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:17
• Protected _local: Map<string, null | number>
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:21
• Protected _onChange: DBaseStateSetImplObservableOnChange
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:15
• Protected _parent: null | DBaseStateSet
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:22
• Protected Optional _saved: DBaseStateSetImpl
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:19
• Protected Optional _ticker: DBaseStateSetTicker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:24
• get blinker(): DBaseStateSetBlinker
DBaseStateSetImpl.blinker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:54
• get inActive(): boolean
boolean
DBaseStateSetImpl.inActive
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:514
• get inAlternated(): boolean
boolean
DBaseStateSetImpl.inAlternated
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:858
• get inChanged(): boolean
boolean
DBaseStateSetImpl.inChanged
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:838
• get inDisabled(): boolean
boolean
DBaseStateSetImpl.inDisabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:594
• get inEnabled(): boolean
boolean
DBaseStateSetImpl.inEnabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:574
• get inFailed(): boolean
boolean
DBaseStateSetImpl.inFailed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:798
• get inFocusReverse(): boolean
boolean
DBaseStateSetImpl.inFocusReverse
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:678
• get inFocusRoot(): boolean
boolean
DBaseStateSetImpl.inFocusRoot
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:658
• get inFocusable(): boolean
boolean
DBaseStateSetImpl.inFocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:698
• get inFocused(): boolean
boolean
DBaseStateSetImpl.inFocused
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:638
• get inGesturing(): boolean
boolean
DBaseStateSetImpl.inGesturing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:618
• get inHovered(): boolean
boolean
DBaseStateSetImpl.inHovered
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:494
• get inInvalid(): boolean
boolean
DBaseStateSetImpl.inInvalid
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:738
• get inPressed(): boolean
boolean
DBaseStateSetImpl.inPressed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:534
• get inProcessing(): boolean
boolean
DBaseStateSetImpl.inProcessing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:758
• get inReadOnly(): boolean
boolean
DBaseStateSetImpl.inReadOnly
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:554
• get inSucceeded(): boolean
boolean
DBaseStateSetImpl.inSucceeded
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:778
• get inUnfocusable(): boolean
boolean
DBaseStateSetImpl.inUnfocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:718
• get inWarned(): boolean
boolean
DBaseStateSetImpl.inWarned
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:818
• get isActionable(): boolean
boolean
DBaseStateSetImpl.isActionable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:606
• get isActive(): boolean
boolean
DBaseStateSetImpl.isActive
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:506
• set isActive(isActive): void
| Name | Type |
|---|---|
isActive |
boolean |
void
DBaseStateSetImpl.isActive
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:510
• get isAlternated(): boolean
boolean
DBaseStateSetImpl.isAlternated
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:850
• set isAlternated(isAlternated): void
| Name | Type |
|---|---|
isAlternated |
boolean |
void
DBaseStateSetImpl.isAlternated
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:854
• get isChanged(): boolean
boolean
DBaseStateSetImpl.isChanged
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:830
• set isChanged(isChanged): void
| Name | Type |
|---|---|
isChanged |
boolean |
void
DBaseStateSetImpl.isChanged
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:834
• get isDisabled(): boolean
boolean
DBaseStateSetImpl.isDisabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:586
• set isDisabled(isDisabled): void
| Name | Type |
|---|---|
isDisabled |
boolean |
void
DBaseStateSetImpl.isDisabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:590
• get isEnabled(): boolean
boolean
DBaseStateSetImpl.isEnabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:566
• set isEnabled(isEnabled): void
| Name | Type |
|---|---|
isEnabled |
boolean |
void
DBaseStateSetImpl.isEnabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:570
• get isFailed(): boolean
boolean
DBaseStateSetImpl.isFailed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:790
• set isFailed(failed): void
| Name | Type |
|---|---|
failed |
boolean |
void
DBaseStateSetImpl.isFailed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:794
• get isFocusReverse(): boolean
boolean
DBaseStateSetImpl.isFocusReverse
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:670
• set isFocusReverse(isFocusReverse): void
| Name | Type |
|---|---|
isFocusReverse |
boolean |
void
DBaseStateSetImpl.isFocusReverse
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:674
• get isFocusRoot(): boolean
boolean
DBaseStateSetImpl.isFocusRoot
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:650
• set isFocusRoot(isFocusRoot): void
| Name | Type |
|---|---|
isFocusRoot |
boolean |
void
DBaseStateSetImpl.isFocusRoot
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:654
• get isFocusable(): boolean
boolean
DBaseStateSetImpl.isFocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:690
• set isFocusable(isFocusable): void
| Name | Type |
|---|---|
isFocusable |
boolean |
void
DBaseStateSetImpl.isFocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:694
• get isFocused(): boolean
boolean
DBaseStateSetImpl.isFocused
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:630
• set isFocused(isFocused): void
| Name | Type |
|---|---|
isFocused |
boolean |
void
DBaseStateSetImpl.isFocused
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:634
• get isGesturing(): boolean
boolean
DBaseStateSetImpl.isGesturing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:610
• set isGesturing(isGesturing): void
| Name | Type |
|---|---|
isGesturing |
boolean |
void
DBaseStateSetImpl.isGesturing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:614
• get isHovered(): boolean
boolean
DBaseStateSetImpl.isHovered
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:486
• set isHovered(isHovered): void
| Name | Type |
|---|---|
isHovered |
boolean |
void
DBaseStateSetImpl.isHovered
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:490
• get isInvalid(): boolean
boolean
DBaseStateSetImpl.isInvalid
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:730
• set isInvalid(invalid): void
| Name | Type |
|---|---|
invalid |
boolean |
void
DBaseStateSetImpl.isInvalid
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:734
• get isPressed(): boolean
boolean
DBaseStateSetImpl.isPressed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:526
• set isPressed(isPressed): void
| Name | Type |
|---|---|
isPressed |
boolean |
void
DBaseStateSetImpl.isPressed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:530
• get isProcessing(): boolean
boolean
DBaseStateSetImpl.isProcessing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:750
• set isProcessing(processing): void
| Name | Type |
|---|---|
processing |
boolean |
void
DBaseStateSetImpl.isProcessing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:754
• get isReadOnly(): boolean
boolean
DBaseStateSetImpl.isReadOnly
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:546
• set isReadOnly(isReadOnly): void
| Name | Type |
|---|---|
isReadOnly |
boolean |
void
DBaseStateSetImpl.isReadOnly
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:550
• get isSucceeded(): boolean
boolean
DBaseStateSetImpl.isSucceeded
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:770
• set isSucceeded(succeeded): void
| Name | Type |
|---|---|
succeeded |
boolean |
void
DBaseStateSetImpl.isSucceeded
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:774
• get isUnfocusable(): boolean
boolean
DBaseStateSetImpl.isUnfocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:710
• set isUnfocusable(unfocusable): void
| Name | Type |
|---|---|
unfocusable |
boolean |
void
DBaseStateSetImpl.isUnfocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:714
• get isWarned(): boolean
boolean
DBaseStateSetImpl.isWarned
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:810
• set isWarned(isWarned): void
| Name | Type |
|---|---|
isWarned |
boolean |
void
DBaseStateSetImpl.isWarned
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:814
• get local(): Map<string, null | number>
Map<string, null | number>
DBaseStateSetImpl.local
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:31
• get onActive(): boolean
boolean
DBaseStateSetImpl.onActive
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:518
• get onAlternated(): boolean
boolean
DBaseStateSetImpl.onAlternated
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:862
• get onChanged(): boolean
boolean
DBaseStateSetImpl.onChanged
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:842
• get onDisabled(): boolean
boolean
DBaseStateSetImpl.onDisabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:598
• get onEnabled(): boolean
boolean
DBaseStateSetImpl.onEnabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:578
• get onFailed(): boolean
boolean
DBaseStateSetImpl.onFailed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:802
• get onFocusReverse(): boolean
boolean
DBaseStateSetImpl.onFocusReverse
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:682
• get onFocusRoot(): boolean
boolean
DBaseStateSetImpl.onFocusRoot
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:662
• get onFocusable(): boolean
boolean
DBaseStateSetImpl.onFocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:702
• get onFocused(): boolean
boolean
DBaseStateSetImpl.onFocused
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:642
• get onGesturing(): boolean
boolean
DBaseStateSetImpl.onGesturing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:622
• get onHovered(): boolean
boolean
DBaseStateSetImpl.onHovered
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:498
• get onInvalid(): boolean
boolean
DBaseStateSetImpl.onInvalid
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:742
• get onPressed(): boolean
boolean
DBaseStateSetImpl.onPressed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:538
• get onProcessing(): boolean
boolean
DBaseStateSetImpl.onProcessing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:762
• get onReadOnly(): boolean
boolean
DBaseStateSetImpl.onReadOnly
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:558
• get onSucceeded(): boolean
boolean
DBaseStateSetImpl.onSucceeded
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:782
• get onUnfocusable(): boolean
boolean
DBaseStateSetImpl.onUnfocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:722
• get onWarned(): boolean
boolean
DBaseStateSetImpl.onWarned
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:822
• get parent(): null | DBaseStateSet
null | DBaseStateSet
DBaseStateSetImpl.parent
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:35
• set parent(parent): void
| Name | Type |
|---|---|
parent |
null | DBaseStateSet |
void
DBaseStateSetImpl.parent
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:39
• get saved(): DBaseStateSetImpl
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:42
• get ticker(): DBaseStateSetTicker
DBaseStateSetImpl.ticker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:67
• get underActive(): boolean
boolean
DBaseStateSetImpl.underActive
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:522
• get underAlternated(): boolean
boolean
DBaseStateSetImpl.underAlternated
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:866
• get underChanged(): boolean
boolean
DBaseStateSetImpl.underChanged
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:846
• get underDisabled(): boolean
boolean
DBaseStateSetImpl.underDisabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:602
• get underEnabled(): boolean
boolean
DBaseStateSetImpl.underEnabled
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:582
• get underFailed(): boolean
boolean
DBaseStateSetImpl.underFailed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:806
• get underFocusReverse(): boolean
boolean
DBaseStateSetImpl.underFocusReverse
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:686
• get underFocusRoot(): boolean
boolean
DBaseStateSetImpl.underFocusRoot
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:666
• get underFocusable(): boolean
boolean
DBaseStateSetImpl.underFocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:706
• get underFocused(): boolean
boolean
DBaseStateSetImpl.underFocused
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:646
• get underGesturing(): boolean
boolean
DBaseStateSetImpl.underGesturing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:626
• get underHovered(): boolean
boolean
DBaseStateSetImpl.underHovered
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:502
• get underInvalid(): boolean
boolean
DBaseStateSetImpl.underInvalid
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:746
• get underPressed(): boolean
boolean
DBaseStateSetImpl.underPressed
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:542
• get underProcessing(): boolean
boolean
DBaseStateSetImpl.underProcessing
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:766
• get underReadOnly(): boolean
boolean
DBaseStateSetImpl.underReadOnly
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:562
• get underSucceeded(): boolean
boolean
DBaseStateSetImpl.underSucceeded
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:786
• get underUnfocusable(): boolean
boolean
DBaseStateSetImpl.underUnfocusable
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:726
• get underWarned(): boolean
boolean
DBaseStateSetImpl.underWarned
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:826
▸ add(state, value?): this
| Name | Type | Default value |
|---|---|---|
state |
string |
undefined |
value |
null | number |
null |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:120
▸ addAll(states): this
| Name | Type |
|---|---|
states |
string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:152
▸ addAll(states): this
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:153
▸ addAll(states): this
| Name | Type |
|---|---|
states |
string[] | DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:154
▸ addAll(...states): this
| Name | Type |
|---|---|
...states |
string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:156
▸ addAll(...states): this
| Name | Type |
|---|---|
...states |
DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:157
▸ addAllObject(states): this
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
this
DBaseStateSetImpl.addAllObject
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:189
▸ addAllString(states): this
| Name | Type |
|---|---|
states |
string[] |
this
DBaseStateSetImpl.addAllString
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:177
▸ begin(): this
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:51
▸ checkAdded(added, value): boolean
| Name | Type |
|---|---|
added |
string |
value |
null | number |
boolean
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:115
▸ checkAddedsObject(states): boolean
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
boolean
DBaseStateSetImpl.checkAddedsObject
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:140
▸ checkAddedsString(states): boolean
| Name | Type |
|---|---|
states |
string[] |
boolean
DBaseStateSetImpl.checkAddedsString
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:129
▸ checkRemoved(removed): boolean
| Name | Type |
|---|---|
removed |
string |
boolean
DBaseStateSetImpl.checkRemoved
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:202
▸ checkRemovedsObject(states): boolean
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
boolean
DBaseStateSetImpl.checkRemovedsObject
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:225
▸ checkRemovedsString(states): boolean
| Name | Type |
|---|---|
states |
string[] |
boolean
DBaseStateSetImpl.checkRemovedsString
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:215
▸ clear(): this
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:429
▸ copy(other): this
| Name | Type |
|---|---|
other |
DBaseStateSet |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:472
▸ doSet(added, value, removed?): this
| Name | Type |
|---|---|
added |
null | string |
value |
null | number |
removed? |
null | string |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:345
▸ each(iteratee): this
| Name | Type |
|---|---|
iteratee |
(state: string, value: null | number) => void |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:461
▸ end(): this
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:59
▸ in(state, value?): boolean
Returns true if the given state is on or if one of the parents has the given state. If the given value is undefined, values assigned to states are ignored. If the given value is not undefined, values assigned to states are taken into account.
| Name | Type | Description |
|---|---|---|
state |
string |
a state |
value? |
null | number |
a state value |
boolean
true if the given state is on or if one of the parents has the given state.
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:85
▸ is(state, value?): boolean
Returns true if the given state is on. If the given value is undefined, values assigned to states are ignored. If the given value is not undefined, values assigned to states are taken into account.
| Name | Type | Description |
|---|---|---|
state |
string |
a state |
value? |
null | number |
a state value |
boolean
true if the given state is on
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:80
▸ lock(callOnChange?): this
Locks this state set. The locked state set delays calling the change event handler.
| Name | Type | Description |
|---|---|---|
callOnChange? |
boolean |
false to stop calling the change event handler when unlocked |
this
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:29
▸ newBlinker(): DBaseStateSetBlinker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:63
▸ newTicker(): DBaseStateSetTicker
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:76
▸ on(state, value?): boolean
Returns true if the direct parent has the given state. If the given value is undefined, values assigned to states are ignored. If the given value is not undefined, values assigned to states are taken into account.
| Name | Type | Description |
|---|---|---|
state |
string |
a state |
value? |
null | number |
a state value |
boolean
true if the direct parent has the given state.
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:89
▸ onChange(newState, oldState): void
| Name | Type |
|---|---|
newState |
DBaseStateSet |
oldState |
DBaseStateSet |
void
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:70
▸ onParentChange(newState, oldState): void
| Name | Type |
|---|---|
newState |
DBaseStateSet |
oldState |
DBaseStateSet |
void
DBaseStateSetImpl.onParentChange
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:47
▸ remove(state): this
| Name | Type |
|---|---|
state |
string |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:206
▸ removeAll(states): this
| Name | Type |
|---|---|
states |
string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:235
▸ removeAll(states): this
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:236
▸ removeAll(states): this
| Name | Type |
|---|---|
states |
string[] | DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:237
▸ removeAll(...states): this
| Name | Type |
|---|---|
...states |
string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:239
▸ removeAll(...states): this
| Name | Type |
|---|---|
...states |
DBaseStateAndValue[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:240
▸ removeAll(matcher): this
| Name | Type |
|---|---|
matcher |
DBaseStateMatcher |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:242
▸ removeAllMatcher(matcher): this
| Name | Type |
|---|---|
matcher |
DBaseStateMatcher |
this
DBaseStateSetImpl.removeAllMatcher
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:266
▸ removeAllObject(states): this
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
this
DBaseStateSetImpl.removeAllObject
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:296
▸ removeAllString(states): this
| Name | Type |
|---|---|
states |
string[] |
this
DBaseStateSetImpl.removeAllString
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:284
▸ set(state, on): this
| Name | Type |
|---|---|
state |
string |
on |
boolean |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:308
▸ set(state, value, on): this
| Name | Type |
|---|---|
state |
string |
value |
null | number |
on |
boolean |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:309
▸ set(added, removed): this
| Name | Type |
|---|---|
added |
null | string |
removed |
null | string |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:311
▸ set(added, value, removed): this
| Name | Type |
|---|---|
added |
null | string |
value |
null | number |
removed |
null | string |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:312
▸ setAll(states, on): this
| Name | Type |
|---|---|
states |
string[] |
on |
boolean |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:362
▸ setAll(states, on): this
| Name | Type |
|---|---|
states |
DBaseStateAndValue[] |
on |
boolean |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:363
▸ setAll(states, on): this
| Name | Type |
|---|---|
states |
string[] | DBaseStateAndValue[] |
on |
boolean |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:364
▸ setAll(addeds, removeds): this
| Name | Type |
|---|---|
addeds |
null | string[] |
removeds |
null | string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:366
▸ setAll(addeds, removeds): this
| Name | Type |
|---|---|
addeds |
null | DBaseStateAndValue[] |
removeds |
null | string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:367
▸ setAll(addeds, removeds): this
| Name | Type |
|---|---|
addeds |
null | string[] | DBaseStateAndValue[] |
removeds |
null | string[] |
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:368
▸ setAllObject(addeds, removeds): this
| Name | Type |
|---|---|
addeds |
DBaseStateAndValue[] |
removeds |
string[] |
this
DBaseStateSetImpl.setAllObject
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:413
▸ setAllString(addeds, removeds): this
| Name | Type |
|---|---|
addeds |
string[] |
removeds |
string[] |
this
DBaseStateSetImpl.setAllString
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:398
▸ size(): number
number
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:468
▸ toObject(): DBaseStateSetLike
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:870
▸ toString(): string
string
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:880
▸ under(state, value?): boolean
Returns true if one of the parents has the given state. If the given value is undefined, values assigned to states are ignored. If the given value is not undefined, values assigned to states are taken into account.
| Name | Type | Description |
|---|---|---|
state |
string |
a state |
value? |
null | number |
a state value |
boolean
true if one of the parents has the given state.
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:94
▸ unlock(): this
Unlocks this state set and calls the change event handler if this state set has changed.
However, if this state set is locked with the callOnChange of false, the change event handler is not called.
this
this
src/main/typescript/wcardinal/ui/d-base-state-set-impl-observable.ts:37
▸ valueOf(state): undefined | null | number
| Name | Type |
|---|---|
state |
string |
undefined | null | number
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:439
▸ valueOf(state, def): number
| Name | Type |
|---|---|
state |
string |
def |
number |
number
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:440
▸ valueOf(state, def): null | number
| Name | Type |
|---|---|
state |
string |
def |
null | number |
null | number
src/main/typescript/wcardinal/ui/d-base-state-set-impl.ts:441