Configuration Options
Key Widget Possible Values Description
Text Entry
w.changeprompt [Text to be displayed on change] A prompt is show after text is modified
w.immediate [true,false] Value in the text box is processed before all others
Date Picker
w.format The date format to be used by the date picker
MMMM dd, yyyy May 21, 2017
Color Chooser
w.showstring [true,false] Shows the string representation of the color in a combo box
Scroll Bar
w.increment [Value to be incremented by] Clicking the up/down arrow will increment/decrement the scroll bar by the given amount
w.blockincrement [Value to be incremented by] Clicking on the main part of the scroll bar will increment/decrement the scroll bar by the given amount
File Picker
w.images [true,false] Shows image previews
w.filetypes [Title],[extensions] Only files with given extensions will be shown
w.absolute [true,false] If relative or absolute address is returned
w.nouri [true,false] If URI is returned
w.remove [true,false] Hides the remove button next to the file picker
Time Picker
w.framerate [24,30,50,60,29.97,59.94] Sets the framerate of the time picker
w.restricted [true,false] The time picker will roll over at its highest value
w.format The time format to be used by the time picker
HH:mm:ss:ff 12:34:56:12
mm:ss:ff 34:56:12
ss:ff 56:12
ff 12
HH:mm:ss 12:34:56
HH:mm 12:34
HH 12
Audio Meter
w.redcount [Integer] Number of red ticks to show on Audio Meter
w.yellowcount [Integer] Number of yellow ticks to show on Audio Meter
w.greencount [Integer] Number of green ticks to show on Audio Meter
w.redcolor #[RGB value] Sets the red ticks to the new color
w.yellowcolor #[RGB value] Sets the yellow ticks to the new color
w.greencolor #[RGB value] Sets the green ticks to the new color
w.orientation [horizontal,vertical] Sets the orientation of the audio meter
w.reverse [true,false] Meter starts with lowest value at the top
Slider
w.loop [true,false] If true, the slider will rollover at its max/min value
w.numloops [Integer] Maximum number of loops allowed
w.zero [Integer] Sets the 0 point of the slider
w.thumbcolor #[RGB Value] Sets the color of the slider controller
w.labels [Labels] Labels to be shown on the slider
w.nospinner [true,false] If true, the spinner is not shown with the slider
Graph
w.time [Integer] Sets how many seconds are shown on the time axis
w.grid #[RGB Value] Sets the color of the grid lines
w.plotfg #[RGB Value] Sets the color of the plot line
w.plotbg #[RGB Value] Sets the color of the plot's background
w.hidelegend [true,false] If true, the legend is hidden
w.hidex [true,false] If true, the X axis is hidden
w.hidey [true,false] If true, the Y axis is hidden
w.autoadvance [true,false] If false, the graph will not automatically advance
Struct Table Note:All options from script table below also apply to struct table (except w.model)
w.columns [Column IDs] Only column IDs listed will be shown
Script Table
w.multiedit [true,false] All selected cells are edited at the same time
w.localselection [true,false] Cell selection will select entire row
w.scrollselection [true,false] Table automatically scrolls to selection made
w.reorder [true,false] If reorder buttons are shown and are usable
w.rowstyleparam [OID of String Array] Provides style for all cells in each row
w.rowheightparam [OID of Integer] Provides row height for all rows
w.selectionparam [OID of Integer] Current row number is written into param value(Rows are 0 indexed)
w.colselectionparam [OID of Integer] Current column number is written into param value(Columns are 0 indexed)
w.rowaccessparam [OID of Integer] If param is 0: table is read only, if param is 1: table is read/write
w.rowheaderparam [OID of String Array] Array provides row names for the table
w.rowheight [Integer] All rows are set to static height given
w.hscroll [true,false] Is horizontal scrolling enabled or disabled
w.alwaysscroll [true,false,hidden] Is vertical scrolling enabled, disabled, or enabled but with scroll bar hidden
w.hgrid [true,false] If horizontal grid lines are shown
w.vgrid [true,false] If vertical grid lines are shown
w.soratble [true, false] Allows the table to be sorted
w.scrollparam [OID of scroll bar param] Scroll bar param controls scrolling of table
w.scrollmaster [true,false] When multiple tables are used in a grid, setting one to scroll master will make all others follow its scrolling
w.cellediting [true,false] Is editing allowed
w.model [JSON object] Returns the table model to the JSON object, below is a list of functions that can be implemented from the object that is returned
void selectionChanged(int[] selRows, int[] selCols, int[] viewRows, int[] viewCols)
void headerClicked(int colIndex)
boolean isSortable()
Comaptator getCompareFunction(int colIndex)
int getRowHeight(int rowIndex)
int getDefaultRowHeight()
int getRowCount()
int getColumnCount()
boolean isRowHeaderVisible()
int getHeaderWidth()
String getRowHeader(int rowIndex)
Object getValueAt(int rowIndex, int colIndex)
Object getWidgetHint(int rowIndex, int colIndex)
int getParamIndex(int rowIndex, int colIndex)
String getColumnID(int column)
String getColumnName(int column)
OID getParamOid(int rowIndex, int colIndex)
String getCellStyle(int rowIndex, int colIndex)
boolean isCellEditable(int rowIndex, int colIndex)
void setValueAt(Object newValue, int rowIndex, int colIndex)
boolean swapRows(int row1, int row2)