Jx.Toolbar.Container

Extends: Object

Implements: Options, Events, Jx.Addable

A toolbar container contains toolbars.  A single toolbar container fills the available space horizontally.  Toolbars placed in a toolbar container do not wrap when they exceed the available space.

Events

addfired when one or more toolbars are added to a container
removefired when one or more toolbars are removed from a container

Implements

Options Events {Jx.Addable}

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Jx.Toolbar.ContainerExtends: Object
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible
Jx.Toolbar.ContainerExtends: Object
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible
Jx.Toolbar.ContainerExtends: Object
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible
Jx.Toolbar.ContainerExtends: Object
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible
Jx.Toolbar.ContainerExtends: Object
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Properties

domObj

{HTMLElement} the HTML element that the container lives in

Options

parent

a DOM element to add this to

position

the position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.  Default is ‘top’

autoSize

automatically size the toolbar container to fill its container.  Default is false

scroll

Control whether the user can scroll of the content of the container if the content exceeds the size of the container.  Default is true.

Constructor

Jx.Toolbar.Container

Create a new instance of Jx.Toolbar.Container

Parameters

optionsJx.Toolbar.Options

Functions

add

add: function( )

Add a toolbar to the container.

Parameters

toolbar{Object} the toolbar to add.  More than one toolbar can be added by passing multiple arguments.

remove

remove: function(item)

remove an item from a toolbar.  If the item is not in this toolbar nothing happens

Parameters

item{Object} the object to remove

Returns

{Object} the item that was removed, or null if the item was not removed.

scrollIntoView

scrollIntoView: function(item)

scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Parameters

itemthe item to scroll.

Jx.Toolbar.Container

Extends: Object

Implements: Options, Events, Jx.Addable

A toolbar container contains toolbars.  A single toolbar container fills the available space horizontally.  Toolbars placed in a toolbar container do not wrap when they exceed the available space.

Events

addfired when one or more toolbars are added to a container
removefired when one or more toolbars are removed from a container

Implements

Options Events {Jx.Addable}

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Properties

domObj

{HTMLElement} the HTML element that the container lives in

Options

parent

a DOM element to add this to

position

the position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.  Default is ‘top’

autoSize

automatically size the toolbar container to fill its container.  Default is false

scroll

Control whether the user can scroll of the content of the container if the content exceeds the size of the container.  Default is true.

Constructor

Jx.Toolbar.Container

Create a new instance of Jx.Toolbar.Container

Parameters

optionsJx.Toolbar.Options

Functions

add

add: function( )

Add a toolbar to the container.

Parameters

toolbar{Object} the toolbar to add.  More than one toolbar can be added by passing multiple arguments.

remove

remove: function(item)

remove an item from a toolbar.  If the item is not in this toolbar nothing happens

Parameters

item{Object} the object to remove

Returns

{Object} the item that was removed, or null if the item was not removed.

scrollIntoView

scrollIntoView: function(item)

scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Parameters

itemthe item to scroll.

Jx.Toolbar.Container

Extends: Object

Implements: Options, Events, Jx.Addable

A toolbar container contains toolbars.  A single toolbar container fills the available space horizontally.  Toolbars placed in a toolbar container do not wrap when they exceed the available space.

Events

addfired when one or more toolbars are added to a container
removefired when one or more toolbars are removed from a container

Implements

Options Events {Jx.Addable}

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Properties

domObj

{HTMLElement} the HTML element that the container lives in

Options

parent

a DOM element to add this to

position

the position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.  Default is ‘top’

autoSize

automatically size the toolbar container to fill its container.  Default is false

scroll

Control whether the user can scroll of the content of the container if the content exceeds the size of the container.  Default is true.

Constructor

Jx.Toolbar.Container

Create a new instance of Jx.Toolbar.Container

Parameters

optionsJx.Toolbar.Options

Functions

add

add: function( )

Add a toolbar to the container.

Parameters

toolbar{Object} the toolbar to add.  More than one toolbar can be added by passing multiple arguments.

remove

remove: function(item)

remove an item from a toolbar.  If the item is not in this toolbar nothing happens

Parameters

item{Object} the object to remove

Returns

{Object} the item that was removed, or null if the item was not removed.

scrollIntoView

scrollIntoView: function(item)

scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Parameters

itemthe item to scroll.

Jx.Toolbar.Container

Extends: Object

Implements: Options, Events, Jx.Addable

A toolbar container contains toolbars.  A single toolbar container fills the available space horizontally.  Toolbars placed in a toolbar container do not wrap when they exceed the available space.

Events

addfired when one or more toolbars are added to a container
removefired when one or more toolbars are removed from a container

Implements

Options Events {Jx.Addable}

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Properties

domObj

{HTMLElement} the HTML element that the container lives in

Options

parent

a DOM element to add this to

position

the position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.  Default is ‘top’

autoSize

automatically size the toolbar container to fill its container.  Default is false

scroll

Control whether the user can scroll of the content of the container if the content exceeds the size of the container.  Default is true.

Constructor

Jx.Toolbar.Container

Create a new instance of Jx.Toolbar.Container

Parameters

optionsJx.Toolbar.Options

Functions

add

add: function( )

Add a toolbar to the container.

Parameters

toolbar{Object} the toolbar to add.  More than one toolbar can be added by passing multiple arguments.

remove

remove: function(item)

remove an item from a toolbar.  If the item is not in this toolbar nothing happens

Parameters

item{Object} the object to remove

Returns

{Object} the item that was removed, or null if the item was not removed.

scrollIntoView

scrollIntoView: function(item)

scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Parameters

itemthe item to scroll.

Jx.Toolbar.Container

Extends: Object

Implements: Options, Events, Jx.Addable

A toolbar container contains toolbars.  A single toolbar container fills the available space horizontally.  Toolbars placed in a toolbar container do not wrap when they exceed the available space.

Events

addfired when one or more toolbars are added to a container
removefired when one or more toolbars are removed from a container

Implements

Options Events {Jx.Addable}

License

Copyright © 2008, DM Solutions Group Inc.

This file is licensed under an MIT style license

Summary
Properties
domObj{HTMLElement} the HTML element that the container lives in
Options
parenta DOM element to add this to
positionthe position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.
autoSizeautomatically size the toolbar container to fill its container.
scrollControl whether the user can scroll of the content of the container if the content exceeds the size of the container.
Constructor
Jx.Toolbar.ContainerCreate a new instance of Jx.Toolbar.Container
Functions
addAdd a toolbar to the container.
removeremove an item from a toolbar.
scrollIntoViewscrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Properties

domObj

{HTMLElement} the HTML element that the container lives in

Options

parent

a DOM element to add this to

position

the position of the toolbar container in its parent, one of ‘top’, ‘right’, ‘bottom’, or ‘left’.  Default is ‘top’

autoSize

automatically size the toolbar container to fill its container.  Default is false

scroll

Control whether the user can scroll of the content of the container if the content exceeds the size of the container.  Default is true.

Constructor

Jx.Toolbar.Container

Create a new instance of Jx.Toolbar.Container

Parameters

optionsJx.Toolbar.Options

Functions

add

add: function( )

Add a toolbar to the container.

Parameters

toolbar{Object} the toolbar to add.  More than one toolbar can be added by passing multiple arguments.

remove

remove: function(item)

remove an item from a toolbar.  If the item is not in this toolbar nothing happens

Parameters

item{Object} the object to remove

Returns

{Object} the item that was removed, or null if the item was not removed.

scrollIntoView

scrollIntoView: function(item)

scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible

Parameters

itemthe item to scroll.
add: function( )
Add a toolbar to the container.
remove: function(item)
remove an item from a toolbar.
scrollIntoView: function(item)
scrolls an item in one of the toolbars into the currently visible area of the container if it is not already fully visible
A mix-in class that provides a helper function that allows an object to be added to an existing element on the page.