BoxedNodeSettings
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(ownerObject: object, options: object) |
Member Summary
Private Members | ||
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
Gets the body box height value. |
|
public |
Gets the body box padding values. |
|
public |
Gets the body box width value. |
|
public |
Gets the title box height value. |
|
public |
Gets the title box padding values. |
|
public |
Gets the title box width value. |
|
public |
setBodyBoxHeight(height: number): object Sets the body box height value. |
|
public |
setBodyBoxPadding(newPadding: object): object Sets the body box padding values. |
|
public |
setBodyBoxWidth(width: number): object Sets the body box width value. |
|
public |
setTitleBoxHeight(height: number): object Sets the title box height value. |
|
public |
setTitleBoxPadding(newPadding: object): object Sets the title box padding values. |
|
public |
setTitleBoxWidth(width: number): object Sets the title box width value. |
Inherited Summary
From class NodeSettings | ||
private |
|
|
private |
_ownerObject: * |
|
private |
_sizingMode: * |
|
private |
|
|
public |
Gets the owner object. |
|
public |
Gets the horizontal spacing value. |
|
public |
Gets the sizing mode. |
|
public |
Gets the vertical spacing value. |
|
public |
setHorizontalSpacing(newHorizontalSpacing: number): object Sets the horizontal spacing value. |
|
public |
setSizingMode(newSizingMode: 'nodeSize' | 'size'): object Sets the sizing mode. |
|
public |
setVerticalSpacing(newVerticalSpacing: number): object Sets the vertical spacing value. |
Public Constructors
public constructor(ownerObject: object, options: object) source
Override:
NodeSettings#constructorParams:
Name | Type | Attribute | Description |
ownerObject | object | The owner object. |
|
options | object | The options object. |
|
options.bodyBoxWidth | number |
|
Body box width. |
options.bodyBoxHeight | number |
|
Body box height. |
options.bodyBoxPadding | object |
|
Body box padding object. |
options.bodyBoxPadding.top | number |
|
Body box padding top. |
options.bodyBoxPadding.right | number |
|
Body box padding right. |
options.bodyBoxPadding.bottom | number |
|
Body box padding bottom. |
options.bodyBoxPadding.left | number |
|
Body box padding left. |
options.titleBoxWidth | number |
|
Title box width. |
options.titleBoxHeight | number |
|
Title box height. |
options.titleBoxPadding | object |
|
Title box padding object. |
options.titleBoxPadding.top | number |
|
Title box padding top. |
options.titleBoxPadding.right | number |
|
Title box padding right. |
options.titleBoxPadding.bottom | number |
|
Title box padding bottom. |
options.titleBoxPadding.left | number |
|
Title box padding left. |
Private Members
private _bodyBoxHeight: * source
private _bodyBoxPadding: * source
private _bodyBoxWidth: * source
private _titleBoxHeight: * source
private _titleBoxPadding: * source
private _titleBoxWidth: * source
Public Methods
public setBodyBoxHeight(height: number): object source
Sets the body box height value.
Params:
Name | Type | Attribute | Description |
height | number | The body box height value. |
public setBodyBoxPadding(newPadding: object): object source
Sets the body box padding values.
Params:
Name | Type | Attribute | Description |
newPadding | object | The body box padding object value. |
|
newPadding.top | number | The body box padding top value. |
|
newPadding.right | number | The body box padding right value. |
|
newPadding.bottom | number | The body box padding bottom value. |
|
newPadding.left | number | The body box padding left value. |
public setBodyBoxWidth(width: number): object source
Sets the body box width value.
Params:
Name | Type | Attribute | Description |
width | number | The body box width value. |
public setTitleBoxHeight(height: number): object source
Sets the title box height value.
Params:
Name | Type | Attribute | Description |
height | number | The title box height value. |
public setTitleBoxPadding(newPadding: object): object source
Sets the title box padding values.
Params:
Name | Type | Attribute | Description |
newPadding | object | The body box padding object value. |
|
newPadding.top | number | The body box padding top value. |
|
newPadding.right | number | The body box padding right value. |
|
newPadding.bottom | number | The body box padding bottom value. |
|
newPadding.left | number | The body box padding left value. |