14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Application Object <strong>Reference</strong> for Automating <strong>JMP</strong><br />

DataTable Object<br />

If the Join is by Matching Columns, the Matching Column 0ptions that were set for both tables in<br />

SetJoinMatchOptions will be used. If no options are set, then a default operation is performed. The columns<br />

that were specified in AddToJoinMatchList are used to perform the match.<br />

LabelSelectedRows() As Boolean<br />

Labels the rows that have been selected using SelectRows(StartRow As Integer, EndRow As Integer).<br />

MarkerByColumn(Name as String) As Boolean<br />

Sets the row state marker based on the values in the column specified by Name.<br />

NewColumn(Name As String, Type As Integer, Model As Integer, Width As Integer)<br />

Adds a new column with the specified name and type. Type is specified using one of the colDataTypeConstants.<br />

Model (Continuous, Nominal) is specified using one of the colModelTypeConstants.<br />

PrintTable() As Boolean<br />

Prints the table on the default printer.<br />

ReorderColumns(ReorderType As Integer)<br />

Reorders the columns either by data type, modeling, name or by reversing the order. The original order can also<br />

be restored. A value from colReorderConstants that is passed as the parameter defines the behavior.<br />

SelectColumn(Column As String, SelectFlag as Boolean) As Boolean<br />

Selects the column whose name is provided if SelectFlag is True, otherwise de-select it. False is returned if the<br />

column is not found.<br />

SelectExcludedRows() As Boolean<br />

Selects the rows that are excluded. Returns true for success, false for failure.<br />

SelectHiddenRows() As Boolean<br />

Selects the rows that are hidden. Returns true for success, false for failure.<br />

SelectLabeledRows() As Boolean<br />

Selects the rows that are labeled. Returns true for success, false for failure.<br />

SelectAllMatchingCells() As Boolean<br />

Selects the cells that match the already selected row/column combinations.<br />

For example, if a cell with value 58 is selected in the column “age”, this method selects other cells with age equal<br />

to 58. Columns must be selected using the SelectColumn method on the DataTable object, or on a column<br />

object before calling one of these methods. SelectAllMatchingCells applies to all open data tables.<br />

Page 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!