Winter Cardinal UI - v0.442.0 / DThemeDarkButtonDatetime

Class: DThemeDarkButtonDatetime

DButtonDatetime theme.

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DThemeDarkButtonDatetime(backgroundColor?, hover?, pressed?): DThemeDarkButtonDatetime

Parameters

Name Type Default value
backgroundColor number 0x484848
hover number 0.017
pressed number 0.034

Returns

DThemeDarkButtonDatetime

Inherited from

DThemeDarkButton.constructor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:25

Properties

BACKGROUND_COLOR

Protected Readonly BACKGROUND_COLOR: number

Inherited from

DThemeDarkButton.BACKGROUND_COLOR

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:19


BACKGROUND_COLOR_HOVERED

Protected Readonly BACKGROUND_COLOR_HOVERED: number

Inherited from

DThemeDarkButton.BACKGROUND_COLOR_HOVERED

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:20


BACKGROUND_COLOR_PRESSED

Protected Readonly BACKGROUND_COLOR_PRESSED: number

Inherited from

DThemeDarkButton.BACKGROUND_COLOR_PRESSED

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:21


OUTLINE_COLOR

Protected Readonly OUTLINE_COLOR: number

Inherited from

DThemeDarkButton.OUTLINE_COLOR

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:23

Methods

getAlpha

getAlpha(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getAlpha

Inherited from

DThemeDarkButton.getAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:35


getBackgroundAlpha

getBackgroundAlpha(state): number

Returns a background alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getBackgroundAlpha

Inherited from

DThemeDarkButton.getBackgroundAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:84


getBackgroundColor

getBackgroundColor(state): null | number

Returns a background color. If the color is null, backgrounds are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeButtonDatetime.getBackgroundColor

Inherited from

DThemeDarkButton.getBackgroundColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:38


getBackgroundTexture

getBackgroundTexture(): Texture

Returns a background texture.

Returns

Texture

Implementation of

DThemeButtonDatetime.getBackgroundTexture

Inherited from

DThemeDarkButton.getBackgroundTexture

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:88


getBorderAlign

getBorderAlign(state): number

Returns a border align.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getBorderAlign

Inherited from

DThemeDarkButton.getBorderAlign

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:104


getBorderAlpha

getBorderAlpha(state): number

Returns a border alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getBorderAlpha

Inherited from

DThemeDarkButton.getBorderAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:96


getBorderColor

getBorderColor(state): null | number

Returns a border color. If the color is null, borders are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeButtonDatetime.getBorderColor

Inherited from

DThemeDarkButton.getBorderColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:60


getBorderMask

getBorderMask(state): number

Returns a border mask.

Parameters

Name Type Description
state DBaseStateSet a mask

Returns

number

Implementation of

DThemeButtonDatetime.getBorderMask

Inherited from

DThemeDarkButton.getBorderMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:108


getBorderTexture

getBorderTexture(): Texture

Returns a border texture.

Returns

Texture

Implementation of

DThemeButtonDatetime.getBorderTexture

Inherited from

DThemeDarkButton.getBorderTexture

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:112


getBorderWidth

getBorderWidth(state): number

Returns a border width.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getBorderWidth

Inherited from

DThemeDarkButton.getBorderWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:100


getClearType

getClearType(): number

Returns a clear type. A clear type is for layout classes including DLayoutVertical.

Returns

number

Implementation of

DThemeButtonDatetime.getClearType

Inherited from

DThemeDarkButton.getClearType

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:167


getColor

getColor(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getColor

Inherited from

DThemeDarkButton.getColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:52


getCornerMask

getCornerMask(): number

Returns a corner mask.

Returns

number

Implementation of

DThemeButtonDatetime.getCornerMask

Inherited from

DThemeDarkButton.getCornerMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:136


getCornerRadius

getCornerRadius(): number

Returns a corner radius.

Returns

number

Implementation of

DThemeButtonDatetime.getCornerRadius

Inherited from

DThemeDarkButton.getCornerRadius

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:132


getCursor

getCursor(state): string

Returns a cursor.

Parameters

Name Type
state DBaseStateSet

Returns

string

Implementation of

DThemeButtonDatetime.getCursor

Inherited from

DThemeDarkButton.getCursor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:126


getFontFamilly

getFontFamilly(): string

Returns

string

Implementation of

DThemeButtonDatetime.getFontFamilly

Inherited from

DThemeDarkButton.getFontFamilly

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:11


getFontSize

getFontSize(): number

Returns

number

Implementation of

DThemeButtonDatetime.getFontSize

Inherited from

DThemeDarkButton.getFontSize

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:15


getFontStyle

getFontStyle(): DFontStyle

Returns

DFontStyle

Implementation of

DThemeButtonDatetime.getFontStyle

Inherited from

DThemeDarkButton.getFontStyle

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:27


getFontVariant

getFontVariant(): DFontVariant

Returns

DFontVariant

Implementation of

DThemeButtonDatetime.getFontVariant

Inherited from

DThemeDarkButton.getFontVariant

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:31


getFontWeight

getFontWeight(): DFontWeight

Returns

DFontWeight

Implementation of

DThemeButtonDatetime.getFontWeight

Inherited from

DThemeDarkButton.getFontWeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:23


getHeight

getHeight(): DCoordinateSize

Returns a height.

Returns

DCoordinateSize

Implementation of

DThemeButtonDatetime.getHeight

Inherited from

DThemeDarkButton.getHeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:98


getImageAlignHorizontal

getImageAlignHorizontal(): DAlignHorizontal

Returns

DAlignHorizontal

Implementation of

DThemeButtonDatetime.getImageAlignHorizontal

Inherited from

DThemeDarkButton.getImageAlignHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:18


getImageAlignVertical

getImageAlignVertical(): DAlignVertical

Returns

DAlignVertical

Implementation of

DThemeButtonDatetime.getImageAlignVertical

Inherited from

DThemeDarkButton.getImageAlignVertical

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:22


getImageAlignWith

getImageAlignWith(): DAlignWith

Returns

DAlignWith

Implementation of

DThemeButtonDatetime.getImageAlignWith

Inherited from

DThemeDarkButton.getImageAlignWith

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:26


getImageMarginHorizontal

getImageMarginHorizontal(): number

Returns

number

Implementation of

DThemeButtonDatetime.getImageMarginHorizontal

Inherited from

DThemeDarkButton.getImageMarginHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:30


getImageMarginVertial

getImageMarginVertial(): number

Returns

number

Implementation of

DThemeButtonDatetime.getImageMarginVertial

Inherited from

DThemeDarkButton.getImageMarginVertial

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:34


getImageRotation

getImageRotation(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getImageRotation

Inherited from

DThemeDarkButton.getImageRotation

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:46


getImageSource

getImageSource(state): null | DisplayObject | Texture

Parameters

Name Type
state DBaseStateSet

Returns

null | DisplayObject | Texture

Implementation of

DThemeButtonDatetime.getImageSource

Inherited from

DThemeDarkButton.getImageSource

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:50


getImageTintAlpha

getImageTintAlpha(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getImageTintAlpha

Inherited from

DThemeDarkButton.getImageTintAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:42


getImageTintColor

getImageTintColor(state): null | number

Parameters

Name Type
state DBaseStateSet

Returns

null | number

Implementation of

DThemeButtonDatetime.getImageTintColor

Inherited from

DThemeDarkButton.getImageTintColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:38


getInteractive

getInteractive(): number

Returns an interactivity.

Returns

number

Implementation of

DThemeButtonDatetime.getInteractive

Inherited from

DThemeDarkButton.getInteractive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:175


getLineHeight

getLineHeight(): number

Returns

number

Implementation of

DThemeButtonDatetime.getLineHeight

Inherited from

DThemeDarkButton.getLineHeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:42


getOutlineAlign

getOutlineAlign(state): number

Returns an outline align.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getOutlineAlign

Inherited from

DThemeDarkButton.getOutlineAlign

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:159


getOutlineAlpha

getOutlineAlpha(state): number

Returns an outline alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getOutlineAlpha

Inherited from

DThemeDarkButton.getOutlineAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:144


getOutlineColor

getOutlineColor(state): null | number

Returns an outline color. If the color is null, outlines are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeButtonDatetime.getOutlineColor

Inherited from

DThemeDarkButton.getOutlineColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:68


getOutlineColorActive

getOutlineColorActive(state): null | number

Parameters

Name Type
state DBaseStateSet

Returns

null | number

Inherited from

DThemeDarkButton.getOutlineColorActive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:75


getOutlineColorNonActive

getOutlineColorNonActive(state): null | number

Parameters

Name Type
state DBaseStateSet

Returns

null | number

Inherited from

DThemeDarkButton.getOutlineColorNonActive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:79


getOutlineMask

getOutlineMask(state): number

Returns an outline mask.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getOutlineMask

Inherited from

DThemeDarkButton.getOutlineMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:163


getOutlineOffset

getOutlineOffset(state): number

Returns an outline offset.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getOutlineOffset

Inherited from

DThemeDarkButton.getOutlineOffset

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:83


getOutlineOffsetActive

getOutlineOffsetActive(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Inherited from

DThemeDarkButton.getOutlineOffsetActive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:90


getOutlineOffsetNonActive

getOutlineOffsetNonActive(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Inherited from

DThemeDarkButton.getOutlineOffsetNonActive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:94


getOutlineWidth

getOutlineWidth(state): number

Returns an outline width.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeButtonDatetime.getOutlineWidth

Inherited from

DThemeDarkButton.getOutlineWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:151


getPaddingBottom

getPaddingBottom(): number

Returns a bottom padding.

Returns

number

Implementation of

DThemeButtonDatetime.getPaddingBottom

Inherited from

DThemeDarkButton.getPaddingBottom

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:128


getPaddingLeft

getPaddingLeft(): number

Returns a left padding.

Returns

number

Implementation of

DThemeButtonDatetime.getPaddingLeft

Inherited from

DThemeDarkButton.getPaddingLeft

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:110


getPaddingRight

getPaddingRight(): number

Returns a right padding.

Returns

number

Implementation of

DThemeButtonDatetime.getPaddingRight

Inherited from

DThemeDarkButton.getPaddingRight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:114


getPaddingTop

getPaddingTop(): number

Returns a top padding.

Returns

number

Implementation of

DThemeButtonDatetime.getPaddingTop

Inherited from

DThemeDarkButton.getPaddingTop

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:124


getSecondaryImageAlignHorizontal

getSecondaryImageAlignHorizontal(): DAlignHorizontal

Returns

DAlignHorizontal

Implementation of

DThemeButtonDatetime.getSecondaryImageAlignHorizontal

Inherited from

DThemeDarkButton.getSecondaryImageAlignHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:54


getSecondaryImageAlignVertical

getSecondaryImageAlignVertical(): DAlignVertical

Returns

DAlignVertical

Implementation of

DThemeButtonDatetime.getSecondaryImageAlignVertical

Inherited from

DThemeDarkButton.getSecondaryImageAlignVertical

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:58


getSecondaryImageAlignWith

getSecondaryImageAlignWith(): DAlignWith

Returns

DAlignWith

Implementation of

DThemeButtonDatetime.getSecondaryImageAlignWith

Inherited from

DThemeDarkButton.getSecondaryImageAlignWith

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:62


getSecondaryImageMarginHorizontal

getSecondaryImageMarginHorizontal(): number

Returns

number

Implementation of

DThemeButtonDatetime.getSecondaryImageMarginHorizontal

Inherited from

DThemeDarkButton.getSecondaryImageMarginHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:66


getSecondaryImageMarginVertial

getSecondaryImageMarginVertial(): number

Returns

number

Implementation of

DThemeButtonDatetime.getSecondaryImageMarginVertial

Inherited from

DThemeDarkButton.getSecondaryImageMarginVertial

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:70


getSecondaryImageRotation

getSecondaryImageRotation(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getSecondaryImageRotation

Inherited from

DThemeDarkButton.getSecondaryImageRotation

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:82


getSecondaryImageTintAlpha

getSecondaryImageTintAlpha(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getSecondaryImageTintAlpha

Inherited from

DThemeDarkButton.getSecondaryImageTintAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:78


getSecondaryImageTintColor

getSecondaryImageTintColor(state): null | number

Parameters

Name Type
state DBaseStateSet

Returns

null | number

Implementation of

DThemeButtonDatetime.getSecondaryImageTintColor

Inherited from

DThemeDarkButton.getSecondaryImageTintColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:74


getShadow

getShadow(): null | DShadow

Returns a shadow. If a shadow is null, no shadow is rendered.

Returns

null | DShadow

Implementation of

DThemeButtonDatetime.getShadow

Inherited from

DThemeDarkButton.getShadow

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:171


getTertiaryImageAlignHorizontal

getTertiaryImageAlignHorizontal(): DAlignHorizontal

Returns

DAlignHorizontal

Implementation of

DThemeButtonDatetime.getTertiaryImageAlignHorizontal

Inherited from

DThemeDarkButton.getTertiaryImageAlignHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:86


getTertiaryImageAlignVertical

getTertiaryImageAlignVertical(): DAlignVertical

Returns

DAlignVertical

Implementation of

DThemeButtonDatetime.getTertiaryImageAlignVertical

Inherited from

DThemeDarkButton.getTertiaryImageAlignVertical

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:90


getTertiaryImageAlignWith

getTertiaryImageAlignWith(): DAlignWith

Returns

DAlignWith

Implementation of

DThemeButtonDatetime.getTertiaryImageAlignWith

Inherited from

DThemeDarkButton.getTertiaryImageAlignWith

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:94


getTertiaryImageMarginHorizontal

getTertiaryImageMarginHorizontal(): number

Returns

number

Implementation of

DThemeButtonDatetime.getTertiaryImageMarginHorizontal

Inherited from

DThemeDarkButton.getTertiaryImageMarginHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:98


getTertiaryImageMarginVertial

getTertiaryImageMarginVertial(): number

Returns

number

Implementation of

DThemeButtonDatetime.getTertiaryImageMarginVertial

Inherited from

DThemeDarkButton.getTertiaryImageMarginVertial

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:102


getTertiaryImageRotation

getTertiaryImageRotation(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getTertiaryImageRotation

Inherited from

DThemeDarkButton.getTertiaryImageRotation

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:114


getTertiaryImageTintAlpha

getTertiaryImageTintAlpha(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeButtonDatetime.getTertiaryImageTintAlpha

Inherited from

DThemeDarkButton.getTertiaryImageTintAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:110


getTertiaryImageTintColor

getTertiaryImageTintColor(state): null | number

Parameters

Name Type
state DBaseStateSet

Returns

null | number

Implementation of

DThemeButtonDatetime.getTertiaryImageTintColor

Inherited from

DThemeDarkButton.getTertiaryImageTintColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-image-base.ts:106


getTextAlignHorizontal

getTextAlignHorizontal(): DAlignHorizontal

Returns

DAlignHorizontal

Implementation of

DThemeButtonDatetime.getTextAlignHorizontal

Inherited from

DThemeDarkButton.getTextAlignHorizontal

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:106


getTextAlignVertical

getTextAlignVertical(): DAlignVertical

Returns

DAlignVertical

Implementation of

DThemeButtonDatetime.getTextAlignVertical

Inherited from

DThemeDarkButton.getTextAlignVertical

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:19


getTextFormatter

getTextFormatter(): (value: Date, caller: DButtonDatetime<DThemeButtonDatetime, DButtonDatetimeOptions<DThemeButtonDatetime, any>>) => string

Returns

fn

▸ (value, caller): string

Parameters
Name Type
value Date
caller DButtonDatetime<DThemeButtonDatetime, DButtonDatetimeOptions<DThemeButtonDatetime, any>>
Returns

string

Implementation of

DThemeButtonDatetime.getTextFormatter

Overrides

DThemeDarkButton.getTextFormatter

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-datetime.ts:19


getTextStyleClipping

getTextStyleClipping(): boolean

Returns

boolean

Implementation of

DThemeButtonDatetime.getTextStyleClipping

Inherited from

DThemeDarkButton.getTextStyleClipping

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:31


getTextStyleFitting

getTextStyleFitting(): boolean

Returns

boolean

Implementation of

DThemeButtonDatetime.getTextStyleFitting

Inherited from

DThemeDarkButton.getTextStyleFitting

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:35


getTextStyleWordWrap

getTextStyleWordWrap(): DDynamicTextStyleWordWrap

Returns

DDynamicTextStyleWordWrap

Implementation of

DThemeButtonDatetime.getTextStyleWordWrap

Inherited from

DThemeDarkButton.getTextStyleWordWrap

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:39


getTextValue

getTextValue(state): undefined | Date

Returns a text value. Called to get a text vale if there is no text value.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

undefined | Date

Implementation of

DThemeButtonDatetime.getTextValue

Inherited from

DThemeDarkButton.getTextValue

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:47


getTitle

getTitle(): string

Returns a tooltip text.

Returns

string

Implementation of

DThemeButtonDatetime.getTitle

Inherited from

DThemeDarkButton.getTitle

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:183


getWeight

getWeight(): number

Returns a weight. Weights are for layout classes including DLayoutVertical. If a weight is less than or equals to zero, layout classes are supposed not to change a width / height.

Returns

number

Implementation of

DThemeButtonDatetime.getWeight

Inherited from

DThemeDarkButton.getWeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:187


getWhen

getWhen(): DButtonBaseWhen

Returns when to activate a button.

Returns

DButtonBaseWhen

Implementation of

DThemeButtonDatetime.getWhen

Inherited from

DThemeDarkButton.getWhen

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:122


getWidth

getWidth(): DCoordinateSize

Returns a width.

Returns

DCoordinateSize

Implementation of

DThemeButtonDatetime.getWidth

Inherited from

DThemeDarkButton.getWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:102


getX

getX(): DCoordinatePosition

Returns a X coordinate.

Returns

DCoordinatePosition

Implementation of

DThemeButtonDatetime.getX

Inherited from

DThemeDarkButton.getX

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:64


getY

getY(): DCoordinatePosition

Returns a Y coordinate.

Returns

DCoordinatePosition

Implementation of

DThemeButtonDatetime.getY

Inherited from

DThemeDarkButton.getY

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:68


isOverflowMaskEnabled

isOverflowMaskEnabled(): boolean

Returns

boolean

Implementation of

DThemeButtonDatetime.isOverflowMaskEnabled

Inherited from

DThemeDarkButton.isOverflowMaskEnabled

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-text-base.ts:27


isToggle

isToggle(): boolean

Returns true to turn a toggle mode on.

Returns

boolean

Implementation of

DThemeButtonDatetime.isToggle

Inherited from

DThemeDarkButton.isToggle

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-base.ts:118


newShadow

newShadow(): null | DShadow

Creates a new shadow.

Returns

null | DShadow

Implementation of

DThemeButtonDatetime.newShadow

Inherited from

DThemeDarkButton.newShadow

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:191


newShadowWeak

newShadowWeak(): null | DShadow

Creates a new weak shadow.

Returns

null | DShadow

Implementation of

DThemeButtonDatetime.newShadowWeak

Inherited from

DThemeDarkButton.newShadowWeak

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:195


newState

newState(state): void

Returns true if focusable.

Parameters

Name Type
state DBaseStateSet

Returns

void

Implementation of

DThemeButtonDatetime.newState

Inherited from

DThemeDarkButton.newState

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:179


newTextValue

newTextValue(): DStateAwareOrValueMightBe<Date>

Returns a new text value. Called to initialize a text value if a text value is not given.

Returns

DStateAwareOrValueMightBe<Date>

Implementation of

DThemeButtonDatetime.newTextValue

Overrides

DThemeDarkButton.newTextValue

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-button-datetime.ts:23