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 C_FIELD_PERCENT_WIDTH Constant Protected Type reference (TYPE) STRING 'PERCENT_WIDTH' 20110301
2 C_FIELD_PIXEL_WIDTH Constant Protected Type reference (TYPE) STRING 'PIXEL_WIDTH' 20110301
3 C_MIN_PIXEL_WIDTH Constant Protected Type reference (TYPE) I 25 20110301
4 MTO_COLUMNS Instance attribute Protected Type reference (TYPE) YTO_COLUMN 20110301
5 M_PERCENT_WIDTHS_CALCULATED Instance attribute Protected Type reference (TYPE) ABAP_BOOL 20110301
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_PERCENT_WIDTHS Instance method Protected Method 20110301
2 CLONE Instance method Public Method 20110301
3 CONSTRUCTOR Instance method Public Constructor 20110301
4 DISTRIBUTE_VALUE Instance method Protected Method 20110301
5 GET_PERCENT_WIDTH Instance method Public Method 20110301
6 GET_PIXEL_WIDTH Instance method Public Method 20110301
7 GET_PIXEL_WIDTHS Instance method Public Method 20130211
8 PARSE_WIDTH_STRING Static method Public Method 20111202
9 RESET_TO_IMPLICIT_WIDTHS Instance method Public Method 20111201
10 SET_PERCENT_WIDTHS Instance method Protected Method 20111201
11 SET_PIXEL_WIDTHS Instance method Protected Method 20111201
12 SET_VISIBLE_COLUMNS Instance method Public Method 20110301
13 SET_WIDTHS 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 Returning 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 Importing 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 Importing IT_COLUMN_NAMES Value transfer Type reference (TYPE) IF_FPM_LIST_TYPES=>YT_COLUMN_NAME 20110301
2 Importing I_FACTOR_FIELD Call by reference Type reference (TYPE) STRING 20110301
3 Importing I_TARGET_FIELD Call by reference Type reference (TYPE) STRING 20110301
4 Importing 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 Importing IV_COLUMN_NAME Call by reference Type reference (TYPE) STRING 20110301
2 Returning 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 Importing IV_COLUMN_NAME Call by reference Type reference (TYPE) STRING 20110301
2 Returning 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 Exporting 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 Exporting EV_WIDTH_AS_INTEGER Value transfer Type reference (TYPE) I 20111202
2 Exporting EV_WIDTH_IS_IN_PERCENTS Value transfer Type reference (TYPE) ABAP_BOOL 20111202
3 Importing 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 Exporting ET_CHANGED_PIXEL_WIDTHS Call by reference Type reference (TYPE) IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH 20111201
2 Importing 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 Exporting ET_CHANGED_PIXEL_WIDTHS Call by reference Type reference (TYPE) IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH 20111201
2 Importing 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 Importing 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 Exporting ET_CHANGED_PIXEL_WIDTHS Call by reference Type reference (TYPE) IF_FPM_LIST_TYPES=>YT_COLUMN_WIDTH 20111202
2 Importing 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