Roo.util.Observable Roo.bootstrap.SplitBar
Package: | Roo.bootstrap |
Defined In: | Roo/bootstrap/SplitBar.js. |
Class: | SplitBar |
Extends: | Roo.util.Observable |
var split = new Roo.bootstrap.SplitBar("elementToDrag", "elementToSize",
Roo.bootstrap.SplitBar.HORIZONTAL, Roo.bootstrap.SplitBar.LEFT);
split.setAdapter(new Roo.bootstrap.SplitBar.AbsoluteLayoutAdapter("container"));
split.minSize = 100;
split.maxSize = 600;
split.animate = true;
split.on('moved', splitterMoved);
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable |
Property | Description | Defined By | |
---|---|---|---|
Roo.bootstrap.SplitBar.BOTTOM :
Number
|
Placement constant - The resizing element is positioned under splitter element
Placement constant - The resizing element is positioned under splitter element
|
Roo.bootstrap.SplitBar | |
Roo.bootstrap.SplitBar.HORIZONTAL :
Number
|
Orientation constant - Create a horizontal SplitBar
Orientation constant - Create a horizontal SplitBar
|
Roo.bootstrap.SplitBar | |
Roo.bootstrap.SplitBar.LEFT :
Number
|
Placement constant - The resizing element is to the left of the splitter element
Placement constant - The resizing element is to the left of the splitter element
|
Roo.bootstrap.SplitBar | |
Roo.bootstrap.SplitBar.RIGHT :
Number
|
Placement constant - The resizing element is to the right of the splitter element
Placement constant - The resizing element is to the right of the splitter element
|
Roo.bootstrap.SplitBar | |
Roo.bootstrap.SplitBar.TOP :
Number
|
Placement constant - The resizing element is positioned above the splitter element
Placement constant - The resizing element is positioned above the splitter element
|
Roo.bootstrap.SplitBar | |
Roo.bootstrap.SplitBar.VERTICAL :
Number
|
Orientation constant - Create a vertical SplitBar
Orientation constant - Create a vertical SplitBar
|
Roo.bootstrap.SplitBar |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.SplitBar
()
Create a new Roo.bootstrap.SplitBar
Create a new Roo.bootstrap.SplitBar
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
destroy
(Boolean removeEl)
Destroy this splitbar.
Destroy this splitbar.
|
Roo.bootstrap.SplitBar | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
getAdapter
()
:
Get the adapter this SplitBar uses
Get the adapter this SplitBar uses
|
Roo.bootstrap.SplitBar | |
getMaximumSize
()
:
Number
Gets the maximum size for the resizing element
Gets the maximum size for the resizing element
|
Roo.bootstrap.SplitBar | |
getMinimumSize
()
:
Number
Gets the minimum size for the resizing element
Gets the minimum size for the resizing element
|
Roo.bootstrap.SplitBar | |
Roo.util.Observable | ||
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
setAdapter
(Object adapter)
Set the adapter this SplitBar uses
Set the adapter this SplitBar uses
|
Roo.bootstrap.SplitBar | |
setCurrentSize
(Number size)
Sets the initialize size for the resizing element
Sets the initialize size for the resizing element
|
Roo.bootstrap.SplitBar | |
setMaximumSize
(Number maxSize)
Sets the maximum size for the resizing element
Sets the maximum size for the resizing element
|
Roo.bootstrap.SplitBar | |
setMinimumSize
(Number minSize)
Sets the minimum size for the resizing element
Sets the minimum size for the resizing element
|
Roo.bootstrap.SplitBar | |
Roo.util.Observable |
Event | Defined By | |
---|---|---|
beforeresize (Roo.bootstrap.SplitBar this)
Fires before the splitter is dragged
Fires before the splitter is dragged
|
Roo.bootstrap.SplitBar | |
moved (Roo.bootstrap.SplitBar this, Number newSize)
Fires when the splitter is moved
Fires when the splitter is moved
|
Roo.bootstrap.SplitBar | |
resize (Roo.bootstrap.SplitBar this, Number newSize)
Fires when the splitter is moved (alias for {link event-moved})
Fires when the splitter is moved (alias for {link event-moved})
|
Roo.bootstrap.SplitBar |