IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Creating a new column on the workarea

About this task

To create a new column on the workarea, six kinds of modes are provided:
  • Mode I: Using API BTTUtil.workarea.addColumn without any parameter, a new column is added at the end in the current tab and the column ID is returned.
    Table 1. Mode I
    Input Output
    null A new column is added at the end in the current tab. And the column ID is returned.
  • Mode II: Using API BTTUtil.workarea.addColumn with a tab Id parameter, a new column is added at the end of the specified tab. And the column ID is returned.
    Table 2. Mode II
    Input Output
    P1 (tab Id) A new column is added at the end of the specified tab. And the column ID is returned.
  • Mode III: Using API BTTUtil.workarea.addColumn with a tab ID parameter and an attribute parameter, a new column is added at the end of the specified tab with the specified attributes . And the added column ID is returned.
    Table 3. Mode III
    Input Output
    P1 (tab ID), P2 (attributes) A new column is added at the end of the specified tab with the specified attributes . And the added column ID is returned.
  • Mode IV: Using API BTTUtil.workarea.addColumn with a tab ID parameter and an index parameter, a new column is added in the corresponding tab, and the added column ID is returned.
    Table 4. Mode IV
    Input Output
    P1(tab ID), P2(index) A new column is added in the corresponding tab. And the added column ID is returned.
  • Mode V: Using API BTTUtil.workarea.addColumn with a column ID parameter, an index parameter and an attribute parameter, a new column is added before of after the specified column with the specified attributes. And the added column ID is returned.
    Table 5. Mode V
    Input Output
    P1 (Column ID), P2 (index), P3 (attributes) A new column is added before of after the specified column with the specified attributes. And the added column ID is returned.
  • Mode VI: Using API BTTUtil.workarea.addColumn with a tab ID parameter, an index parameter and an attribute parameter, a new column is added in the corresponding tab with the specified attributes. And the added column ID is returned.
    Table 6. Mode VI
    Input Output
    P1 (tab ID), P2 (index), P3 (attributes) A new column is added in the corresponding tab with the specified attributes. And the added column ID is returned.


Feedback