|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TableColumn API. TableColumn represents a single column in a table.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDTable| Field Summary | |
static WDCellBackgroundDesign |
DEFAULT_DESIGN
Default value of property design. |
static java.lang.String |
DEFAULT_FILTER_VALUE
Default value of property filterValue. |
static WDTableColumnHAlign |
DEFAULT_H_ALIGN
Default value of property hAlign. |
static boolean |
DEFAULT_RESIZABLE
Default value of property resizable. |
static WDVisibility |
DEFAULT_VISIBLE
Default value of property visible. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Method Summary | |
void |
bindDesign(IWDAttributeInfo attributeInfo)
Binds property design to the context attribute
specified by the given attribute info. |
void |
bindDesign(java.lang.String path)
Binds property design to the context attribute
specified by path. |
void |
bindFilterValue(IWDAttributeInfo attributeInfo)
Binds property filterValue to the context attribute
specified by the given attribute info. |
void |
bindFilterValue(java.lang.String path)
Binds property filterValue to the context attribute
specified by path. |
void |
bindHAlign(IWDAttributeInfo attributeInfo)
Binds property hAlign to the context attribute
specified by the given attribute info. |
void |
bindHAlign(java.lang.String path)
Binds property hAlign to the context attribute
specified by path. |
java.lang.String |
bindingOfDesign()
Binding path of property design. |
java.lang.String |
bindingOfFilterValue()
Binding path of property filterValue. |
java.lang.String |
bindingOfHAlign()
Binding path of property hAlign. |
java.lang.String |
bindingOfResizable()
Binding path of property resizable. |
java.lang.String |
bindingOfVisible()
Binding path of property visible. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindResizable(IWDAttributeInfo attributeInfo)
Binds property resizable to the context attribute
specified by the given attribute info. |
void |
bindResizable(java.lang.String path)
Binds property resizable to the context attribute
specified by path. |
void |
bindVisible(IWDAttributeInfo attributeInfo)
Binds property visible to the context attribute
specified by the given attribute info. |
void |
bindVisible(java.lang.String path)
Binds property visible to the context attribute
specified by path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute
specified by the given attribute info. |
void |
bindWidth(java.lang.String path)
Binds property width to the context attribute
specified by path. |
void |
destroyHeader()
Destroys the Header instance. |
void |
destroyTableCellEditor()
Destroys the TableCellEditor instance. |
WDCellBackgroundDesign |
getDesign()
Returns the value of the design property. |
java.lang.String |
getFilterValue()
Returns the value of the filterValue property. |
WDTableColumnHAlign |
getHAlign()
Returns the value of the hAlign property. |
IWDCaption |
getHeader()
Gets the Header instance. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
boolean |
getResizable()
Returns the value of the resizable property. |
IWDTable |
getTable()
Returns the current Table. |
IWDTableCellEditor |
getTableCellEditor()
Gets the TableCellEditor instance. |
WDVisibility |
getVisible()
Returns the value of the visible property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
void |
setDesign(WDCellBackgroundDesign value)
Sets property design to the new value. |
void |
setFilterValue(java.lang.String value)
Sets property filterValue to the new value. |
void |
setHAlign(WDTableColumnHAlign value)
Sets property hAlign to the new value. |
void |
setHeader(IWDCaption header)
Sets the Header instance. |
void |
setOnAction(IWDAction action)
Maps the event onAction to the given action. |
void |
setResizable(boolean value)
Sets property resizable to the new value. |
void |
setTableCellEditor(IWDTableCellEditor tableCellEditor)
Sets the TableCellEditor instance. |
void |
setVisible(WDVisibility value)
Sets property visible to the new value. |
void |
setWidth(java.lang.String value)
Sets property width to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final WDCellBackgroundDesign DEFAULT_DESIGN
design.public static final java.lang.String DEFAULT_FILTER_VALUE
filterValue.public static final WDTableColumnHAlign DEFAULT_H_ALIGN
hAlign.public static final boolean DEFAULT_RESIZABLE
resizable.public static final WDVisibility DEFAULT_VISIBLE
visible.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
The action performed when the header of the tableColumn was clicked.
Event parameters are the ID of the column where the selection occured.mappingOfOnAction()public void setOnAction(IWDAction action)
onAction to the given action.action - the action for the eventgetOnAction()public IWDParameterMapping mappingOfOnAction()
onAction.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnAction()public void bindDesign(java.lang.String path)
design to the context attribute
specified by path.path - the path of the context attribute to which the design
property is boundpublic void bindDesign(IWDAttributeInfo attributeInfo)
design to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
design property is boundpublic java.lang.String bindingOfDesign()
design.public WDCellBackgroundDesign getDesign()
design property.
The initial value is WDCellBackgroundDesign.TRANSPARENT.
setDesign(WDCellBackgroundDesign)public void setDesign(WDCellBackgroundDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindFilterValue(java.lang.String path)
filterValue to the context attribute
specified by path.path - the path of the context attribute to which the filterValue
property is boundpublic void bindFilterValue(IWDAttributeInfo attributeInfo)
filterValue to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
filterValue property is boundpublic java.lang.String bindingOfFilterValue()
filterValue.public java.lang.String getFilterValue()
filterValue property.
The initial value is "".
setFilterValue(String)public void setFilterValue(java.lang.String value)
filterValue to the new value.value - the new value of the filterValue propertygetFilterValue()public void bindHAlign(java.lang.String path)
hAlign to the context attribute
specified by path.path - the path of the context attribute to which the hAlign
property is boundpublic void bindHAlign(IWDAttributeInfo attributeInfo)
hAlign to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
hAlign property is boundpublic java.lang.String bindingOfHAlign()
hAlign.public WDTableColumnHAlign getHAlign()
hAlign property.
The initial value is WDTableColumnHAlign.AUTO.
setHAlign(WDTableColumnHAlign)public void setHAlign(WDTableColumnHAlign value)
hAlign to the new value.value - the new value of the hAlign propertygetHAlign()public void bindResizable(java.lang.String path)
resizable to the context attribute
specified by path.path - the path of the context attribute to which the resizable
property is boundpublic void bindResizable(IWDAttributeInfo attributeInfo)
resizable to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
resizable property is boundpublic java.lang.String bindingOfResizable()
resizable.public boolean getResizable()
resizable property.
The initial value is true.
Determines if the column is resizable or notsetResizable(boolean)public void setResizable(boolean value)
resizable to the new value.value - the new value of the resizable propertygetResizable()public void bindVisible(java.lang.String path)
visible to the context attribute
specified by path.path - the path of the context attribute to which the visible
property is boundpublic void bindVisible(IWDAttributeInfo attributeInfo)
visible to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
visible property is boundpublic java.lang.String bindingOfVisible()
visible.public WDVisibility getVisible()
visible property.
The initial value is WDVisibility.VISIBLE.
Determines if this table column is visible.setVisible(WDVisibility)public void setVisible(WDVisibility value)
visible to the new value.value - the new value of the visible propertygetVisible()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
Determines the width (CSS size) of this table column.setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()public IWDCaption getHeader()
setHeader(IWDCaption)public void setHeader(IWDCaption header)
header - the new headergetHeader()public void destroyHeader()
public IWDTableCellEditor getTableCellEditor()
setTableCellEditor(IWDTableCellEditor)public void setTableCellEditor(IWDTableCellEditor tableCellEditor)
tableCellEditor - the new tableCellEditorgetTableCellEditor()public void destroyTableCellEditor()
public IWDTable getTable()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||