BlockProperties Class
_views\BlockProperties.js:1
Block property is a singleton Backbone view that represents shared UI view for all Blocks (Channels and Scenes blocks). It lives inside PropertiesViews
Constructor
BlockProperties
()
Object
Returns:
instantiated BlockProperties
Item Index
Methods
- _alphaSliderInit
- _bgFasterQColorInit
- _bgGradientInit
- _bgSceneInit
- _bgSceneInit
- _datepickerDayDurationInit
- _fasterQInit
- _jsonItemFontSelectorInit
- _labelFontSelectorInit
- _labelFontSelectorInit
- _locationLiveInputs
- _locationPriorityInit
- _locationRadiusSliderInit
- _onFasterQBgColorSelected
- _onSceneBgColorSelected
- _onSceneBorderColorSelected
- _propLengthKnobsInit
- _rssFontSelectorInit
- _rssPollTimeInit
- _rssSourceSelectorInit
- _rssSourceSelectorInit
- _timepickerDayDurationInit
- _twitterFontSelectorInit
- _videoVolumeSliderInit
- _videoVolumeSliderInit
- _youtubeInit
- collectionDatatableInit
- getClockFontSelector
- getLabelFontSelector
- getLabelJsonItemFontSelector
- getLocationPriorityMeter
- getMRssLinkSelector
- getRssFontSelector
- getRssLinkSelector
- getTwitterItemFontSelector
- getYouTubeQualityMeter
- initialize
- initSettingsPanel
- jsonEventDatatableInit
- locationDatatableInit
- setBgScenePropColorPicker
- setBorderBlockPropColorPicker
- setLocationLiveInput
- showBlockProperty
- showBlockProperty
- showBlockProperty
- viewPanel
Events
- ALPHA_CHANGED
- Block.ADD_LOCATION_POINT
- Block.FASTERQ_BG_COLOR_CHANGE
- BLOCK_LENGTH_CHANGING
- COLLECTION_EVENT_ROW_CHANGED
- COLLECTION_ROW_CHANGED
- COLLECTION_ROW_DRAG
- COLLECTION_ROW_DROP
- COLOR_SELECTED static
- GRADIENT_COLOR_CLOSED static
- LOCATION_LIVE_INPUT_CHANGED
- LOCATION_PRIORITY_METER_CHANGED static
- LOCATION_RADIUS_CHANGED
- LOCATION_ROW_CHANGED
- LOCATION_ROW_DRAG
- LOCATION_ROW_DROP
- VIDEO_VOLUME_CHANGED
- YOUTUBE_METER_QUALITY_CHANGED static
- YOUTUBE_VOLUME_CHANGED
Methods
_alphaSliderInit
()
Init alpha slider UI in the common properties
_bgFasterQColorInit
()
Init the fasterq background color selector
_bgGradientInit
()
Load jquery gradient component once
_bgSceneInit
()
Init the scene backgroud selector
_bgSceneInit
()
Init the scene background selector
_datepickerDayDurationInit
()
Init the date picker duration bootstrap widget
_fasterQInit
()
Init the fasterq properties
_jsonItemFontSelectorInit
()
Create instance of FontSelector used in font json item block
_labelFontSelectorInit
()
Create instance of FontSelector used in font property settings
_labelFontSelectorInit
()
Create instance of FontSelector used in font property settings for label block
_locationLiveInputs
()
Bind to location Live Inputs widgets
_locationPriorityInit
()
Init the location priority widget
_locationRadiusSliderInit
()
Init location radius slider in properties
_onFasterQBgColorSelected
-
i_color
On fasterQ background color selected by minicolors
Parameters:
-
i_color
String
_onSceneBgColorSelected
-
i_color
On scene background color selected by minicolors
Parameters:
-
i_color
String
_onSceneBorderColorSelected
-
i_color
On scene block border color selected by minicolors
Parameters:
-
i_color
String
_propLengthKnobsInit
()
Create the block length knobs so a user can set the length of the block with respect to timeline_channel
Returns:
none
_rssFontSelectorInit
()
Create instance of FontSelector used in font property settings
_rssPollTimeInit
-
_rssPollTimeInit
Init the poll timer spinner widget
Parameters:
-
_rssPollTimeInit
Number
_rssSourceSelectorInit
()
Create instance of RSSLink used in select property settings
_rssSourceSelectorInit
()
Create instance of RSSLink used in select property settings
_timepickerDayDurationInit
()
Init the time picker duration bootstrap widget
_twitterFontSelectorInit
()
Create instance of FontSelector used in font property settings for twitter item block
_videoVolumeSliderInit
()
Init youtube volume slider in properties
_videoVolumeSliderInit
()
Init video volume slider in properties
_youtubeInit
()
Init the youtube properties
collectionDatatableInit
()
Init the collection bootstrap datatable
getClockFontSelector
()
Object
Returns the instance of clock font selector
Returns:
m_clockFontSelector instance
getLabelFontSelector
()
Object
Returns the instance of label font selector
Returns:
font selector instance
getLabelJsonItemFontSelector
()
Object
Returns the instance of label json item font selector
Returns:
font selector instance
getLocationPriorityMeter
()
Object
Returns the instance of location priority meter
Returns:
m_locationPriorityMeter instance
getMRssLinkSelector
()
Object
Returns the instance pf mrss link selector
Returns:
m_mrssLinkSelector instance
getRssFontSelector
()
Object
Returns the instance of rss font selector
Returns:
m_rssFontSelector instance
getRssLinkSelector
()
Object
Returns the instance pf rss link selector
Returns:
m_rssLinks instance
getTwitterItemFontSelector
()
Object
Returns the instance of twitter item font selector
Returns:
font selector instance
getYouTubeQualityMeter
()
Object
Returns the instance of youtube quality meter
Returns:
m_youtubeQualityMeter instance
initialize
()
Constructor
initSettingsPanel
()
Bring into view the Block property Settings StackView SubPanel
jsonEventDatatableInit
()
Init the json event bootstrap datatable
locationDatatableInit
()
Init the location base bootstrap datatable
setBgScenePropColorPicker
-
i_color
Set the color picker color of scene background
Parameters:
-
i_color
Number
setBorderBlockPropColorPicker
-
i_color
Set the color picker color of scene border
Parameters:
-
i_color
String
setLocationLiveInput
-
i_el
-
i_value
Set the value for LAT/LNG/Name for Location fields using the LiveInput widget
Parameters:
-
i_el
String -
i_value
String
showBlockProperty
()
Bring into view the Block property StackView SubPanel
showBlockProperty
()
Bring into view the Block property StackView SubPanel
showBlockProperty
()
Bring into view the Block property StackView SubPanel
viewPanel
()
Bring into view the Block property StackView panel
Events
ALPHA_CHANGED
event fires when background alpha changed
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
Block.ADD_LOCATION_POINT
event fires when new location point adding to google maps
Event Payload:
-
caller
This -
selected
Stringblock_id
Block.FASTERQ_BG_COLOR_CHANGE
event fires when fasterq background color changed
Event Payload:
-
caller
This -
selected
Stringblock_id
BLOCK_LENGTH_CHANGING
event fires when block length is changing (requesting a change), normally by a knob property widget
Event Payload:
-
this
Object -
caller
Objectthe firing knob element
-
value
Numberthe knob's position value (hours / minutes / seconds)
COLLECTION_EVENT_ROW_CHANGED
event fires datagrid collection event data chnaged / saved
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
COLLECTION_ROW_CHANGED
event fires datagrid collection data changed / saved
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
COLLECTION_ROW_DRAG
event fires datagrid collection is dragged
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
COLLECTION_ROW_DROP
event fires datagrid collection is dropped
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
COLOR_SELECTED
final
static
Custom event fired when a gradient color picked
Event Payload:
-
caller
This -
context
Selfcaller
-
event
Event
GRADIENT_COLOR_CLOSED
final
static
Custom event fired when gradient color selection picker closed
Event Payload:
-
caller
This -
context
Selfcaller
-
event
Event
LOCATION_LIVE_INPUT_CHANGED
event fires when location live input value chanegs such as LAT/LNG/resource names
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
LOCATION_PRIORITY_METER_CHANGED
final
static
Custom Location priority event fired when bar meter changed event
Event Payload:
-
caller
This -
context
Selfcaller
-
UNKNOWN
Event
LOCATION_RADIUS_CHANGED
event fires when radius of location changed
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
LOCATION_ROW_CHANGED
event fires datagrid location row data changed / saved
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
LOCATION_ROW_DRAG
event fires datagrid location row is dragged
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
LOCATION_ROW_DROP
event fires datagrid location row is dropped
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
VIDEO_VOLUME_CHANGED
event fires when video volume changed
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue
YOUTUBE_METER_QUALITY_CHANGED
final
static
Custom YouTube event fired when bar meter changed event
Event Payload:
-
caller
This -
context
Selfcaller
-
UNKNOWN
Event
YOUTUBE_VOLUME_CHANGED
event fires when youtube volume changed
Event Payload:
-
this
Object -
caller
Objectthe firing element
-
alpha
Numbervalue