com.cc.framework.ui.model.imp
Class ColumnContainerImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ColumnContainerImp
All Implemented Interfaces:
ColumnContainer, java.io.Serializable

public class ColumnContainerImp
extends java.lang.Object
implements ColumnContainer, java.io.Serializable

Collumn Container implementation

Version:
$Revision: 1.3 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.util.ArrayList columns
          The buffer with the columns of the list control
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
ColumnContainerImp()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

columns

private java.util.ArrayList columns
The buffer with the columns of the list control

Constructor Detail

ColumnContainerImp

public ColumnContainerImp()
Method Detail

addColumn

public void addColumn(ColumnDesignModel column)
Description copied from interface: ColumnContainer
Adds a new column definition to the ListControl

Specified by:
addColumn in interface ColumnContainer
Parameters:
column - The column definition to add
See Also:
ColumnContainer.addColumn(com.cc.framework.ui.model.ColumnDesignModel)

getColumns

public ColumnDesignModel[] getColumns()
Description copied from interface: ColumnContainer
Returns an array with all column definitions

Specified by:
getColumns in interface ColumnContainer
Returns:
array of ColumnDesignModels
See Also:
ColumnContainer.getColumns()

getColumn

public ColumnDesignModel getColumn(int index)
Description copied from interface: ColumnContainer
Returns the column with the given index

Specified by:
getColumn in interface ColumnContainer
Parameters:
index - column index
Returns:
ColumnDesignModel
See Also:
ColumnContainer.getColumn(int)

removeColumn

public void removeColumn(ColumnDesignModel column)
Description copied from interface: ColumnContainer
Removes a column

Specified by:
removeColumn in interface ColumnContainer
Parameters:
column - The column to remove
See Also:
ColumnContainer.removeColumn(com.cc.framework.ui.model.ColumnDesignModel)

size

public int size()
Description copied from interface: ColumnContainer
Returns the number of columns

Specified by:
size in interface ColumnContainer
Returns:
int The number of columns
See Also:
ColumnContainer.size()


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