Broadcast Tuple Reference: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
The format of an attribute should usually be a value. Times are best formatted as time/calendar values. _pipeid and _paintid are [[Model Objects]] labels and [[Paint Objects]] labels respectively. _panel is a [[Model Panels]] label.  
The format of an attribute should usually be a value. Times are best formatted as time/calendar values. _pipeid and _paintid are [[Model Objects]] labels and [[Paint Objects]] labels respectively. _panel is a [[Model Panels]] label.  


''The remainder of this page is created automatically. Please do not edit it.''  
''The remainder of this page is created automatically by Planimate 8.99.0. Please do not edit it.''  


__TOC__  
__TOC__  


== Table Cell Click (TableClick) ==
== Table Cell Click (TableClick) ==
Information about clicks and some keypresses on table cells


Information about clicks and some keypresses on table cells
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_view_row
*_view_col
*_from_row
*_from_col
*_to_row
*_to_col
*_previous
*_current
*_row
*_col
*_contextclick
*_buttons
*_key
*_dataid
*_beforeedit


*_view_row <br>This will report the row index of the currently selected row in the table view.
*_view_col <br>This will report the column index of the currently selected column in the table view.
*_from_row<br>Top left cell of a selected region. If there is no selected region it is set to the current cell.<br>
*_from_col <br>Top left cell of a selected region. If there is no selected region it is set to the current cell.<br>
*_to_row <br>Bottom right cell of a selected region. If there is no selected region it is set to the current cell.<br>
*_to_col <br>Bottom right cell of a selected region. If there is no selected region it is set to the current cell.<br>
*_previous
*_current
*_row <br>This will report the parent row index of the selected row in the table view.
*_col<br>This will report the parent column index of the selected column in the table view.
*_contextclick<br>Set to 1 when the context mouse button is clicked on the cell (Usually the right button).
*_buttons<br>Reports which button was clicked to trigger the broadcast (1 = Left, 2 = Right.


*_key
== Table Scroll Change (TableScroll) ==
*_dataid <br>Data Object List index assigned to the table (0 if none assigned)<br>
Notification of a change in a table view's scroll
*_beforeedit <br>Set to 1 before an edit has occured and set to 0 after an edit has occured.??<br>I think the release notes are wrong on this one. <br>Seems to be set to the old value of the cell after the edit has occured.


<br>
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


== Table Scroll Change (TableScroll)  ==
*_rowscroll
*_colscroll


Notification of a change in a table view's scroll


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
== Train Graph Click (TrainClick) ==
Information about clicks in train graphs


*_rowscroll
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_colscroll


<br>
*_command
*_row1
*_row2
*_time
*_y


== Train Graph Click (TrainClick)  ==


Information about clicks in train graphs  
== Gantt Graph Click (GanttClick) ==
Information about clicks in gantt graphs


This is sent by a broadcast chosen by the modeller. These item attributes will be set:  
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_command  
*_command
*_row1  
*_row1
*_row2  
*_row2
*_time  
*_time
*_y
*_y
*_drag_type
*_buttons


<br>


== Gantt Graph Click (GanttClick) ==
== Log Driven Graph Click (GraphClick) ==
Information about clicks in log driven graphs


Information about clicks in gantt graphs
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_command
*_time
*_y
*_buttons


*_command  
 
*_row1
== Grid View Click (GridClick) ==
*_row2
Information about clicks in grid views
*_time
 
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
 
*_row
*_col
 
 
== Column Overlay Graph Click (OvGraphClick) ==
Information about clicks in column overlay graphs
 
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
 
*_command
*_row
*_col
*_x
*_y
*_y


<br>


== Log Driven Graph Click (GraphClick) ==
== Page Printed Broadcast (PagePrint) ==
Notification that a page was printed so another can be scheduled
 
This is sent when the engine generates broadcasts _Page Printed. These item attributes will be set:


Information about clicks in log driven graphs
*_page
*_panel


This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_command
== Attribute View Click (AttributeEdit) ==
*_time
Notification that an attribute has been edited
*_y
*_buttons


<br>
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


== Grid View Click (GridClick)  ==
*_previous
*_current


Information about clicks in grid views


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
== Table Sorted By User (TableSort) ==
Notification that a table has been sorted


*_row
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_col


<br>
*_sort1
*_sort2
*_sort3
*_sort4
*_sort5
*_sort6
*_sort7
*_sort8


== Column Overlay Graph Click (OvGraphClick)  ==


Information about clicks in column overlay graphs
== Spatial Link Click (LinkClick) ==
Information about clicks on a spatial link


This is sent by a broadcast chosen by the modeller. These item attributes will be set:  
This is sent when the engine generates broadcasts _Link Clicked. These item attributes will be set:


*_command
*_from
*_row
*_to
*_col
*_x
*_x  
*_y
*_y
*_ratio
*_buttons
*_bendpoint
*_bendtablerow
*_dragged
*_road


<br>
== Click or Hover (Click) ==
Information about clicks or drags on a portal


== Page Printed Broadcast (PagePrint)  ==
This is sent when the engine generates broadcasts _Portal Moved; _Portal Clicked; _Portal Hover. These item attributes will be set:
 
*_x
*_y
*_panel
*_buttons
*_location


Notification that a page was printed so another can be scheduled


This is sent when the engine generates broadcasts _Page Printed. These item attributes will be set:
== Table Data Modified (TableCalc) ==
Notification that a cell in a table has been modified by calculations


*_page
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_panel


<br>
*_row
*_col


== Attribute View Click (AttributeEdit)  ==


Notification that an attribute has been edited
== Paint Object State Change (PaintState) ==
Notification that a paint object has changed state


This is sent by a broadcast chosen by the modeller. These item attributes will be set:  
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_previous
*_state
*_current
*_paintid
*_hovered


<br>


== Table Sorted By User (TableSort) ==
== Time scroller position/resize (Scroller) ==
Information about drags on a graph time scroller


Notification that a table has been sorted
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_pos
*_width


*_sort1
*_sort2
*_sort3
*_sort4
*_sort5
*_sort6
*_sort7
*_sort8


<br>
== Modeller defined menubar for model users (UserMenu) ==
Information about selections from a user defined menu bar


== Spatial Link Click (LinkClick)  ==
This is sent when the engine generates broadcasts _Menu Command. These item attributes will be set:


Information about clicks on a spatial link
*_command


This is sent when the engine generates broadcasts _Link Clicked. These item attributes will be set:


*_from
== Click on paint object (ButtonClick) ==
*_to
Information about clicks on user paint objects
*_x
*_y
*_ratio
*_buttons


<br>
This is sent when the engine generates broadcasts _Paint Objects;_Model Panels. These item attributes will be set:


== Click or Hover (Click)  ==
*_panel
*_paintid
*_location


Information about clicks or drags on a portal


This is sent when the engine generates broadcasts _Portal Moved; _Portal Clicked; _Portal Hover. These item attributes will be set:
== Change In Attribute (ChangeEvent) ==
Notification of changing of a watched attribute


*_x
This is sent when the engine generates broadcasts _Change Tracking. These item attributes will be set:
*_y
 
*_panel
*_logtime
*_buttons
*_logvalue
*_logid


<br>


== Table Data Modified (TableCalc) ==
== Pipe Source Or Target Limit (PipeEvent) ==
Notification that a pipe has hit a limit condition


Notification that a cell in a table has been modified by calculations
This is sent when the engine generates broadcasts _Pipe Event. These item attributes will be set:


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_pipeid
*_pipeflags
*_pipetablerow
*_pipechanged


*_row
*_col


<br>
== Dragging in a panel's background (PanelDrag) ==
Information about drags on a panel's background


== Paint Object State Change (PaintState)  ==
This is sent when the engine generates broadcasts _Panel Drag. These item attributes will be set:


Notification that a paint object has changed state
*_panel
*_command
*_dx
*_dy
*_keys
*_buttons
*_location
*_delta


This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_state
== Track Section Click (TrackClick) ==
*_paintid
Information about clicks on a track section


<br>
This is sent when the engine generates broadcasts _Track Clicked. These item attributes will be set:


== Time scroller position/resize (Scroller)  ==
*_section
*_from
*_to
*_x
*_y
*_ratio
*_buttons


Information about drags on a graph time scroller


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
== Table Column Filter Change (TableFilter) ==
Notification that a change was made to a column filter


*_pos
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_width


<br>
*_dataid
*_view_col
*_col


== Modeller defined menubar for model users (UserMenu)  ==


Information about selections from a user defined menu bar
== Key Pressed (KeyPress) ==
Notification that a key was pressed


This is sent when the engine generates broadcasts _Menu Command. These item attributes will be set:  
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_command
*_panel
*_keycode


<br>


== Click on paint object (ButtonClick) ==
== Table Column Width Change (ColumnWidth) ==
Notification that a change was made to a column's width


Information about clicks on user paint objects
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


This is sent when the engine generates broadcasts _Paint Objects;_Model Panels. These item attributes will be set:
*_dataid
*_view_col
*_col
*_width


*_panel
*_paintid
*_location


<br>
== Panel resized by user (PanelResize) ==
Notification that a dynamically sized panel has been resized by the user


== Change In Attribute (ChangeEvent)  ==
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


Notification of changing of a watched attribute
*_panel
*_width
*_height


This is sent when the engine generates broadcasts _Change Tracking. These item attributes will be set:


*_logtime
== Scroll wheel event (Scroll) ==
*_logvalue
Notification of scroll wheel being turned
*_logid


<br>
This is sent when the engine generates broadcasts _Panel Scroll. These item attributes will be set:


== Pipe Source Or Target Limit (PipeEvent)  ==
*_panel
*_scroll


Notification that a pipe has hit a limit condition


This is sent when the engine generates broadcasts _Pipe Event. These item attributes will be set:
== Follow Animating Item (FollowItem) ==
Update BC for active follow item position


*_pipeid
This is sent when the engine generates broadcasts _Follow Item. These item attributes will be set:
*_pipeflags


<br>
*_panel
*_location
*_id
*_x
*_y


== Dragging in a panel's background (PanelDrag)  ==


Information about drags on a panel's background
== User click on item (ItemClick) ==
User clicked on an item


This is sent when the engine generates broadcasts _Panel Drag. These item attributes will be set:  
This is sent when the engine generates broadcasts _Item Click. These item attributes will be set:


*_panel
*_id
*_command
*_x
*_dx
*_y
*_dy
*_location
*_keys
*_object
*_buttons
*_buttons


<br>


== Track Section Click (TrackClick) ==
== Hovering Over Cells (TableHover) ==
Tracks mouse hovers over cells, entire rows/columns
 
This is sent by a broadcast chosen by the modeller. These item attributes will be set:
 
*_row
*_col
 


Information about clicks on a track section
== Tail of train leaving a section/road (TailExitTrack) ==
Train with trail moves to point where tail clears a track road


This is sent when the engine generates broadcasts _Track Clicked. These item attributes will be set:  
This is sent when the engine generates broadcasts _TrainTailExitTrk. These item attributes will be set:


*_section
*_id
*_from
*_section
*_to
*_road
*_x
*_taildata1
*_y
*_taildata2
*_ratio
*_taildata3
*_buttons
*_taildata4


<br>


== Table Column Filter Change (TableFilter) ==
== Tail of train leaving a multi-server (TailExitServer) ==
Train with trail moves to point where tail clears a multi-server


Notification that a change was made to a column filter
This is sent when the engine generates broadcasts _TrainTailExitSvr. These item attributes will be set:


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
*_id
*_object
*_taildata1
*_taildata2
*_taildata3
*_taildata4


*_dataid
*_view_col
*_col


<br>
== Pipe Click (PipeClick) ==
Information about clicks on a pipe


== Key Pressed (KeyPress)  ==
This is sent when the engine generates broadcasts _Pipe Clicked. These item attributes will be set:


Notification that a key was pressed
*_from
*_to
*_x
*_y
*_ratio
*_buttons


This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_panel
== Object Change (ObjChange) ==
*_keycode
Change in object's occupancy or state


<br>
This is sent when the engine generates broadcasts _ObjectChange. These item attributes will be set:


== Table Column Width Change (ColumnWidth)  ==
*_location
*_state
*_occupancy
*_incount
*_outcount


Notification that a change was made to a column's width


This is sent by a broadcast chosen by the modeller. These item attributes will be set:
== Hover over graph (GraphHover) ==
Hovering over graph


*_dataid
This is sent when the engine generates broadcasts _GraphHover. These item attributes will be set:
*_view_col
*_col
*_width


<br>
*_x
*_y
*_datax
*_datay
*_datay2


== Panel resized by user (PanelResize)  ==


Notification that a dynamically sized panel has been resized by the user
== After Paste (Pasted) ==
User pasted into table


This is sent by a broadcast chosen by the modeller. These item attributes will be set:  
This is sent by a broadcast chosen by the modeller. These item attributes will be set:


*_panel
*_dataid
*_width
*_panel
*_height
*_errorcount

Revision as of 12:53, 18 April 2017

This is a summary of the Item attributes that will be set by Planimate when broadcasts are sent to broadcast entries by the engine. These broadcasts usually occur because the modeller has selected an option on an object, for example selecting the "Send Table Click" option in a table view and specified a broadcast name to use. Other broadcasts are automatically sent by the engine and just require a receiving broadcast entry, configured to "listen" to the correct broadcast name. These are indicated below.

It is up to the modeller to ensure that the item class involved has the correctly named attribute, otherwise the attribute will be skipped (but an item will still be generated).

Each collection of attributes is referred to as a Tuple.

The attribute names all start with underscore to set them apart from attributes that the modeller uses for general modelling, hence names starting with underscore should be avoided unless specifically being used to receive the tuples defined here.

The format of an attribute should usually be a value. Times are best formatted as time/calendar values. _pipeid and _paintid are Model Objects labels and Paint Objects labels respectively. _panel is a Model Panels label.

The remainder of this page is created automatically by Planimate 8.99.0. Please do not edit it.

Table Cell Click (TableClick)

Information about clicks and some keypresses on table cells

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _view_row
  • _view_col
  • _from_row
  • _from_col
  • _to_row
  • _to_col
  • _previous
  • _current
  • _row
  • _col
  • _contextclick
  • _buttons
  • _key
  • _dataid
  • _beforeedit


Table Scroll Change (TableScroll)

Notification of a change in a table view's scroll

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _rowscroll
  • _colscroll


Train Graph Click (TrainClick)

Information about clicks in train graphs

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _command
  • _row1
  • _row2
  • _time
  • _y


Gantt Graph Click (GanttClick)

Information about clicks in gantt graphs

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _command
  • _row1
  • _row2
  • _time
  • _y
  • _drag_type
  • _buttons


Log Driven Graph Click (GraphClick)

Information about clicks in log driven graphs

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _command
  • _time
  • _y
  • _buttons


Grid View Click (GridClick)

Information about clicks in grid views

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _row
  • _col


Column Overlay Graph Click (OvGraphClick)

Information about clicks in column overlay graphs

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _command
  • _row
  • _col
  • _x
  • _y


Page Printed Broadcast (PagePrint)

Notification that a page was printed so another can be scheduled

This is sent when the engine generates broadcasts _Page Printed. These item attributes will be set:

  • _page
  • _panel


Attribute View Click (AttributeEdit)

Notification that an attribute has been edited

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _previous
  • _current


Table Sorted By User (TableSort)

Notification that a table has been sorted

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _sort1
  • _sort2
  • _sort3
  • _sort4
  • _sort5
  • _sort6
  • _sort7
  • _sort8


Spatial Link Click (LinkClick)

Information about clicks on a spatial link

This is sent when the engine generates broadcasts _Link Clicked. These item attributes will be set:

  • _from
  • _to
  • _x
  • _y
  • _ratio
  • _buttons
  • _bendpoint
  • _bendtablerow
  • _dragged
  • _road


Click or Hover (Click)

Information about clicks or drags on a portal

This is sent when the engine generates broadcasts _Portal Moved; _Portal Clicked; _Portal Hover. These item attributes will be set:

  • _x
  • _y
  • _panel
  • _buttons
  • _location


Table Data Modified (TableCalc)

Notification that a cell in a table has been modified by calculations

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _row
  • _col


Paint Object State Change (PaintState)

Notification that a paint object has changed state

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _state
  • _paintid
  • _hovered


Time scroller position/resize (Scroller)

Information about drags on a graph time scroller

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _pos
  • _width


Modeller defined menubar for model users (UserMenu)

Information about selections from a user defined menu bar

This is sent when the engine generates broadcasts _Menu Command. These item attributes will be set:

  • _command


Click on paint object (ButtonClick)

Information about clicks on user paint objects

This is sent when the engine generates broadcasts _Paint Objects;_Model Panels. These item attributes will be set:

  • _panel
  • _paintid
  • _location


Change In Attribute (ChangeEvent)

Notification of changing of a watched attribute

This is sent when the engine generates broadcasts _Change Tracking. These item attributes will be set:

  • _logtime
  • _logvalue
  • _logid


Pipe Source Or Target Limit (PipeEvent)

Notification that a pipe has hit a limit condition

This is sent when the engine generates broadcasts _Pipe Event. These item attributes will be set:

  • _pipeid
  • _pipeflags
  • _pipetablerow
  • _pipechanged


Dragging in a panel's background (PanelDrag)

Information about drags on a panel's background

This is sent when the engine generates broadcasts _Panel Drag. These item attributes will be set:

  • _panel
  • _command
  • _dx
  • _dy
  • _keys
  • _buttons
  • _location
  • _delta


Track Section Click (TrackClick)

Information about clicks on a track section

This is sent when the engine generates broadcasts _Track Clicked. These item attributes will be set:

  • _section
  • _from
  • _to
  • _x
  • _y
  • _ratio
  • _buttons


Table Column Filter Change (TableFilter)

Notification that a change was made to a column filter

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _dataid
  • _view_col
  • _col


Key Pressed (KeyPress)

Notification that a key was pressed

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _panel
  • _keycode


Table Column Width Change (ColumnWidth)

Notification that a change was made to a column's width

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _dataid
  • _view_col
  • _col
  • _width


Panel resized by user (PanelResize)

Notification that a dynamically sized panel has been resized by the user

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _panel
  • _width
  • _height


Scroll wheel event (Scroll)

Notification of scroll wheel being turned

This is sent when the engine generates broadcasts _Panel Scroll. These item attributes will be set:

  • _panel
  • _scroll


Follow Animating Item (FollowItem)

Update BC for active follow item position

This is sent when the engine generates broadcasts _Follow Item. These item attributes will be set:

  • _panel
  • _location
  • _id
  • _x
  • _y


User click on item (ItemClick)

User clicked on an item

This is sent when the engine generates broadcasts _Item Click. These item attributes will be set:

  • _id
  • _x
  • _y
  • _location
  • _object
  • _buttons


Hovering Over Cells (TableHover)

Tracks mouse hovers over cells, entire rows/columns

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _row
  • _col


Tail of train leaving a section/road (TailExitTrack)

Train with trail moves to point where tail clears a track road

This is sent when the engine generates broadcasts _TrainTailExitTrk. These item attributes will be set:

  • _id
  • _section
  • _road
  • _taildata1
  • _taildata2
  • _taildata3
  • _taildata4


Tail of train leaving a multi-server (TailExitServer)

Train with trail moves to point where tail clears a multi-server

This is sent when the engine generates broadcasts _TrainTailExitSvr. These item attributes will be set:

  • _id
  • _object
  • _taildata1
  • _taildata2
  • _taildata3
  • _taildata4


Pipe Click (PipeClick)

Information about clicks on a pipe

This is sent when the engine generates broadcasts _Pipe Clicked. These item attributes will be set:

  • _from
  • _to
  • _x
  • _y
  • _ratio
  • _buttons


Object Change (ObjChange)

Change in object's occupancy or state

This is sent when the engine generates broadcasts _ObjectChange. These item attributes will be set:

  • _location
  • _state
  • _occupancy
  • _incount
  • _outcount


Hover over graph (GraphHover)

Hovering over graph

This is sent when the engine generates broadcasts _GraphHover. These item attributes will be set:

  • _x
  • _y
  • _datax
  • _datay
  • _datay2


After Paste (Pasted)

User pasted into table

This is sent by a broadcast chosen by the modeller. These item attributes will be set:

  • _dataid
  • _panel
  • _errorcount