Home Reference Source
import {DockedLayoutHelper} from 'arva-js/utils/view/LayoutHelpers.js'
public class | source

DockedLayoutHelper

Extends:

BaseLayoutHelper → DockedLayoutHelper

Method Summary

Public Methods
public

boundingBoxSize(dockedRenderables: OrderedHashMap, filledRenderables: OrderedHashMap, ownDecorators: Object): Array | Number

Calculates the bounding box size for all the renderables passed to the function

public

getDockType(dockMethodToGet: *): *

Inherited Summary

From class BaseLayoutHelper
public
public

layout()

Public Methods

public boundingBoxSize(dockedRenderables: OrderedHashMap, filledRenderables: OrderedHashMap, ownDecorators: Object): Array | Number source

Calculates the bounding box size for all the renderables passed to the function

Override:

BaseLayoutHelper#boundingBoxSize

Params:

NameTypeAttributeDescription
dockedRenderables OrderedHashMap

A map containing Array-pairs of [renderable, renderableCounterpart] containing the things that are attached to the sides.

filledRenderables OrderedHashMap

A map containing Array-pairs of [renderable, renderableCounterpart] containing the things that are filled.

ownDecorators Object

The decorators that are applied to the view.

Return:

Array | Number

The bounding box size of all the renderables

public getDockType(dockMethodToGet: *): * source

Params:

NameTypeAttributeDescription
dockMethodToGet *

Return:

*