Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

com.lotus.cs
Class ColumnInfo

java.lang.Object
  extended bycom.lotus.cs.ColumnInfo

public class ColumnInfo
extends java.lang.Object

ColumnInfo contains information about the columns in a Domino view. To create a ColumnInfo object, use DominoService.getViewInfo() to first create a ViewInfo and then use ViewInfo.getColumnInfo(). Note that the information returned is ready-made for presentation (for example, hidden and response column information does not have to be considered specially).

See Also:
DominoService.getViewInfo(java.lang.String, java.lang.String), ViewInfo.getColumnInfo()

Method Summary
 java.lang.String getTitle()
          Returns the title of the column.
 int getWidthPercentage()
          Returns the width percentage of this column in the view (the column percentages returned add up to 100).
 boolean isCategory()
          Returns whether or not this column is a category view.
 boolean isIcon()
          Returns whether or not the data is this column is icon data.
 boolean isShowTwistie()
          Returns whether or not this column has the possibility of needing a twistie.
 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTitle

public java.lang.String getTitle()
Returns the title of the column.


getWidthPercentage

public int getWidthPercentage()
Returns the width percentage of this column in the view (the column percentages returned add up to 100).


isCategory

public boolean isCategory()
Returns whether or not this column is a category view.


isShowTwistie

public boolean isShowTwistie()
Returns whether or not this column has the possibility of needing a twistie. Whether or not to show the twistie next to a row is governed by RowInfo.useTwistie

See Also:
RowInfo.useTwistie()

isIcon

public boolean isIcon()
Returns whether or not the data is this column is icon data. To form the gif to the icon, use the value returned by RowInfo.getValues() and construct the file name of the image. For example, if a value of 009 is returned by this method, the image name would be vwicn009.gif. Then, to construct a link in the ui, use a path such as "/cs/images/vwicn009.gif" where /cs/images is the directory where the view images are stored.


Overview  Package   Class  Tree  Serialized  Deprecated  Index  Help 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.