Winter Cardinal UI - v0.457.0 / DPagination
A base class for UI classes. See DBaseEvents for event details.
| Name | Type |
|---|---|
THEME |
extends DThemePagination = DThemePagination |
OPTIONS |
extends DPaginationOptions<THEME> = DPaginationOptions<THEME> |
DLayoutHorizontal<THEME, OPTIONS>
↳ DPagination
• new DPagination<THEME, OPTIONS>(options?): DPagination<THEME, OPTIONS>
| Name | Type |
|---|---|
THEME |
extends DThemePagination = DThemePagination |
OPTIONS |
extends DPaginationOptions<THEME> = DPaginationOptions<THEME> |
| Name | Type |
|---|---|
options? |
OPTIONS |
DPagination<THEME, OPTIONS>
src/main/typescript/wcardinal/ui/d-pagination.ts:119
• _accessibleActive: boolean
Member
Memberof
PIXI.DisplayObject#
Todo
Needs docs.
DLayoutHorizontal._accessibleActive
node_modules/pixi.js/pixi.js.d.ts:8559
• _accessibleDiv: boolean
Member
Memberof
PIXI.DisplayObject#
Todo
Needs docs.
DLayoutHorizontal._accessibleDiv
node_modules/pixi.js/pixi.js.d.ts:8565
• Protected _auto: DBaseAutoSet
src/main/typescript/wcardinal/ui/d-base.ts:777
• Protected _background: DBackgroundStateAware
src/main/typescript/wcardinal/ui/d-base.ts:788
• Protected _border: DBorderStateAware
src/main/typescript/wcardinal/ui/d-base.ts:789
• _bounds: Bounds
The bounds object, this is used to calculate and store the bounds of the displayObject.
Member
PIXI.DisplayObject#_bounds
node_modules/pixi.js/pixi.js.d.ts:8681
• Protected _boundsID: number
Flags the cached bounds as dirty.
Member
PIXI.DisplayObject#_boundsID
node_modules/pixi.js/pixi.js.d.ts:8694
• Protected _boundsRect: Bounds
Cache of this display-object’s bounds-rectangle.
Member
PIXI.DisplayObject#_boundsRect
node_modules/pixi.js/pixi.js.d.ts:8701
• Protected Optional _buttonLast: null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:117
• Protected Optional _buttonNext: null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:116
• Protected Optional _buttonPages0: DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:111
• Protected Optional _buttonPages1: DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:113
• Protected Optional _buttonPrevious: null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:108
• Protected Optional _buttonTop: null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:107
• Protected _clearType: number
src/main/typescript/wcardinal/ui/d-base.ts:791
• Protected _corner: DCorner
src/main/typescript/wcardinal/ui/d-base.ts:775
• Protected _cornerAdjust: boolean
DLayoutHorizontal._cornerAdjust
src/main/typescript/wcardinal/ui/d-layout.ts:126
• Protected Optional _cursor: DStateAwareOrValueMightBe<string>
src/main/typescript/wcardinal/ui/d-base.ts:796
• Protected _destroyed: boolean
If the object has been destroyed via destroy(). If true, it should not be used.
Member
PIXI.DisplayObject#_destroyed
node_modules/pixi.js/pixi.js.d.ts:8722
• Protected _direction: DLayoutDirection
src/main/typescript/wcardinal/ui/d-layout.ts:128
• Protected Optional _dots0: DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
src/main/typescript/wcardinal/ui/d-pagination.ts:110
• Protected Optional _dots1: DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
src/main/typescript/wcardinal/ui/d-pagination.ts:114
• Protected _enabledFilters: Filter[]
Currently enabled filters
Member
PIXI.DisplayObject#_enabledFilters
DLayoutHorizontal._enabledFilters
node_modules/pixi.js/pixi.js.d.ts:8675
• Protected Optional _lastDownPoint: Point
DLayoutHorizontal._lastDownPoint
src/main/typescript/wcardinal/ui/d-base.ts:795
• Protected _lastSortedIndex: number
Which index in the children array the display component was before the previous zIndex sort. Used by containers to help sort objects with the same zIndex, by using previous array index as the decider.
Member
PIXI.DisplayObject#_lastSortedIndex
DLayoutHorizontal._lastSortedIndex
node_modules/pixi.js/pixi.js.d.ts:8644
• _localBounds: Bounds
Local bounds object, swapped with _bounds when using getLocalBounds().
Member
PIXI.DisplayObject#_localBounds
DLayoutHorizontal._localBounds
node_modules/pixi.js/pixi.js.d.ts:8687
• Protected _localBoundsRect: Bounds
Cache of this display-object’s local-bounds rectangle.
Member
PIXI.DisplayObject#_localBoundsRect
DLayoutHorizontal._localBoundsRect
node_modules/pixi.js/pixi.js.d.ts:8708
• Protected _margin: DLayoutMargin
src/main/typescript/wcardinal/ui/d-layout.ts:125
• Protected _mask: null | Container | MaskData
The original, cached mask of the object.
Member
PIXI.DisplayObject#_mask
node_modules/pixi.js/pixi.js.d.ts:8715
• Protected _multiplicity: number
DLayoutHorizontal._multiplicity
src/main/typescript/wcardinal/ui/d-layout.ts:127
• Protected _options: undefined | OPTIONS
src/main/typescript/wcardinal/ui/d-base.ts:771
• Protected _outline: DOutline
src/main/typescript/wcardinal/ui/d-base.ts:790
• Protected _padding: DPadding
src/main/typescript/wcardinal/ui/d-base.ts:774
• Protected Optional _page: DPaginationPage<DThemePaginationPage, DPaginationPageOptions<DThemePaginationPage>>
src/main/typescript/wcardinal/ui/d-pagination.ts:112
• Protected _reflowable: DBaseReflowableContainer
src/main/typescript/wcardinal/ui/d-base.ts:794
• Protected _reverse: boolean
src/main/typescript/wcardinal/ui/d-layout.ts:129
• Protected Optional _shortcuts: UtilKeyboardEventShortcut[]
src/main/typescript/wcardinal/ui/d-base.ts:792
• Protected _size: number
src/main/typescript/wcardinal/ui/d-pagination.ts:104
• Protected _snippet: DBaseSnippetContainer
src/main/typescript/wcardinal/ui/d-base.ts:793
• Protected Optional _spaceLeft: null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:109
• Protected Optional _spaceRight: null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:115
• Protected _tempDisplayObjectParent: Container
Member
DLayoutHorizontal._tempDisplayObjectParent
node_modules/pixi.js/pixi.js.d.ts:8795
• Protected _title: string
src/main/typescript/wcardinal/ui/d-base.ts:787
• Protected _value: number
src/main/typescript/wcardinal/ui/d-pagination.ts:105
• Protected _zIndex: number
The zIndex of the displayObject. A higher value will mean it will be rendered on top of other displayObjects within the same container.
Member
PIXI.DisplayObject#_zIndex
node_modules/pixi.js/pixi.js.d.ts:8652
• accessible: boolean
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set
Member
Memberof
PIXI.DisplayObject#
node_modules/pixi.js/pixi.js.d.ts:8538
• accessibleChildren: boolean
Setting to false will prevent any children inside this container to be accessible. Defaults to true.
Member
Memberof
PIXI.DisplayObject#
Default
true
DLayoutHorizontal.accessibleChildren
node_modules/pixi.js/pixi.js.d.ts:8592
• accessibleHint: string
Sets the aria-label attribute of the shadow div
Member
Memberof
PIXI.DisplayObject#
DLayoutHorizontal.accessibleHint
node_modules/pixi.js/pixi.js.d.ts:8553
• accessiblePointerEvents: string
Specify the pointer-events the accessible div will use Defaults to auto.
Member
Memberof
PIXI.DisplayObject#
Default
'auto'
DLayoutHorizontal.accessiblePointerEvents
node_modules/pixi.js/pixi.js.d.ts:8583
• accessibleTitle: string
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to ‘displayObject [tabIndex]’
Member
Memberof
PIXI.DisplayObject#
DLayoutHorizontal.accessibleTitle
node_modules/pixi.js/pixi.js.d.ts:8546
• accessibleType: string
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
Member
Memberof
PIXI.DisplayObject#
Default
'button'
DLayoutHorizontal.accessibleType
node_modules/pixi.js/pixi.js.d.ts:8574
• alpha: number
The opacity of the object.
Member
PIXI.DisplayObject#alpha
node_modules/pixi.js/pixi.js.d.ts:8605
• angle: number
The angle of the object in degrees. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.
Member
node_modules/pixi.js/pixi.js.d.ts:8882
• buttonMode: boolean
If enabled, the mouse cursor use the pointer behavior when hovered over the displayObject if it is interactive
Setting this changes the ‘cursor’ property to 'pointer'.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.buttonMode = true;
Member
Memberof
PIXI.DisplayObject#
node_modules/pixi.js/pixi.js.d.ts:8964
• cacheAsBitmap: boolean
Set this to true if you want this display object to be cached as a bitmap.
This basically takes a snap shot of the display object as it is at that moment. It can
provide a performance benefit for complex static displayObjects.
To remove simply set this property to false
IMPORTANT GOTCHA - Make sure that all your textures are preloaded BEFORE setting this property to true as it will take a snapshot of what is currently there. If the textures have not loaded then they will not appear.
Member
Memberof
PIXI.DisplayObject#
DLayoutHorizontal.cacheAsBitmap
node_modules/pixi.js/pixi.js.d.ts:8991
• Readonly children: DisplayObject[]
The array of children of this container.
Member
PIXI.Container#children
node_modules/pixi.js/pixi.js.d.ts:8327
• cursor: string
This defines what cursor mode is used when the mouse cursor is hovered over the displayObject.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.cursor = 'wait';
See
https://developer.mozilla.org/en/docs/Web/CSS/cursor
Member
Memberof
PIXI.DisplayObject#
node_modules/pixi.js/pixi.js.d.ts:8978
• filterArea: Rectangle
The area the filter is applied to. This is used as more of an optimization rather than figuring out the dimensions of the displayObject each frame you can set this rectangle.
Also works as an interaction mask.
Member
PIXI.DisplayObject#filterArea
node_modules/pixi.js/pixi.js.d.ts:8661
• filters: Filter[]
Sets the filters for the displayObject.
'null'.Member
PIXI.DisplayObject#filters
node_modules/pixi.js/pixi.js.d.ts:8669
• hitArea: IHitArea
Interaction shape. Children will be hit first, then this shape will be checked. Setting this will cause this shape to be checked in hit tests rather than the displayObject’s bounds.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.hitArea = new PIXI.Rectangle(0, 0, 100, 100);
Member
Memberof
PIXI.DisplayObject#
node_modules/pixi.js/pixi.js.d.ts:8952
• interactive: boolean
Enable interaction events for the DisplayObject. Touch, pointer and mouse
events will not be emitted unless interactive is set to true.
Example
const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.on('tap', (event) => {
//handle event
});
Member
Memberof
PIXI.DisplayObject#
node_modules/pixi.js/pixi.js.d.ts:8940
• interactiveChildren: boolean
Determines if the children to the displayObject can be clicked/touched
Setting this to false allows PixiJS to bypass a recursive hitTest function
Member
Memberof
PIXI.Container#
DLayoutHorizontal.interactiveChildren
node_modules/pixi.js/pixi.js.d.ts:8518
• isMask: boolean
Does any other displayObject use this object as a mask?
Member
PIXI.DisplayObject#isMask
node_modules/pixi.js/pixi.js.d.ts:8732
• isSprite: boolean
used to fast check if a sprite is.. a sprite!
Member
PIXI.DisplayObject#isSprite
node_modules/pixi.js/pixi.js.d.ts:8727
• Readonly localTransform: Matrix
Current transform of the object based on local factors: position, scale, other stuff.
Member
DLayoutHorizontal.localTransform
node_modules/pixi.js/pixi.js.d.ts:8840
• mask: null | Container | MaskData
Sets a mask for the displayObject. A mask is an object that limits the visibility of an
object to the shape of the mask applied to it. In PixiJS a regular mask must be a
PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it
utilities shape clipping. To remove a mask, set this property to null.
For sprite mask both alpha and red channel are used. Black mask is the same as transparent mask.
Example
const graphics = new PIXI.Graphics();
graphics.beginFill(0xFF3300);
graphics.drawRect(50, 250, 100, 100);
graphics.endFill();
const sprite = new PIXI.Sprite(texture);
sprite.mask = graphics;
Todo
At the moment, PIXI.CanvasRenderer doesn’t support PIXI.Sprite as mask.
Member
node_modules/pixi.js/pixi.js.d.ts:8918
• name: string
The instance name of the object.
Memberof
PIXI.DisplayObject#
Member
name
node_modules/pixi.js/pixi.js.d.ts:8998
• parent: Container
The display object container that contains this display object.
Member
PIXI.DisplayObject#parent
node_modules/pixi.js/pixi.js.d.ts:8629
• pivot: ObservablePoint
The pivot point of the displayObject that it rotates around. Assignment by value since pixi-v4.
Member
node_modules/pixi.js/pixi.js.d.ts:8861
• renderable: boolean
Can this object be rendered, if false the object will not be drawn but the updateTransform methods will still be called.
Only affects recursive calls from parent. You can ask for bounds manually.
Member
PIXI.DisplayObject#renderable
node_modules/pixi.js/pixi.js.d.ts:8623
• rotation: number
The rotation of the object in radians. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.
Member
node_modules/pixi.js/pixi.js.d.ts:8875
• sortDirty: boolean
Should children be sorted by zIndex at the next updateTransform call. Will get automatically set to true if a new child is added, or if a child’s zIndex changes.
Member
PIXI.Container#sortDirty
node_modules/pixi.js/pixi.js.d.ts:8350
• sortableChildren: boolean
If set to true, the container will sort its children by zIndex value when updateTransform() is called, or manually if sortChildren() is called.
This actually changes the order of elements in the array, so should be treated as a basic solution that is not performant compared to other solutions, such as
Link
https://github.com/pixijs/pixi-display
Also be aware of that this may not work nicely with the addChildAt() function, as the zIndex sorting may cause the child to automatically sorted to another position.
See
PIXI.settings.SORTABLE_CHILDREN
Member
PIXI.Container#sortableChildren
DLayoutHorizontal.sortableChildren
node_modules/pixi.js/pixi.js.d.ts:8343
• transform: Transform
World transform and local transform of this object. This will become read-only later, please do not assign anything there unless you know what are you doing.
Member
PIXI.DisplayObject#transform
node_modules/pixi.js/pixi.js.d.ts:8599
• visible: boolean
The visibility of the object. If false the object will not be drawn, and the updateTransform function will not be called.
Only affects recursive calls from parent. You can ask for bounds or call updateTransform manually.
Member
PIXI.DisplayObject#visible
node_modules/pixi.js/pixi.js.d.ts:8614
• Readonly worldAlpha: number
The multiplied alpha of the displayObject.
Member
PIXI.DisplayObject#worldAlpha
node_modules/pixi.js/pixi.js.d.ts:8636
• Readonly worldTransform: Matrix
Current transform of the object based on world (parent) factors.
Member
DLayoutHorizontal.worldTransform
node_modules/pixi.js/pixi.js.d.ts:8833
• Readonly worldVisible: boolean
Indicates if the object is globally visible.
Member
DLayoutHorizontal.worldVisible
node_modules/pixi.js/pixi.js.d.ts:8898
• zIndex: number
The zIndex of the displayObject. If a container has the sortableChildren property set to true, children will be automatically sorted by zIndex value; a higher value will mean it will be moved towards the end of the array, and thus rendered on top of other displayObjects within the same container.
Member
node_modules/pixi.js/pixi.js.d.ts:8891
▪ Static CORNER_ADJUST_WORK: null | Float32Array = null
DLayoutHorizontal.CORNER_ADJUST_WORK
src/main/typescript/wcardinal/ui/d-layout.ts:123
▪ Static Protected WORK_CONTAINS_POINT: Point
DLayoutHorizontal.WORK_CONTAINS_POINT
src/main/typescript/wcardinal/ui/d-base.ts:767
• get background(): DBackgroundStateAware
DLayoutHorizontal.background
src/main/typescript/wcardinal/ui/d-base.ts:1471
• get border(): DBorderStateAware
DLayoutHorizontal.border
src/main/typescript/wcardinal/ui/d-base.ts:1475
• get buttonLast(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:282
• get buttonNext(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:340
• get buttonPages0(): DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:456
• get buttonPages1(): DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:485
• get buttonPrevious(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:376
• get buttonTop(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:412
• get corner(): DCorner
DLayoutHorizontal.corner
src/main/typescript/wcardinal/ui/d-base.ts:1467
• get dots0(): DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
src/main/typescript/wcardinal/ui/d-pagination.ts:260
• get dots1(): DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
src/main/typescript/wcardinal/ui/d-pagination.ts:269
• get height(): number
number
DLayoutHorizontal.height
src/main/typescript/wcardinal/ui/d-base.ts:1390
• set height(height): void
| Name | Type |
|---|---|
height |
DCoordinateSize |
void
DLayoutHorizontal.height
src/main/typescript/wcardinal/ui/d-base.ts:1394
• get margin(): DLayoutMargin
DLayoutHorizontal.margin
src/main/typescript/wcardinal/ui/d-layout.ts:142
• get multiplicity(): number
number
DLayoutHorizontal.multiplicity
src/main/typescript/wcardinal/ui/d-layout.ts:146
• get options(): undefined | OPTIONS
undefined | OPTIONS
DLayoutHorizontal.options
src/main/typescript/wcardinal/ui/d-base.ts:1690
• get outline(): DOutline
DLayoutHorizontal.outline
src/main/typescript/wcardinal/ui/d-base.ts:1479
• get padding(): DPadding
DLayoutHorizontal.padding
src/main/typescript/wcardinal/ui/d-base.ts:1463
• get page(): DPaginationPage<DThemePaginationPage, DPaginationPageOptions<DThemePaginationPage>>
DPaginationPage<DThemePaginationPage, DPaginationPageOptions<DThemePaginationPage>>
src/main/typescript/wcardinal/ui/d-pagination.ts:514
• get position(): DBasePoint
DLayoutHorizontal.position
src/main/typescript/wcardinal/ui/d-base.ts:1449
• get reflowable(): DBaseReflowableContainer
DLayoutHorizontal.reflowable
src/main/typescript/wcardinal/ui/d-base.ts:1120
• get scale(): DBasePoint
DLayoutHorizontal.scale
src/main/typescript/wcardinal/ui/d-base.ts:1454
• get selected(): number
Returns an index of the selected page.
number
an index of the selected page.
Deprecated
in favor of value.
src/main/typescript/wcardinal/ui/d-pagination.ts:209
• set selected(index): void
Selects a page.
| Name | Type | Description |
|---|---|---|
index |
number |
an index of a page |
void
Deprecated
in favor of value.
src/main/typescript/wcardinal/ui/d-pagination.ts:199
• get shadow(): null | DShadow
null | DShadow
DLayoutHorizontal.shadow
src/main/typescript/wcardinal/ui/d-base.ts:1853
• set shadow(shadow): void
| Name | Type |
|---|---|
shadow |
null | DShadow |
void
DLayoutHorizontal.shadow
src/main/typescript/wcardinal/ui/d-base.ts:1857
• get size(): number
Returns a number of total pages.
number
a number of total pages.
src/main/typescript/wcardinal/ui/d-pagination.ts:236
• set size(size): void
Sets a number of total pages.
| Name | Type | Description |
|---|---|---|
size |
number |
a number of pages |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:218
• get skew(): DBasePoint
DLayoutHorizontal.skew
src/main/typescript/wcardinal/ui/d-base.ts:1459
• get snippet(): DBaseSnippetContainer
DLayoutHorizontal.snippet
src/main/typescript/wcardinal/ui/d-base.ts:1116
• get spaceLeft(): null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:538
• get spaceRight(): null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:554
• get state(): DBaseStateSet
DLayoutHorizontal.state
src/main/typescript/wcardinal/ui/d-base.ts:1686
• get theme(): THEME
THEME
DLayoutHorizontal.theme
src/main/typescript/wcardinal/ui/d-base.ts:1694
• set theme(theme): void
| Name | Type |
|---|---|
theme |
THEME |
void
DLayoutHorizontal.theme
src/main/typescript/wcardinal/ui/d-base.ts:1698
• get title(): string
string
DLayoutHorizontal.title
src/main/typescript/wcardinal/ui/d-base.ts:1487
• set title(title): void
| Name | Type |
|---|---|
title |
string |
void
DLayoutHorizontal.title
src/main/typescript/wcardinal/ui/d-base.ts:1491
• get total(): number
Returns a number of total pages.
number
a number of total pages.
Deprecated
in favor of size
src/main/typescript/wcardinal/ui/d-pagination.ts:256
• set total(total): void
Sets a number of total pages.
| Name | Type | Description |
|---|---|---|
total |
number |
a number of pages |
void
Deprecated
in favor of size
src/main/typescript/wcardinal/ui/d-pagination.ts:246
• get type(): string
string
DLayoutHorizontal.type
src/main/typescript/wcardinal/ui/d-base.ts:1246
• get unsafe(): Transform
Transform
DLayoutHorizontal.unsafe
src/main/typescript/wcardinal/ui/d-base.ts:1483
• get value(): number
Returns a value that is an index of a current page.
number
a value that is an index of a selected page.
src/main/typescript/wcardinal/ui/d-pagination.ts:189
• set value(value): void
Sets a value that is an index of a current page.
| Name | Type | Description |
|---|---|---|
value |
number |
a value that is an index of a page |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:176
• get weight(): number
number
DLayoutHorizontal.weight
src/main/typescript/wcardinal/ui/d-base.ts:1141
• set weight(weight): void
| Name | Type |
|---|---|
weight |
number |
void
DLayoutHorizontal.weight
src/main/typescript/wcardinal/ui/d-base.ts:1145
• get width(): number
number
DLayoutHorizontal.width
src/main/typescript/wcardinal/ui/d-base.ts:1331
• set width(width): void
| Name | Type |
|---|---|
width |
DCoordinateSize |
void
DLayoutHorizontal.width
src/main/typescript/wcardinal/ui/d-base.ts:1335
• get x(): number
number
DLayoutHorizontal.x
src/main/typescript/wcardinal/ui/d-base.ts:1251
• set x(x): void
| Name | Type |
|---|---|
x |
DCoordinatePosition |
void
DLayoutHorizontal.x
src/main/typescript/wcardinal/ui/d-base.ts:1255
• get y(): number
number
DLayoutHorizontal.y
src/main/typescript/wcardinal/ui/d-base.ts:1291
• set y(y): void
| Name | Type |
|---|---|
y |
DCoordinatePosition |
void
DLayoutHorizontal.y
src/main/typescript/wcardinal/ui/d-base.ts:1295
▸ _calculateBounds(): void
void
DLayoutHorizontal._calculateBounds
src/main/typescript/wcardinal/ui/d-base.ts:2084
▸ _recursivePostUpdateTransform(): void
Recursively updates transform of all objects from the root to this one internal function for toLocal()
void
DLayoutHorizontal._recursivePostUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:8737
▸ _render(renderer): void
To be overridden by the subclasses.
| Name | Type | Description |
|---|---|---|
renderer |
Renderer |
The renderer |
void
node_modules/pixi.js/pixi.js.d.ts:8472
▸ addChild<TChildren>(...children): TChildren[0]
Adds one or more children to the container.
Multiple items can be added like so: myContainer.addChild(thingOne, thingTwo, thingThree)
| Name | Type |
|---|---|
TChildren |
extends DisplayObject[] |
| Name | Type | Description |
|---|---|---|
...children |
TChildren |
The DisplayObject(s) to add to the container |
TChildren[0]
The first child that was added.
node_modules/pixi.js/pixi.js.d.ts:8365
▸ addChildAt<T>(child, index): T
Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown
| Name | Type |
|---|---|
T |
extends DisplayObject |
| Name | Type | Description |
|---|---|---|
child |
T |
The child to add |
index |
number |
The index to place the child in |
T
The child that was added.
node_modules/pixi.js/pixi.js.d.ts:8373
▸ addListener(event, fn, context?): this
| Name | Type |
|---|---|
event |
InteractionEventTypes |
fn |
(event: InteractionEvent) => void |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25521
▸ addListener(event, fn, context?): this
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25523
▸ addSpace(options?): DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
| Name | Type |
|---|---|
options? |
DLayoutSpaceOptions<DThemeLayoutSpace> |
DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-layout.ts:804
▸ allocButtonPages0(size): void
| Name | Type |
|---|---|
size |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:474
▸ allocButtonPages1(size): void
| Name | Type |
|---|---|
size |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:503
▸ applyTitle(): void
void
src/main/typescript/wcardinal/ui/d-base.ts:1500
▸ blur(recursively?): this
| Name | Type |
|---|---|
recursively? |
boolean |
this
src/main/typescript/wcardinal/ui/d-base.ts:1606
▸ calcSpaceLeft(isOn, size, padding, margin): number
| Name | Type |
|---|---|
isOn |
boolean |
size |
number |
padding |
number |
margin |
number |
number
DLayoutHorizontal.calcSpaceLeft
src/main/typescript/wcardinal/ui/d-layout.ts:261
▸ calculateBounds(): void
Recalculates the bounds of the container.
void
DLayoutHorizontal.calculateBounds
node_modules/pixi.js/pixi.js.d.ts:8436
▸ containerUpdateTransform(): void
Container default updateTransform, does update children of container. Will crash if there’s no parent element.
void
Memberof
PIXI.Container#
Function
containerUpdateTransform
DLayoutHorizontal.containerUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:8510
▸ containsGlobalPoint(point): boolean
| Name | Type |
|---|---|
point |
Point |
boolean
DLayoutHorizontal.containsGlobalPoint
src/main/typescript/wcardinal/ui/d-base.ts:2098
▸ containsLocalPoint(point): boolean
| Name | Type |
|---|---|
point |
Point |
boolean
DLayoutHorizontal.containsLocalPoint
src/main/typescript/wcardinal/ui/d-base.ts:2102
▸ containsPoint(point): boolean
| Name | Type |
|---|---|
point |
Point |
boolean
DLayoutHorizontal.containsPoint
src/main/typescript/wcardinal/ui/d-base.ts:2089
▸ countColumn(istart, irow, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
irow |
number |
cornerAdjustWork |
Float32Array |
number
src/main/typescript/wcardinal/ui/d-layout.ts:760
▸ countRow(istart, icolumn, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
icolumn |
number |
cornerAdjustWork |
Float32Array |
number
src/main/typescript/wcardinal/ui/d-layout.ts:718
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/d-base.ts:2122
▸ disableTempParent(cacheParent): void
Pair method for enableTempParent
| Name | Type | Description |
|---|---|---|
cacheParent |
DisplayObject |
actual parent of element |
void
DLayoutHorizontal.disableTempParent
node_modules/pixi.js/pixi.js.d.ts:8812
▸ displayObjectUpdateTransform(): void
DisplayObject default updateTransform, does not update children of container. Will crash if there’s no parent element.
void
Memberof
PIXI.DisplayObject#
Function
displayObjectUpdateTransform
DLayoutHorizontal.displayObjectUpdateTransform
node_modules/pixi.js/pixi.js.d.ts:8926
▸ doUpdate0(value, size): void
| Name | Type |
|---|---|
value |
number |
size |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:607
▸ doUpdate1(value, size): void
| Name | Type |
|---|---|
value |
number |
size |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:643
▸ doUpdate2(value, size, left, right, nleft1, nright1): void
| Name | Type |
|---|---|
value |
number |
size |
number |
left |
0 | 1 | 2 | 3 | 4 |
right |
0 | 1 | 2 | 3 | 4 |
nleft1 |
number |
nright1 |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:805
▸ emit(event, ...args): boolean
Calls each of the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
...args |
any[] |
Arguments that are passed to registered listeners |
boolean
true if the event had listeners, else false.
node_modules/pixi.js/pixi.js.d.ts:25441
▸ enableTempParent(): DisplayObject
Used in Renderer, cacheAsBitmap and other places where you call an updateTransform on root
const cacheParent = elem.enableTempParent();
elem.updateTransform();
elem.disableTempParent(cacheParent);
DisplayObject
current parent
DLayoutHorizontal.enableTempParent
node_modules/pixi.js/pixi.js.d.ts:8807
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
node_modules/pixi.js/pixi.js.d.ts:25415
▸ findColumnIndexNext(istart, icolumn, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
icolumn |
number |
cornerAdjustWork |
Float32Array |
number
DLayoutHorizontal.findColumnIndexNext
src/main/typescript/wcardinal/ui/d-layout.ts:699
▸ findColumnIndexPrevious(istart, icolumn, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
icolumn |
number |
cornerAdjustWork |
Float32Array |
number
DLayoutHorizontal.findColumnIndexPrevious
src/main/typescript/wcardinal/ui/d-layout.ts:686
▸ findRowIndexNext(istart, irow, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
irow |
number |
cornerAdjustWork |
Float32Array |
number
DLayoutHorizontal.findRowIndexNext
src/main/typescript/wcardinal/ui/d-layout.ts:741
▸ findRowIndexPrevious(istart, irow, cornerAdjustWork): number
| Name | Type |
|---|---|
istart |
number |
irow |
number |
cornerAdjustWork |
Float32Array |
number
DLayoutHorizontal.findRowIndexPrevious
src/main/typescript/wcardinal/ui/d-layout.ts:728
▸ focus(): this
this
src/main/typescript/wcardinal/ui/d-base.ts:1602
▸ focusOnClosest(): void
void
DLayoutHorizontal.focusOnClosest
src/main/typescript/wcardinal/ui/d-base.ts:2019
▸ getBounds(skipUpdate?, rect?): Rectangle
Retrieves the bounds of the displayObject as a rectangle object.
| Name | Type | Description |
|---|---|---|
skipUpdate? |
boolean |
Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost. |
rect? |
Rectangle |
Optional rectangle to store the result of the bounds calculation. |
Rectangle
The rectangular bounding area.
node_modules/pixi.js/pixi.js.d.ts:8747
▸ getChildAt(index): DisplayObject
Returns the child at the specified index
| Name | Type | Description |
|---|---|---|
index |
number |
The index to get the child at |
DisplayObject
The child at the given index, if any.
node_modules/pixi.js/pixi.js.d.ts:8401
▸ getChildByName(name, deep?): DisplayObject
Returns the display object in the container.
Recursive searches are done in a preorder traversal.
| Name | Type | Description |
|---|---|---|
name |
string |
Instance name. |
deep? |
boolean |
Whether to search recursively |
DisplayObject
The child with the specified name.
Method
getChildByName
Memberof
PIXI.Container#
DLayoutHorizontal.getChildByName
node_modules/pixi.js/pixi.js.d.ts:8530
▸ getChildIndex(child): number
Returns the index position of a child DisplayObject instance
| Name | Type | Description |
|---|---|---|
child |
DisplayObject |
The DisplayObject instance to identify |
number
The index position of the child display object to identify
DLayoutHorizontal.getChildIndex
node_modules/pixi.js/pixi.js.d.ts:8387
▸ getClearType(): number
number
DLayoutHorizontal.getClearType
src/main/typescript/wcardinal/ui/d-base.ts:1215
▸ getClippingRect(target, result): void
Returns a clipping rect.
| Name | Type | Description |
|---|---|---|
target |
unknown |
- |
result |
Rectangle |
a clipping rect |
void
DLayoutHorizontal.getClippingRect
src/main/typescript/wcardinal/ui/d-base.ts:2115
▸ getGlobalPosition(point?, skipUpdate?): Point
Returns the global position of the displayObject. Does not depend on object scale, rotation and pivot.
| Name | Type | Description |
|---|---|---|
point? |
Point |
The point to write the global value to. |
skipUpdate? |
boolean |
Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost. |
Point
The updated point.
Method
getGlobalPosition
Memberof
PIXI.DisplayObject#
DLayoutHorizontal.getGlobalPosition
node_modules/pixi.js/pixi.js.d.ts:9010
▸ getHeight(): DCoordinateSize
src/main/typescript/wcardinal/ui/d-base.ts:1398
▸ getLocalBounds(rect?, skipChildrenUpdate?): Rectangle
Retrieves the local bounds of the displayObject as a rectangle object.
| Name | Type | Description |
|---|---|---|
rect? |
Rectangle |
Optional rectangle to store the result of the bounds calculation. |
skipChildrenUpdate? |
boolean |
Setting to true will stop re-calculation of children transforms, it was default behaviour of pixi 4.0-5.2 and caused many problems to users. |
Rectangle
The rectangular bounding area.
DLayoutHorizontal.getLocalBounds
node_modules/pixi.js/pixi.js.d.ts:8445
▸ getParentOfSize(): null | { height: number ; padding: DPadding ; width: number }
null | { height: number ; padding: DPadding ; width: number }
DLayoutHorizontal.getParentOfSize
src/main/typescript/wcardinal/ui/d-base.ts:1887
▸ getSpaceLeft(baseSize, margin): number
| Name | Type |
|---|---|
baseSize |
number |
margin |
number |
number
DLayoutHorizontal.getSpaceLeft
src/main/typescript/wcardinal/ui/d-layout.ts:184
▸ getThemeDefault(): THEME
THEME
DLayoutHorizontal.getThemeDefault
src/main/typescript/wcardinal/ui/d-base.ts:2075
▸ getType(): string
string
src/main/typescript/wcardinal/ui/d-pagination.ts:945
▸ getWeightTotal(): number
number
DLayoutHorizontal.getWeightTotal
src/main/typescript/wcardinal/ui/d-layout.ts:150
▸ getWidth(): DCoordinateSize
src/main/typescript/wcardinal/ui/d-base.ts:1339
▸ getX(): DCoordinatePosition
src/main/typescript/wcardinal/ui/d-base.ts:1259
▸ getY(): DCoordinatePosition
src/main/typescript/wcardinal/ui/d-base.ts:1299
▸ goTo(index, silently?): boolean
Goes to the given page. Unlike value, this method emits the change event if silently is not true.
| Name | Type | Description |
|---|---|---|
index |
number |
a page index |
silently? |
boolean |
true to suppress the change event |
boolean
this
src/main/typescript/wcardinal/ui/d-pagination.ts:326
▸ goToLast(silently?): boolean
Goes to the last page. Unlike value, this method emits the change event if silently is not true.
| Name | Type | Description |
|---|---|---|
silently? |
boolean |
true to suppress the change event |
boolean
true if succeeded.
src/main/typescript/wcardinal/ui/d-pagination.ts:314
▸ goToNext(silently?): boolean
Goes to the next page. Unlike value, this method emits the change event if silently is not true.
| Name | Type | Description |
|---|---|---|
silently? |
boolean |
true to suppress the change event |
boolean
true if succeeded.
src/main/typescript/wcardinal/ui/d-pagination.ts:372
▸ goToPrevious(silently?): boolean
Goes to the previous page. Unlike value, this method emits the change event if silently is not true.
| Name | Type | Description |
|---|---|---|
silently? |
boolean |
true to suppress the change event |
boolean
true if succeeded.
src/main/typescript/wcardinal/ui/d-pagination.ts:408
▸ goToTop(silently?): boolean
Goes to the top page. Unlike value, this method emits the change event if silently is not true.
| Name | Type | Description |
|---|---|---|
silently? |
boolean |
true to suppress the change event |
boolean
true if succeeded.
src/main/typescript/wcardinal/ui/d-pagination.ts:444
▸ hasClearType(children, index, clearType): boolean
| Name | Type |
|---|---|
children |
DisplayObject[] |
index |
number |
clearType |
number |
boolean
DLayoutHorizontal.hasClearType
src/main/typescript/wcardinal/ui/d-layout.ts:669
▸ hasClearTypeAfter(children, index): boolean
| Name | Type |
|---|---|
children |
DisplayObject[] |
index |
number |
boolean
DLayoutHorizontal.hasClearTypeAfter
src/main/typescript/wcardinal/ui/d-layout.ts:665
▸ hasClearTypeBefore(children, index): boolean
| Name | Type |
|---|---|
children |
DisplayObject[] |
index |
number |
boolean
DLayoutHorizontal.hasClearTypeBefore
src/main/typescript/wcardinal/ui/d-layout.ts:661
▸ hasDirty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1588
▸ hasRefitableHeight(target): target is DRefitable
Returns true if the given target has a height that doesn’t depend on its parent height.
| Name | Type | Description |
|---|---|---|
target |
any |
a target |
target is DRefitable
true if the given target has a height that doesn’t depend on its parent height.
DLayoutHorizontal.hasRefitableHeight
src/main/typescript/wcardinal/ui/d-base.ts:1831
▸ hasRefitableWidth(target): target is DRefitable
Returns true if the given target has a width that doesn’t depend on its parent width.
| Name | Type | Description |
|---|---|---|
target |
any |
a target |
target is DRefitable
true if the given target has a width that doesn’t depend on its parent width.
DLayoutHorizontal.hasRefitableWidth
src/main/typescript/wcardinal/ui/d-base.ts:1843
▸ hide(): this
this
src/main/typescript/wcardinal/ui/d-base.ts:1520
▸ hideDots(dots): void
| Name | Type |
|---|---|
dots |
DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>> |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:941
▸ hidePage(button): void
| Name | Type |
|---|---|
button |
DImageBase<number, DThemeImageBase<number>, DImageBaseOptions<number, DThemeImageBase<number>, any>> |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:933
▸ init(options?): void
| Name | Type |
|---|---|
options? |
OPTIONS |
void
src/main/typescript/wcardinal/ui/d-layout.ts:131
▸ initReflowable(): void
void
DLayoutHorizontal.initReflowable
src/main/typescript/wcardinal/ui/d-base.ts:1124
▸ isDirty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1584
▸ isEventTarget(e): boolean
| Name | Type |
|---|---|
e |
InteractionEvent |
boolean
DLayoutHorizontal.isEventTarget
src/main/typescript/wcardinal/ui/d-base.ts:1965
▸ isHidden(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1530
▸ isHierarchyDirty(): boolean
boolean
DLayoutHorizontal.isHierarchyDirty
src/main/typescript/wcardinal/ui/d-base.ts:1576
▸ isRefitable(target): target is DRefitable
| Name | Type |
|---|---|
target |
any |
target is DRefitable
src/main/typescript/wcardinal/ui/d-base.ts:1821
▸ isShown(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1516
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
DLayoutHorizontal.listenerCount
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event): Function[]
Return the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
Function[]
node_modules/pixi.js/pixi.js.d.ts:25424
▸ newButtonLast(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:291
▸ newButtonNext(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:349
▸ newButtonPage(): DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:448
▸ newButtonPages0(): DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:465
▸ newButtonPages1(): DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>>[]
src/main/typescript/wcardinal/ui/d-pagination.ts:494
▸ newButtonPrevious(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:385
▸ newButtonTop(): null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
null | DButton<string, DThemeButton<string>, DButtonOptions<string, DThemeButton<string>, any>>
src/main/typescript/wcardinal/ui/d-pagination.ts:421
▸ newDots(): DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>>
src/main/typescript/wcardinal/ui/d-pagination.ts:278
▸ newPadding(theme, options?, callback?): DBasePadding
| Name | Type |
|---|---|
theme |
THEME |
options? |
OPTIONS |
callback? |
() => void |
src/main/typescript/wcardinal/ui/d-base.ts:1095
▸ newPage(): DPaginationPage<DThemePaginationPage, DPaginationPageOptions<DThemePaginationPage>>
DPaginationPage<DThemePaginationPage, DPaginationPageOptions<DThemePaginationPage>>
src/main/typescript/wcardinal/ui/d-pagination.ts:523
▸ newSpace(): null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:570
▸ newSpaceLeft(): null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:547
▸ newSpaceRight(): null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
null | DLayoutSpace<DThemeLayoutSpace, DLayoutSpaceOptions<DThemeLayoutSpace>>
src/main/typescript/wcardinal/ui/d-pagination.ts:563
▸ off(event, fn?, context?): this
| Name | Type |
|---|---|
event |
string |
fn? |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25534
▸ on(event, fn, context?): this
| Name | Type |
|---|---|
event |
"removed" | "added" |
fn |
(displayObject: DisplayObject) => void |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25530
▸ on(event, fn, context?): this
| Name | Type |
|---|---|
event |
string |
fn |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25532
▸ onBlur(): void
void
src/main/typescript/wcardinal/ui/d-base.ts:1679
▸ onButtonLastActive(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:303
▸ onButtonNextActive(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:361
▸ onButtonPageActive(button): void
| Name | Type |
|---|---|
button |
DButton<number, DThemeButton<number>, DButtonOptions<number, DThemeButton<number>, any>> |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:527
▸ onButtonPreviousActive(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:397
▸ onButtonTopActive(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:433
▸ onChildBlur(blured): void
| Name | Type |
|---|---|
blured |
DBase<DThemeBase, DBaseOptions<DThemeBase, any>> |
void
src/main/typescript/wcardinal/ui/d-base.ts:1672
▸ onChildFocus(focused): void
| Name | Type |
|---|---|
focused |
DBase<DThemeBase, DBaseOptions<DThemeBase, any>> |
void
DLayoutHorizontal.onChildFocus
src/main/typescript/wcardinal/ui/d-base.ts:1658
▸ onChildrenChange(): void
void
DLayoutHorizontal.onChildrenChange
src/main/typescript/wcardinal/ui/d-base.ts:1128
▸ onDblClick(e, interactionManager): boolean
| Name | Type |
|---|---|
e |
MouseEvent | TouchEvent |
interactionManager |
InteractionManager |
boolean
src/main/typescript/wcardinal/ui/d-base.ts:2051
▸ onDown(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:1979
▸ onDownThis(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:1986
▸ onFocus(): void
void
src/main/typescript/wcardinal/ui/d-base.ts:1665
▸ onHierarchyDirty(): void
void
DLayoutHorizontal.onHierarchyDirty
src/main/typescript/wcardinal/ui/d-base.ts:1580
▸ onKeyDown(e): boolean
| Name | Type |
|---|---|
e |
KeyboardEvent |
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1954
▸ onKeyUp(e): boolean
| Name | Type |
|---|---|
e |
KeyboardEvent |
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1959
▸ onMove(newX, newY, oldX, oldY): void
| Name | Type |
|---|---|
newX |
number |
newY |
number |
oldX |
number |
oldY |
number |
void
src/main/typescript/wcardinal/ui/d-base.ts:1153
▸ onOut(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:2042
▸ onOver(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:2028
▸ onParentMove(newX, newY, oldX, oldY): void
Called when a parent moved.
| Name | Type | Description |
|---|---|---|
newX |
number |
a new parent’s local x position |
newY |
number |
a new parent’s local y position |
oldX |
number |
an old parent’s local x position |
oldY |
number |
an old parent’s local y position |
void
DLayoutHorizontal.onParentMove
src/main/typescript/wcardinal/ui/d-base.ts:1943
▸ onParentResize(parentWidth, parentHeight, parentPadding): void
Called when a parent resized.
| Name | Type | Description |
|---|---|---|
parentWidth |
number |
a parent’s local width |
parentHeight |
number |
a parent’s local height |
parentPadding |
DPadding |
- |
void
DLayoutHorizontal.onParentResize
src/main/typescript/wcardinal/ui/d-base.ts:1902
▸ onRefit(): void
void
src/main/typescript/wcardinal/ui/d-layout.ts:265
▸ onReflow(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:588
▸ onResize(newWidth, newHeight, oldWidth, oldHeight): void
| Name | Type |
|---|---|
newWidth |
number |
newHeight |
number |
oldWidth |
number |
oldHeight |
number |
void
src/main/typescript/wcardinal/ui/d-base.ts:1219
▸ onScale(newX, newY, oldX, oldY): void
| Name | Type |
|---|---|
newX |
number |
newY |
number |
oldX |
number |
oldY |
number |
void
src/main/typescript/wcardinal/ui/d-base.ts:1236
▸ onShortcut(e): void
| Name | Type |
|---|---|
e |
KeyboardEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:1133
▸ onSkew(newX, newY, oldX, oldY): void
| Name | Type |
|---|---|
newX |
number |
newY |
number |
oldX |
number |
oldY |
number |
void
src/main/typescript/wcardinal/ui/d-base.ts:1241
▸ onStateChange(newState, oldState): void
| Name | Type |
|---|---|
newState |
DBaseStateSet |
oldState |
DBaseStateSet |
void
DLayoutHorizontal.onStateChange
src/main/typescript/wcardinal/ui/d-base.ts:1629
▸ onUp(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:1996
▸ onUpThis(e): void
| Name | Type |
|---|---|
e |
InteractionEvent |
void
src/main/typescript/wcardinal/ui/d-base.ts:2003
▸ onWheel(e, deltas, global): boolean
| Name | Type |
|---|---|
e |
WheelEvent |
deltas |
UtilWheelEventDeltas |
global |
Point |
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1948
▸ once(event, fn, context?): this
| Name | Type |
|---|---|
event |
"removed" | "added" |
fn |
(displayObject: DisplayObject) => void |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25527
▸ once(event, fn, context?): this
| Name | Type |
|---|---|
event |
string |
fn |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25529
▸ reflow(): void
void
src/main/typescript/wcardinal/ui/d-base.ts:1712
▸ removeAllListeners(event?): this
| Name | Type |
|---|---|
event? |
InteractionEventTypes |
this
DLayoutHorizontal.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25516
▸ removeAllListeners(event?): this
| Name | Type |
|---|---|
event? |
string | symbol |
this
DLayoutHorizontal.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25517
▸ removeChild<TChildren>(...children): TChildren[0]
Removes one or more children from the container.
| Name | Type |
|---|---|
TChildren |
extends DisplayObject[] |
| Name | Type | Description |
|---|---|---|
...children |
TChildren |
The DisplayObject(s) to remove |
TChildren[0]
The first child that was removed.
node_modules/pixi.js/pixi.js.d.ts:8408
▸ removeChildAt(index): DisplayObject
Removes a child from the specified index position.
| Name | Type | Description |
|---|---|---|
index |
number |
The index to get the child from |
DisplayObject
The child that was removed.
DLayoutHorizontal.removeChildAt
node_modules/pixi.js/pixi.js.d.ts:8415
▸ removeChildren(beginIndex?, endIndex?): DisplayObject[]
Removes all children from this container that are within the begin and end indexes.
| Name | Type | Description |
|---|---|---|
beginIndex? |
number |
The beginning position. |
endIndex? |
number |
The ending position. Default value is size of the container. |
DisplayObject[]
List of removed children
DLayoutHorizontal.removeChildren
node_modules/pixi.js/pixi.js.d.ts:8423
▸ removeListener(event, fn?, context?): this
| Name | Type |
|---|---|
event |
InteractionEventTypes |
fn? |
(event: InteractionEvent) => void |
context? |
any |
this
DLayoutHorizontal.removeListener
node_modules/pixi.js/pixi.js.d.ts:25513
▸ removeListener(event, fn?, context?): this
| Name | Type |
|---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
this
DLayoutHorizontal.removeListener
node_modules/pixi.js/pixi.js.d.ts:25515
▸ render(renderer): void
| Name | Type |
|---|---|
renderer |
Renderer |
void
src/main/typescript/wcardinal/ui/d-base.ts:2060
▸ renderAdvanced(renderer): void
Render the object using the WebGL renderer and advanced features.
| Name | Type | Description |
|---|---|---|
renderer |
Renderer |
The renderer |
void
DLayoutHorizontal.renderAdvanced
node_modules/pixi.js/pixi.js.d.ts:8465
▸ resize(width?, height?): boolean
| Name | Type |
|---|---|
width? |
number |
height? |
number |
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1165
▸ setChildIndex(child, index): void
Changes the position of an existing child in the display object container
| Name | Type | Description |
|---|---|---|
child |
DisplayObject |
The child DisplayObject instance for which you want to change the index number |
index |
number |
The resulting index number for the child display object |
void
DLayoutHorizontal.setChildIndex
node_modules/pixi.js/pixi.js.d.ts:8394
▸ setFocused(isFocused): this
| Name | Type |
|---|---|
isFocused |
boolean |
this
src/main/typescript/wcardinal/ui/d-base.ts:1592
▸ setHeight(height): void
| Name | Type |
|---|---|
height |
DCoordinateSize |
void
src/main/typescript/wcardinal/ui/d-base.ts:1402
▸ setParent(container): Container
Set the parent Container of this DisplayObject.
| Name | Type | Description |
|---|---|---|
container |
Container |
The Container to add this DisplayObject to. |
Container
The Container that this DisplayObject was added to.
node_modules/pixi.js/pixi.js.d.ts:8775
▸ setTransform(x?, y?, scaleX?, scaleY?, rotation?, skewX?, skewY?, pivotX?, pivotY?): DisplayObject
Convenience function to set the position, scale, skew and pivot at once.
| Name | Type | Description |
|---|---|---|
x? |
number |
The X position |
y? |
number |
The Y position |
scaleX? |
number |
The X scale value |
scaleY? |
number |
The Y scale value |
rotation? |
number |
The rotation |
skewX? |
number |
The X skew value |
skewY? |
number |
The Y skew value |
pivotX? |
number |
The X pivot value |
pivotY? |
number |
The Y pivot value |
DisplayObject
The DisplayObject instance
DLayoutHorizontal.setTransform
node_modules/pixi.js/pixi.js.d.ts:8790
▸ setWidth(width): void
| Name | Type |
|---|---|
width |
DCoordinateSize |
void
src/main/typescript/wcardinal/ui/d-base.ts:1343
▸ setX(x): void
| Name | Type |
|---|---|
x |
DCoordinatePosition |
void
src/main/typescript/wcardinal/ui/d-base.ts:1268
▸ setY(y): void
| Name | Type |
|---|---|
y |
DCoordinatePosition |
void
src/main/typescript/wcardinal/ui/d-base.ts:1308
▸ show(): this
this
src/main/typescript/wcardinal/ui/d-base.ts:1507
▸ showDots(dots, from, to): void
| Name | Type |
|---|---|
dots |
DPaginationDots<DThemePaginationDots, DPaginationDotsOptions<DThemePaginationDots>> |
from |
number |
to |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:937
▸ showPage(button, index): void
| Name | Type |
|---|---|
button |
DImageBase<number, DThemeImageBase<number>, DImageBaseOptions<number, DThemeImageBase<number>, any>> |
index |
number |
void
src/main/typescript/wcardinal/ui/d-pagination.ts:928
▸ sortChildren(): void
Sorts children by zIndex. Previous order is mantained for 2 children with the same zIndex.
void
DLayoutHorizontal.sortChildren
node_modules/pixi.js/pixi.js.d.ts:8427
▸ swapChildren(child, child2): void
Swaps the position of 2 Display Objects within this container.
| Name | Type | Description |
|---|---|---|
child |
DisplayObject |
First display object to swap |
child2 |
DisplayObject |
Second display object to swap |
void
DLayoutHorizontal.swapChildren
node_modules/pixi.js/pixi.js.d.ts:8380
▸ toCornerMaskColumn(i0, i1, i2, n): number
| Name | Type |
|---|---|
i0 |
number |
i1 |
number |
i2 |
number |
n |
number |
number
DLayoutHorizontal.toCornerMaskColumn
src/main/typescript/wcardinal/ui/d-layout.ts:770
▸ toCornerMaskRow(i0, i1, i2, n): number
| Name | Type |
|---|---|
i0 |
number |
i1 |
number |
i2 |
number |
n |
number |
number
DLayoutHorizontal.toCornerMaskRow
src/main/typescript/wcardinal/ui/d-layout.ts:787
▸ toCursor(cursor, state): string
| Name | Type |
|---|---|
cursor |
DStateAwareOrValueMightBe<string> |
state |
DBaseStateSet |
string
src/main/typescript/wcardinal/ui/d-base.ts:1099
▸ toDirty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1534
▸ toGlobal(position, point?, skipUpdate?): Point
Calculates the global position of the display object.
| Name | Type | Description |
|---|---|---|
position |
IPointData |
The world origin to calculate from. |
point? |
Point |
A Point object in which to store the value, optional (otherwise will create a new Point). |
skipUpdate? |
boolean |
Should we skip the update transform. |
Point
A point object representing the position of this object.
node_modules/pixi.js/pixi.js.d.ts:8757
▸ toHasDirty(): boolean
boolean
src/main/typescript/wcardinal/ui/d-base.ts:1543
▸ toHierarchyDirty(): boolean
boolean
DLayoutHorizontal.toHierarchyDirty
src/main/typescript/wcardinal/ui/d-base.ts:1559
▸ toLocal(position, from?, point?, skipUpdate?): Point
Calculates the local position of the display object relative to another point.
| Name | Type | Description |
|---|---|---|
position |
IPointData |
The world origin to calculate from. |
from? |
DisplayObject |
The DisplayObject to calculate the global position from. |
point? |
Point |
A Point object in which to store the value, optional (otherwise will create a new Point). |
skipUpdate? |
boolean |
Should we skip the update transform |
Point
A point object representing the position of this object
node_modules/pixi.js/pixi.js.d.ts:8768
▸ toParentHasDirty(): void
void
DLayoutHorizontal.toParentHasDirty
src/main/typescript/wcardinal/ui/d-base.ts:1552
▸ toParentHierarchyDirty(): void
void
DLayoutHorizontal.toParentHierarchyDirty
src/main/typescript/wcardinal/ui/d-base.ts:1569
▸ toParentResized(): void
void
DLayoutHorizontal.toParentResized
src/main/typescript/wcardinal/ui/d-base.ts:1880
▸ update(): void
void
src/main/typescript/wcardinal/ui/d-pagination.ts:593
▸ updateTransform(): void
void
DLayoutHorizontal.updateTransform
src/main/typescript/wcardinal/ui/d-base.ts:2069
▸ mixin(source): void
Mixes all enumerable properties and methods from a source object to DisplayObject.
| Name | Type | Description |
|---|---|---|
source |
any |
The source of properties and methods to mix in. |
void
node_modules/pixi.js/pixi.js.d.ts:9230