net.pleso.framework.client.bl.rb.columns.impl
Class RBColumn

java.lang.Object
  extended by net.pleso.framework.client.bl.rb.columns.impl.RBColumn
All Implemented Interfaces:
IRBColumn, IRBDataColumn

public class RBColumn
extends java.lang.Object
implements IRBDataColumn

Represents default IRBDataColumn implementation


Constructor Summary
RBColumn(IDataColumn dataColumn, int width)
          Constructor
 
Method Summary
 java.lang.String getCaption()
          Represents column caption which describes meaning of this column.
 IDataColumn getDataColumn()
          Each IRBDataColumn wraps one data column of the rows retrieved by reference book data source.
 int getWidth()
          Use IRBColumn.getWidth() to control width of each column in reference book.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBColumn

public RBColumn(IDataColumn dataColumn,
                int width)
Constructor

Parameters:
dataColumn - binded column
width - width of column
Method Detail

getCaption

public java.lang.String getCaption()
Description copied from interface: IRBColumn
Represents column caption which describes meaning of this column.

Specified by:
getCaption in interface IRBColumn
Returns:
column caption

getDataColumn

public IDataColumn getDataColumn()
Description copied from interface: IRBDataColumn
Each IRBDataColumn wraps one data column of the rows retrieved by reference book data source. So one reference book column binds through this function to one data column.

Specified by:
getDataColumn in interface IRBDataColumn
Returns:
binded data column

getWidth

public int getWidth()
Description copied from interface: IRBColumn
Use IRBColumn.getWidth() to control width of each column in reference book. This width is proportional integer value specifying its size relative to other columns.

Specified by:
getWidth in interface IRBColumn
Returns:
proportional width of column


Copyright © 2006-2007 pleso.net crew All Rights Reserved.