new bbbfly.Bar (def, ref, parent)
Panel which handles its child controls position.
Parameters
| Name | Type | Description |
|---|---|---|
| def | bbbfly.Bar.Definition | optional Descendant definition |
| ref | object | optional Reference owner |
| parent | object | string | optional Parent DIV element or its ID |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| BarOptions | bbbfly.Bar.barOptions | ||
| SlideFrame | boolean | bbbfly.Renderer.frame | false | Slide buttons definition Define frame or set it to true before panel creation to support slide buttons |
Extends
In Packages
Type Definitions
-
barOptions object
-
Properties:
Name Type Default Description Orientation bbbfly.Bar.orientation horizontal optional Float bbbfly.Bar.float left_top optional HAutoSize bbbfly.Bar.autosize none optional VAutoSize bbbfly.Bar.autosize none optional PaddingTop px null optional PaddingBottom px null optional PaddingLeft px null optional PaddingRight px null optional TrackChanges boolean false optional If track child control changes -
itemOptions object
-
Properties:
Name Type Default Description MarginTop px null optional MarginBottom px null optional MarginLeft px null optional MarginRight px null optional TrackChanges boolean false optional Overrides bar option
Interfaces
Members
-
static autosize enum bitmask
-
Possible values for bbbfly.Bar.barOptions.HAutoSize and bbbfly.Bar.barOptions.VAutoSize
-
static float enum integer
-
Possible values for bbbfly.Bar.barOptions.Float
Name Type Default Description left_top integer 1 right_top integer 2 left_bottom integer 3 right_bottom integer 4 -
static orientation enum integer
-
Possible values for bbbfly.Bar.barOptions.Orientation
Name Type Default Description vertical integer 1 horizontal integer 2
Methods
-
inherited AddChildControl (ctrl)
-
Parameters:
Name Type Description ctrl ngControl optional Child control reference -
inherited CreateControl (def){object|null}
-
Parameters:
Name Type Description def ngControl.Definition optional Child control definition Returns:
Type Description object | null Created control -
inherited DisposeControls ()
-
inherited GetAlt (){string|null}
-
- See:
Returns:
Type Description string | null -
inherited GetClassName (suffix){string}
-
Parameters:
Name Type Description suffix string optional Control part class name Returns:
Type Description string Control class name -
inherited GetControlsHolder (){object}
-
Returns:
Type Description object ControlsPanel control or self -
inherited GetControlsPanel (){object|null}
-
Returns:
Type Description object | null ControlsPanel control -
inherited GetFrame (){bbbfly.Renderer.frame}
-
Returns:
Type Description bbbfly.Renderer.frame Frame definition -
inherited GetFrameDims (){object}
-
Returns:
Type Description object Frame dimensions -
inherited GetFramePanel (){object|null}
-
Returns:
Type Description object | null FramePanel control -
GetSlideDims (){object}
-
Returns:
Type Description object Frame dimensions -
GetSlideFrame (){bbbfly.Renderer.frame}
-
Returns:
Type Description bbbfly.Renderer.frame Frame definition -
GetSlidePanel (){object|null}
-
- See:
-
- GetControlsPanel()
- GetControlsPanel()
- GetControlsHolder()
Returns:
Type Description object | null FramePanel control -
inherited GetState (){bbbfly.Renderer.state}
-
Returns:
Type Description bbbfly.Renderer.state Control state -
inherited RemoveChildControl (ctrl)
-
Parameters:
Name Type Description ctrl ngControl optional Child control reference -
inherited SetAlt (alt, update)
-
Parameters:
Name Type Default Description alt string | null Value to set update boolean true optional If update control - See:
-
inherited SetEnabled (enabled, update){boolean}
-
Parameters:
Name Type Default Description enabled boolean true optional Value to set update boolean true optional If update control Returns:
Type Description boolean False if change was denied -
inherited SetInvalid (invalid, update){boolean}
-
Parameters:
Name Type Default Description invalid boolean true optional Value to set update boolean true optional If update control Returns:
Type Description boolean False if change was denied -
inherited SetOverflow (overflowX, overflowY, update){boolean}
-
Parameters:
Name Type Default Description overflowX bbbfly.Renderer.overflow hidden optional Horizontal value to set overflowY bbbfly.Renderer.overflow hidden optional Vertical value to set update boolean true optional If update control Returns:
Type Description boolean False if change was denied -
inherited SetReadOnly (readonly, update){boolean}
-
Parameters:
Name Type Default Description readonly boolean true optional Value to set update boolean true optional If update control Returns:
Type Description boolean False if change was denied -
inherited SetSelected (selected, update){boolean}
-
Parameters:
Name Type Default Description selected boolean true optional Value to set update boolean true optional If update control Returns:
Type Description boolean False if change was denied -
inherited TrackChildControls ()
-
-
inherited TrackControl (ctrl, track)
-
Parameters:
Name Type Default Description ctrl ngControl optional Tracked control reference track boolean true optional Pass false to cancel tracking
Events
-
inherited IsTrackedControlChanged (ctrl, options)
-
Parameters:
Name Type Description ctrl ngControl optional Tracked control reference options object optional Per tracker options -
inherited OnAltChanged ()
-
OnAutoSized ()
-
-
inherited OnChildControlAdded (ctrl)
-
Parameters:
Name Type Description ctrl ngControl optional Child control reference -
inherited OnChildControlRemoved (ctrl)
-
Parameters:
Name Type Description ctrl ngControl optional Child control reference -
inherited OnEnabledChanged ()
-
- See:
-
inherited OnInvalidChanged ()
-
- See:
-
inherited OnOverflowChanged ()
-
inherited OnReadOnlyChanged ()
-
inherited OnSelectedChanged ()
-
inherited OnSetAlt (alt, update){boolean}
-
Parameters:
Name Type Default Description alt boolean Value to set update boolean true optional If update control - See:
Returns:
Type Description boolean Return false to deny value change -
inherited OnSetEnabled (enabled){boolean}
-
Parameters:
Name Type Description enabled boolean Value to set Returns:
Type Description boolean Return false to deny value change -
inherited OnSetInvalid (invalid){boolean}
-
Parameters:
Name Type Description invalid boolean Value to set Returns:
Type Description boolean Return false to deny value change -
inherited OnSetOverflow (overflowX, overflowY){boolean}
-
Parameters:
Name Type Description overflowX bbbfly.Renderer.overflow optional Horizontal value to set overflowY bbbfly.Renderer.overflow optional Vertical value to set Returns:
Type Description boolean Return false to deny values change -
inherited OnSetReadOnly (readonly){boolean}
-
Parameters:
Name Type Description readonly boolean Value to set Returns:
Type Description boolean Return false to deny value change -
inherited OnSetSelected (selected){boolean}
-
Parameters:
Name Type Description selected boolean Value to set Returns:
Type Description boolean Return false to deny value change -
inherited OnTrackedControlChanged (ctrl)
-
Parameters:
Name Type Description ctrl ngControl optional Tracked control reference