Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.1.0)

E18581-02

oracle.adfdt.view.rich.binding.pattern.table
Class Column

java.lang.Object
  extended by oracle.adfdt.view.rich.binding.pattern.table.Column

public final class Column
extends java.lang.Object

Represents a single column in the table. Used mainly to customize the label and what component to use for the column.


Method Summary
static Column create(oracle.binding.meta.NamedDefinition namedDefinition)
          Creates a column with the given required named definition.
 oracle.binding.meta.NamedDefinition getDefinition()
          The definition the columns's component will use to bind itself with.
 java.lang.String getLabel()
          Returns the label to be used.
 Widget getWidget()
          The specific widget to use for this column's contained component.
 void setLabel(java.lang.String label)
          Sets the label to use for this column.
 void setWidget(Widget widget)
          Sets the widget to use for this column's contained component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Column create(oracle.binding.meta.NamedDefinition namedDefinition)
Creates a column with the given required named definition. By default this will generate a default label and use the highest ranked component that is compatible with the table.


getDefinition

public oracle.binding.meta.NamedDefinition getDefinition()
The definition the columns's component will use to bind itself with.


getLabel

public java.lang.String getLabel()
Returns the label to be used. If no label has been set (the label is null), a default label will be used.


setLabel

public void setLabel(java.lang.String label)
Sets the label to use for this column. If no label is set (label is null), a default label will be used.


setWidget

public void setWidget(Widget widget)
Sets the widget to use for this column's contained component. This widget must support this inclusion context and be compatible with the table. For a listing of supported widgets, see the TableOptions.getAvailableWidgets(column) api.


getWidget

public Widget getWidget()
The specific widget to use for this column's contained component. If null, then the default component will be used.


Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.1.0)

E18581-02

Copyright © 1997, 2011, Oracle. All rights reserved.