com.cc.framework.ui.model
Interface ColumnContainer

All Known Subinterfaces:
ColumnGroupDesignModel, ListDesignModel, TreelistDesignModel
All Known Implementing Classes:
ColumnContainerImp, ColumnGroupDesignModelImp, ListDesignModelImp, TreelistDesignModelImp

public interface ColumnContainer

Defines the properties for a container of columns

Since:
1.0
Version:
$Revision: 1.7 $
Author:
Harald Schulz

Method Summary
 void addColumn(ColumnDesignModel column)
          Adds a new column definition to the ListControl
 ColumnDesignModel getColumn(int index)
          Returns the column with the given index
 ColumnDesignModel[] getColumns()
          Returns an array with all column definitions
 void removeColumn(ColumnDesignModel column)
          Removes a column
 int size()
          Returns the number of columns
 

Method Detail

addColumn

public void addColumn(ColumnDesignModel column)
Adds a new column definition to the ListControl

Parameters:
column - The column definition to add

removeColumn

public void removeColumn(ColumnDesignModel column)
Removes a column

Parameters:
column - The column to remove

getColumns

public ColumnDesignModel[] getColumns()
Returns an array with all column definitions

Returns:
array of ColumnDesignModels

getColumn

public ColumnDesignModel getColumn(int index)
Returns the column with the given index

Parameters:
index - column index
Returns:
ColumnDesignModel

size

public int size()
Returns the number of columns

Returns:
int The number of columns


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.