| /******************************************************************************* |
| * Copyright (c) 2007 IBM Corporation and Others |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Hisashi MIYASHITA - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.actf.ai.fennec.treemanager; |
| |
| /** |
| * ITable interface defines the methods to be implemented by the table |
| * representation on the Fennec tree. |
| */ |
| public interface ITable { |
| /** |
| * @param idx |
| * the index of the row. |
| * @return the row of the table specified the index. |
| */ |
| ITableRow getRow(int idx); |
| |
| /** |
| * @return the number of the columns of the table. |
| */ |
| int getColumnSize(); |
| |
| /** |
| * @return the number of the rows of the table. |
| */ |
| int getRowSize(); |
| |
| /** |
| * @return the text information of the table. |
| */ |
| String getTableString(); |
| } |