com.mindoo.remote.api.symphony.presentation
Interface IRemotePresentationTableColumns


public interface IRemotePresentationTableColumns

This class is a collection of PresentationTableColumns objects representing all the columns in a presentation table.

Access

To get all the columns of a table, use the Columns property in the TableShape class.

Usage

PresentationTableColumns provides access to columns and provides methods to insert and remove columns.


Method Summary
 IRemotePresentationTableColumn add()
          This method inserts one or more columns in a table.
 IRemotePresentationTableColumn add(int index)
          This method inserts one or more columns in a table.
 IRemotePresentationTableColumn add(int index, int count)
          This method inserts one or more columns in a table.
 IRemoteSymphonyApplication getApplication()
          This property represents the Lotus Symphony application.
 int getCount()
          This property returns the number of columns in a table.
 int getWidth()
          This property gets the width of the first column and sets the width of all columns.
 IRemotePresentationTableColumn item(int index)
          This method gets a column of the table according to an index.
 void remove()
          This method removes one or more columns in a table.
 void remove(int beginIdx)
          This method removes one or more columns in a table.
 void remove(int beginIdx, int count)
          This method removes one or more columns in a table.
 void setWidth(int width)
          This property gets the width of the first column and sets the width of all columns.
 

Method Detail

getApplication

IRemoteSymphonyApplication getApplication()
                                          throws RemoteEclipseAPIException
This property represents the Lotus Symphony application.

Returns:
application
Throws:
RemoteEclipseAPIException

getCount

int getCount()
             throws RemoteEclipseAPIException
This property returns the number of columns in a table. The maximum number of columns in a table is 64.

Returns:
count
Throws:
RemoteEclipseAPIException

add

IRemotePresentationTableColumn add()
                                   throws RemoteEclipseAPIException
This method inserts one or more columns in a table. When inserting several columns, this method returns the last inserted column.
The add() method inserts a column after the last column.

Returns:
A PresentationTableColumn object that represents a column.
Throws:
RemoteEclipseAPIException

add

IRemotePresentationTableColumn add(int index)
                                   throws RemoteEclipseAPIException
This method inserts one or more columns in a table. When inserting several columns, this method returns the last inserted column.
The add() method inserts a column after the last column.

Parameters:
index - Specifies the index of a column before which new columns are inserted. The range of the index is from 1 to the column number +1. If the index is column number +1, this method inserts several columns specified by the count parameter after the last column.
Returns:
A PresentationTableColumn object that represents a column.
Throws:
RemoteEclipseAPIException

add

IRemotePresentationTableColumn add(int index,
                                   int count)
                                   throws RemoteEclipseAPIException
This method inserts one or more columns in a table. When inserting several columns, this method returns the last inserted column.
The add() method inserts a column after the last column.

Parameters:
index - Specifies the index of a column before which new columns are inserted. The range of the index is from 1 to the column number +1. If the index is column number +1, this method inserts several columns specified by the count parameter after the last column.
count - Specifies the number of columns to be added. If the number of columns is out of bounds, this method throws an exception.
Returns:
A PresentationTableColumn object that represents a column.
Throws:
RemoteEclipseAPIException

item

IRemotePresentationTableColumn item(int index)
                                    throws RemoteEclipseAPIException
This method gets a column of the table according to an index.

Parameters:
index - Specifies the index of the column, starting at 1.
Returns:
A PresentationTableColumn object that represents a column.
Throws:
RemoteEclipseAPIException

remove

void remove()
            throws RemoteEclipseAPIException
This method removes one or more columns in a table.
The remove() method removes the last column.

Throws:
RemoteEclipseAPIException

remove

void remove(int beginIdx)
            throws RemoteEclipseAPIException
This method removes one or more columns in a table.
The remove() method removes the last column.

Parameters:
beginIdx - Specifies the index of the first column to be removed, starting at 1.
Throws:
RemoteEclipseAPIException

remove

void remove(int beginIdx,
            int count)
            throws RemoteEclipseAPIException
This method removes one or more columns in a table.
The remove() method removes the last column.

Parameters:
beginIdx - Specifies the index of the first column to be removed, starting at 1.
count - Specifies the number of columns to be removed. The default value is 1. If the number of columns is out of bounds, this method throws an exception.
Throws:
RemoteEclipseAPIException

getWidth

int getWidth()
             throws RemoteEclipseAPIException
This property gets the width of the first column and sets the width of all columns.

Returns:
width
Throws:
RemoteEclipseAPIException

setWidth

void setWidth(int width)
              throws RemoteEclipseAPIException
This property gets the width of the first column and sets the width of all columns.

Parameters:
width -
Throws:
RemoteEclipseAPIException