APIs

Show:

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:

Object:

instantiated BlockProperties

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:

Object:

m_clockFontSelector instance

getLabelFontSelector

() Object

Returns the instance of label font selector

Returns:

Object:

font selector instance

getLabelJsonItemFontSelector

() Object

Returns the instance of label json item font selector

Returns:

Object:

font selector instance

getLocationPriorityMeter

() Object

Returns the instance of location priority meter

Returns:

Object:

m_locationPriorityMeter instance

getMRssLinkSelector

() Object

Returns the instance pf mrss link selector

Returns:

Object:

m_mrssLinkSelector instance

getRssFontSelector

() Object

Returns the instance of rss font selector

Returns:

Object:

m_rssFontSelector instance

getRssLinkSelector

() Object

Returns the instance pf rss link selector

Returns:

Object:

m_rssLinks instance

getTwitterItemFontSelector

() Object

Returns the instance of twitter item font selector

Returns:

Object:

font selector instance

getYouTubeQualityMeter

() Object

Returns the instance of youtube quality meter

Returns:

Object:

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 Object

    the firing element

  • alpha Number

    value

Block.ADD_LOCATION_POINT

event fires when new location point adding to google maps

Event Payload:

  • caller This
  • selected String

    block_id

Block.FASTERQ_BG_COLOR_CHANGE

event fires when fasterq background color changed

Event Payload:

  • caller This
  • selected String

    block_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 Object

    the firing knob element

  • value Number

    the knob's position value (hours / minutes / seconds)

COLLECTION_EVENT_ROW_CHANGED

event fires datagrid collection event data chnaged / saved

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

COLLECTION_ROW_CHANGED

event fires datagrid collection data changed / saved

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

COLLECTION_ROW_DRAG

event fires datagrid collection is dragged

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

COLLECTION_ROW_DROP

event fires datagrid collection is dropped

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

COLOR_SELECTED

final static

Custom event fired when a gradient color picked

Event Payload:

  • caller This
  • context Self

    caller

  • event Event

GRADIENT_COLOR_CLOSED

final static

Custom event fired when gradient color selection picker closed

Event Payload:

  • caller This
  • context Self

    caller

  • 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 Object

    the firing element

  • alpha Number

    value

LOCATION_PRIORITY_METER_CHANGED

final static

Custom Location priority event fired when bar meter changed event

Event Payload:

  • caller This
  • context Self

    caller

  • UNKNOWN Event

LOCATION_RADIUS_CHANGED

event fires when radius of location changed

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

LOCATION_ROW_CHANGED

event fires datagrid location row data changed / saved

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

LOCATION_ROW_DRAG

event fires datagrid location row is dragged

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

LOCATION_ROW_DROP

event fires datagrid location row is dropped

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

VIDEO_VOLUME_CHANGED

event fires when video volume changed

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value

YOUTUBE_METER_QUALITY_CHANGED

final static

Custom YouTube event fired when bar meter changed event

Event Payload:

  • caller This
  • context Self

    caller

  • UNKNOWN Event

YOUTUBE_VOLUME_CHANGED

event fires when youtube volume changed

Event Payload:

  • this Object
  • caller Object

    the firing element

  • alpha Number

    value