Library | Package Java Toolkit

Class SelectionBox

package com.ptc.wfc.wfcExternalObject;

public class SelectionBox
  implements jxobject



Description

A 2x3 array representing a selection box

Array provides methods for accessing its elemnts by index(indices) and for modifying its elements. Array object "does not know" its dimentions.

Array Dimensions: [2] [3]



Method Summary
static SelectionBoxcreate ()
    Creates new array object with uninitialized elements.
doubleget (int idx0, int idx1)
    Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
voidset (int idx0, int idx1, double value)
    Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.

Method Detail

get

doubleget (int idx0, int idx1)


    Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
idx1
Second element index.
Returns:
Element value.


set

voidset (int idx0, int idx1, double value)


    Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
idx1
Second element index.
value
New element value.
Returns:


create

static SelectionBoxcreate ()


    Creates new array object with uninitialized elements.
Returns:
Created array.