Last updated

API / geotoolkit / scene / exports / LinearLayout / LinearLayout

Class: LinearLayout

exports.LinearLayout.LinearLayout

Table of contents

Constructors
Methods

Contents

Constructors

new LinearLayout(parent, orientation)

new LinearLayout(parent, orientation)

Parameters

Name Type
parentCompositeDocumentElement
orientationLinearLocation
Methods

getClassName

getClassName(): string

Returns

string


getLayoutedDimension

getLayoutedDimension(): LayoutedDimension

compute the dimension in the layout this dimension is represented by a fixed dimension and a scaled dimension

Returns

LayoutedDimension


setOrientation

setOrientation(orientation): LinearLayout

set the layout orientation

Parameters

Name Type Description
orientationLinearLocationlayout orientation

Returns

LinearLayout

this


setParent

setParent(parent): LinearLayout

set the parent

Parameters

Name Type Description
parentCompositeDocumentElementparent

Returns

LinearLayout

this


updateLayout

updateLayout(printSettings?): void

update the position of elements in the layout

Parameters

Name Type Description
Optional printSettingsPageSettingsprintSettings

Returns

void


updatePageLayout

updatePageLayout(pageInfo): void

Parameters

Name Type
pageInfoPageSettings

Returns

void


getClassName

Static getClassName(): string

Returns

string