com.sapportals.admin.wizardframework.components.tableview

Class TableViewColumn

java.lang.Object
  extended by com.sapportals.admin.wizardframework.components.tableview.TableViewColumn

Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).

public class TableViewColumn
extends Object

The class that is the wrapper for a single column in a table. A column type can be one of the following controls:


Constructor Summary
TableViewColumn(String iHeader, Boolean iIsVisibile, Boolean iIsKey, IBasicEditingContext context)
          Deprecated. A constructor that sets the header, whether the column is visible, and whether it is a key column.
TableViewColumn(String iHeader, Boolean iIsVisibile, Boolean iIsKey, ITableViewCellRenderer iColRender, IBasicEditingContext context)
          Deprecated. A constructor that sets the header, whether the column is visible, whether it is a key column and a column renderer.
 
Method Summary
 Comparator getComparator()
          Deprecated. returns the column comparator
 String getHeader()
          Deprecated. Gets the column header.
 ITableViewCellRenderer getRender()
          Deprecated. Gets the cell renderer.
 String getType()
          Deprecated. Gets the column type.
 com.sapportals.htmlb.enums.TableColumnType getTypeEnum()
          Deprecated. Gets the column type object.
 Boolean isKey()
          Deprecated. Indicates whether the column is a key column.
 Boolean isSortable()
          Deprecated. Indicates whether the column is sortable.
 Boolean isVisible()
          Deprecated. Indicates whether the column is visible.
 void setComparator(Comparator comparator)
          Deprecated. set the column comparator.
 void setHeader(String iHeader)
          Deprecated. Sets a column header.
 void setIsKey(Boolean iIsKey)
          Deprecated. Sets a column as a key column.
 void setIsSortable(Boolean iSortable)
          Deprecated. Sets a column as sortable.
 void setIsVisible(Boolean iIsVisible)
          Deprecated. Sets a column as visible.
 void setRender(ITableViewCellRenderer iColRender)
          Deprecated. Sets the column renderer.
 void setType(String iColType)
          Deprecated. Sets the type for a column.
 void setTypeEnum(com.sapportals.htmlb.enums.TableColumnType iColType)
          Deprecated. Sets a column type object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableViewColumn

public TableViewColumn(String iHeader,
                       Boolean iIsVisibile,
                       Boolean iIsKey,
                       IBasicEditingContext context)
Deprecated. 
A constructor that sets the header, whether the column is visible, and whether it is a key column.
Note: In multi-selection mode, more than one column can be a key column.

Parameters:
iHeader - a column header
iIsVisibile - true if the column is visible, false if not visible
iIsKey - true if it is a key column, false if not
context - the editing context

TableViewColumn

public TableViewColumn(String iHeader,
                       Boolean iIsVisibile,
                       Boolean iIsKey,
                       ITableViewCellRenderer iColRender,
                       IBasicEditingContext context)
Deprecated. 
A constructor that sets the header, whether the column is visible, whether it is a key column and a column renderer.
Note: In multiple selection mode, more than one column can be a key column.

Parameters:
iHeader - a column header
iIsVisibile - true if the column is visible, false if not visible
iIsKey - true if it is a key column, false if not
iColRender - a column renderer
context - the current editing context
Method Detail

getHeader

public String getHeader()
Deprecated. 
Gets the column header.

Returns:
the column header

setHeader

public void setHeader(String iHeader)
Deprecated. 
Sets a column header.

Parameters:
iHeader - a header

getType

public String getType()
Deprecated. 
Gets the column type.

Returns:
the column type

setType

public void setType(String iColType)
Deprecated. 
Sets the type for a column.

Parameters:
iColType - a column type

getTypeEnum

public com.sapportals.htmlb.enums.TableColumnType getTypeEnum()
Deprecated. 
Gets the column type object.

Returns:
the column type object

setTypeEnum

public void setTypeEnum(com.sapportals.htmlb.enums.TableColumnType iColType)
Deprecated. 
Sets a column type object.

Parameters:
iColType - a column type object

isKey

public Boolean isKey()
Deprecated. 
Indicates whether the column is a key column.

Returns:
true if it is a key column, false if not

setIsKey

public void setIsKey(Boolean iIsKey)
Deprecated. 
Sets a column as a key column.

Parameters:
iIsKey - true if it is a key column, false if not

isSortable

public Boolean isSortable()
Deprecated. 
Indicates whether the column is sortable.

Returns:
true if it is sortable, false if not

setIsSortable

public void setIsSortable(Boolean iSortable)
Deprecated. 
Sets a column as sortable.

Parameters:
iSortable - true if it is sortable, false if not

isVisible

public Boolean isVisible()
Deprecated. 
Indicates whether the column is visible.

Returns:
true if it is visible, false if not

setIsVisible

public void setIsVisible(Boolean iIsVisible)
Deprecated. 
Sets a column as visible.

Parameters:
iIsVisible - true to set as visible, false to set as not visible

getRender

public ITableViewCellRenderer getRender()
Deprecated. 
Gets the cell renderer.

Returns:
the cell renderer

setRender

public void setRender(ITableViewCellRenderer iColRender)
Deprecated. 
Sets the column renderer.

Parameters:
iColRender - a column renderer

getComparator

public Comparator getComparator()
Deprecated. 
returns the column comparator

Returns:
@see Comparator the column comparator

setComparator

public void setComparator(Comparator comparator)
Deprecated. 
set the column comparator. This comparator will be use in stead the default string comparator in case that the column define as sortable column

Parameters:
comparator - @see java.util.Comparator in the column sort comparator
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated - EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated api EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice