rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMatrixCoordinate Class Reference

Matrix coordinate class. More...

#include <ilviews/gadgets/matsel.h>

List of all members.

Public Member Functions

 IlvMatrixCoordinate (IlUShort row=0, IlUShort col=0)
 Constructor.
IlUShort getColumn () const
 Returns the column of the selected matrix item.
IlvAbstractMatrixItemgetItem (const IlvMatrix *matrix) const
 Returns the selected matrix item.
IlUShort getRow () const
 Returns the row of the selected matrix item.

Detailed Description

Matrix coordinate class.

Library: ilvadvgdt

This class is used to store the coordinates of the IlvMatrix item which is selected.

See also:
IlvMatrixRowSelection, IlvMatrixSelection

Constructor & Destructor Documentation

IlvMatrixCoordinate::IlvMatrixCoordinate ( IlUShort  row = 0,
IlUShort  col = 0 
)

Constructor.

Initializes a new instance of the class IlvMatrixCoordinate.

Parameters:
row The row of the selected matrix item.
col The column of the selected matrix item.

Member Function Documentation

IlUShort IlvMatrixCoordinate::getColumn (  )  const

Returns the column of the selected matrix item.

Returns:
The column of the selected matrix item.
IlvAbstractMatrixItem* IlvMatrixCoordinate::getItem ( const IlvMatrix matrix  )  const

Returns the selected matrix item.

Parameters:
matrix The matrix which contains the matrix item.
Returns:
The selected matrix item.
IlUShort IlvMatrixCoordinate::getRow (  )  const

Returns the row of the selected matrix item.

Returns:
The row of the selected matrix item.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.