Broadcast Tuple Reference

From Planimate Knowledge Base
Revision as of 15:58, 15 June 2009 by Dave.withnall (talk | contribs)
Jump to navigation Jump to search

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. 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
    This will report the row index of the currently selected row in the table view.
  • _view_col
    This will report the column index of the currently selected column in the table view.
  • _from_row
  • _from_col
  • _to_row
  • _to_col
  • _previous
  • _current
  • _row
    This will report the parent row index of the selected row in the table view.
  • _col
    This will report the parent column index of the selected column in the table view.
  • _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


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


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


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


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


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


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