SAP ABAP Class CL_FPM_LIST_COLUMN_WIDTH_UTIL (Utility for column width conversion between % and PX)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
⤷
APB_FPM_GUIBB (Package) Generic UI building blocks
⤷
⤷
Properties
| Class | CL_FPM_LIST_COLUMN_WIDTH_UTIL | |
| Short Description | Utility for column width conversion between % and PX | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | APB_FPM_GUIBB | Generic UI building blocks |
| Created | 20110301 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no forward declaration.
Interfaces
Class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no interface implemented.
Friends
Class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | 'PERCENT_WIDTH' | 20110301 | |||
| 2 | Constant | Protected | Type reference (TYPE) | STRING | 'PIXEL_WIDTH' | 20110301 | |||
| 3 | Constant | Protected | Type reference (TYPE) | I | 25 | 20110301 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | YTO_COLUMN | 20110301 | ||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20110301 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20110301 | ||
| 2 | Instance method | Public | Method | 20110301 | ||
| 3 | Instance method | Public | Constructor | 20110301 | ||
| 4 | Instance method | Protected | Method | 20110301 | ||
| 5 | Instance method | Public | Method | 20110301 | ||
| 6 | Instance method | Public | Method | 20110301 | ||
| 7 | Instance method | Public | Method | 20130211 | ||
| 8 | Static method | Public | Method | 20111202 | ||
| 9 | Instance method | Public | Method | 20111201 | ||
| 10 | Instance method | Protected | Method | 20111201 | ||
| 11 | Instance method | Protected | Method | 20111201 | ||
| 12 | Instance method | Public | Method | 20110301 | ||
| 13 | Instance method | Public | Method | 20111201 |
Events
Class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_CHANGE | Protected | See coding | 20111202 | begin of ys_change,
column_name type string,
width type i,
is_in_percents type abap_bool,
end of ys_change
|
||
| 2 | YS_COLUMN | Protected | See coding | 20110301 | begin of ys_column,
column_name type string,
implicit_pixel_width type i,
is_visible type abap_bool,
position type i,
pixel_width type i,
percent_width type i,
end of ys_column
|
||
| 3 | YTO_COLUMN | Protected | See coding | 20110301 | yto_column type sorted table of ys_column
with unique key column_name
|
||
| 4 | YTS_CHANGE | Protected | See coding | 20111202 | yts_change type sorted table of ys_change with unique key column_name
|
Method Signatures
Method CALCULATE_PERCENT_WIDTHS Signature
Method CALCULATE_PERCENT_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no parameter.
Method CALCULATE_PERCENT_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method CLONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_COLUMN_UTIL | Value transfer | Object reference (TYPE REF TO) | CL_FPM_LIST_COLUMN_WIDTH_UTIL | 20110301 |
Method CLONE on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_IMPLICIT_PIXEL_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH | 20130128 |
Method CONSTRUCTOR on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method DISTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_COLUMN_NAMES | Value transfer | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_NAME | 20110301 | ||||
| 2 | I_FACTOR_FIELD | Call by reference | Type reference (TYPE) | STRING | 20110301 | ||||
| 3 | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | STRING | 20110301 | ||||
| 4 | I_TARGET_SUM | Value transfer | Type reference (TYPE) | I | 20120103 |
Method DISTRIBUTE_VALUE on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method GET_PERCENT_WIDTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLUMN_NAME | Call by reference | Type reference (TYPE) | STRING | 20110301 | ||||
| 2 | RV_PERCENT_WIDTH | Value transfer | Type reference (TYPE) | I | 20110301 |
Method GET_PERCENT_WIDTH on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method GET_PIXEL_WIDTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLUMN_NAME | Call by reference | Type reference (TYPE) | STRING | 20110301 | ||||
| 2 | RV_PIXEL_WIDTH | Value transfer | Type reference (TYPE) | I | 20110301 |
Method GET_PIXEL_WIDTH on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method GET_PIXEL_WIDTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_SETTINGS_VARIANT=>TY_T_COLUMN_WIDTH | 20130211 |
Method GET_PIXEL_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method PARSE_WIDTH_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_WIDTH_AS_INTEGER | Value transfer | Type reference (TYPE) | I | 20111202 | ||||
| 2 | EV_WIDTH_IS_IN_PERCENTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20111202 | ||||
| 3 | IV_WIDTH_AS_STRING | Call by reference | Type reference (TYPE) | STRING | 20111202 |
Method PARSE_WIDTH_STRING on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method RESET_TO_IMPLICIT_WIDTHS Signature
Method RESET_TO_IMPLICIT_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no parameter.
Method RESET_TO_IMPLICIT_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method SET_PERCENT_WIDTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHANGED_PIXEL_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH | 20111201 | ||||
| 2 | IT_WIDTHS | Call by reference | Type reference (TYPE) | YTS_CHANGE | 20111202 |
Method SET_PERCENT_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method SET_PIXEL_WIDTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHANGED_PIXEL_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH | 20111201 | ||||
| 2 | IT_WIDTHS | Call by reference | Type reference (TYPE) | YTS_CHANGE | 20111202 |
Method SET_PIXEL_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method SET_VISIBLE_COLUMNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_VISIBLE_COLUMNS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_NAME | 20110301 |
Method SET_VISIBLE_COLUMNS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
Method SET_WIDTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHANGED_PIXEL_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH | 20111202 | ||||
| 2 | IT_WIDTHS | Call by reference | Type reference (TYPE) | IF_FPM_LIST_SETTINGS_VARIANT=>TY_T_COLUMN_WIDTH | 20111201 |
Method SET_WIDTHS on class CL_FPM_LIST_COLUMN_WIDTH_UTIL has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 731 |