LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.setinterface
Interface LySetTableInterface

All Known Implementing Classes:
LyJQTable, LyStrutsTable, LySwingTable

public interface LySetTableInterface

Abstract access to a method. Hides the specific implementation of the view (win, swing, html...) A value, and may have its value set.


Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 void addRow(LyRow row)
          Adds the given row at the end of the current table.
 void addRow(LyRow row, int idx)
          Adds the given row at the given position in the current table.
 void freezeColumn(int idx)
          Freezes the column at the given index in the view.
 void hideRow(int idx, boolean hide)
          Hides or show the row at the given index.
 void removeRow(int idx)
          Removes the row at the given index from the current table.
 void removeRow(LyRow row)
          Removes the given row from the current table.
 void selectAll(boolean select, boolean updateView)
          Selects or unselects all objects of the table.
 void selectRow(int idx, boolean select)
          Selects or unselects the row at the given index of the table.
 void selectRow(LyRow row, boolean select)
          Selects or unselects the specified row in the table.
 void showRow(int idx)
          Scrolls to make visible to the user the row at the given index .
 void swapRows(int idx1, int idx2)
          Swaps the rows at the specified indexes.
 void updateRow(LyRow row)
          Updates the given row.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

addRow

void addRow(LyRow row)
Adds the given row at the end of the current table.

Parameters:
row - the row to add

addRow

void addRow(LyRow row,
            int idx)
Adds the given row at the given position in the current table.

Parameters:
row - the row to add
idx - the position where the row has to be added

removeRow

void removeRow(LyRow row)
Removes the given row from the current table.

Parameters:
row - the row to remove

removeRow

void removeRow(int idx)
Removes the row at the given index from the current table.

Parameters:
idx - the index of the row to remove

swapRows

void swapRows(int idx1,
              int idx2)
Swaps the rows at the specified indexes.

Parameters:
idx1 - the position of the first row to swap
idx2 - the position of the second row to swap

selectRow

void selectRow(LyRow row,
               boolean select)
Selects or unselects the specified row in the table.

Parameters:
row - the row to select or unselect
select - true if the row has to be selected, false otherwise

selectRow

void selectRow(int idx,
               boolean select)
Selects or unselects the row at the given index of the table.

Parameters:
idx - index of the row to select or unselect
select - true if the row has to be selected, false otherwise

selectAll

void selectAll(boolean select,
               boolean updateView)
Selects or unselects all objects of the table.

Parameters:
select - true if all objects have to be selected, false otherwise
updateView - indicates if the view must be updated or not.

showRow

void showRow(int idx)
Scrolls to make visible to the user the row at the given index .

Parameters:
idx - the index of the row to show

hideRow

void hideRow(int idx,
             boolean hide)
Hides or show the row at the given index.

Parameters:
idx - the index of the row to show or hide
hide - indicates if the row has to be shown or hided

freezeColumn

void freezeColumn(int idx)
Freezes the column at the given index in the view.

Parameters:
idx - the index of the column to freeze

updateRow

void updateRow(LyRow row)
Updates the given row.

Parameters:
row - the row to update

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com