SAP ABAP Class CL_WDR_DATA_GRID_HELPER (Help Class for Data Grid)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_UIEL_DATA_GRID (Package) UIE Library "Data Grid"
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_NW7_VIEW_ELEMENT_ADAPTER Web Dynpro Local Test XX7 20120904
Properties
Class CL_WDR_DATA_GRID_HELPER  
Short Description Help Class for Data Grid    
Super Class CL_NW7_VIEW_ELEMENT_ADAPTER Web Dynpro Local Test XX7 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_UIEL_DATA_GRID   UIE Library "Data Grid" 
Created 20120904   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WDR_DATA_GRID_HELPER has no forward declaration.
Interfaces
Class CL_WDR_DATA_GRID_HELPER has no interface implemented.
Friends
Class CL_WDR_DATA_GRID_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_MIXED_SIZE_UNITS Constant Private Type reference (TYPE) STRING `MIXED_SIZE_UNITS` 20131212
2 M_DATA_GRID_HEIGHT Instance attribute Private Type reference (TYPE) T_SIZE Height of Entire Data Grid 20131212
3 M_DATA_GRID_WIDTH Instance attribute Private Type reference (TYPE) T_SIZE Width of Entire Data Grid 20131212
4 M_SEGMENT_COLS Instance attribute Private Type reference (TYPE) T_SEGMENT_LAYERS 20131212
5 M_SEGMENT_ROWS Instance attribute Private Type reference (TYPE) T_SEGMENT_LAYERS 20120904
Methods
# Method Level Visibility Method type Description Created on
1 ENUM_TO_JSON_MAP Static method Public Method Returns JSON Map from an enumeration 20130515
2 GET_PROPOSED_DATA_GRID_HEIGHT Instance method Public Method Returns the default value for the height of DataGrid 20130221
3 GET_PROPOSED_DATA_GRID_WIDTH Instance method Public Method Returns the default value for the width of DataGrid 20130221
4 GET_SEGMENT_COL Instance method Public Method Returns a segment column 20120904
5 GET_SEGMENT_COL_COUNT Instance method Public Method Returns the number of segment columns 20120907
6 GET_SEGMENT_ROW Instance method Public Method Returns a segment row 20120904
7 GET_SEGMENT_ROW_COUNT Instance method Public Method Returns the number of segment rows 20120907
8 GET_UNIT_AND_AMOUNT Instance method Private Method Returns the unit and value from a CSS size string 20130308
9 GET_WD_UR_ENUM_MAP Static method Public Method Returns the Web Dynpro -> UR Mapping of Enumerations 20131212
10 INIT Instance method Public Method 20130308
11 PROCESS_SEGMENT_LAYER Instance method Private Method 20120904
12 SET_SEGMENT_COL Instance method Public Method Sets a segment column 20120904
13 SET_SEGMENT_ROW Instance method Public Method Sets a segment row 20120904
14 UPDATE_DATA_GRID_HEIGHT Instance method Public Method 20130308
15 UPDATE_DATA_GRID_WIDTH Instance method Public Method 20130308
Events
Class CL_WDR_DATA_GRID_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_SEGMENT_LAYER Public See coding 20120904 begin of t_segment_layer, index type i, content_count type i, item type ref to ifur_nw7__control, adapter type ref to if_nw7_view_element_adapter, end of t_segment_layer
2 T_SEGMENT_LAYERS Public See coding 20120904 t_segment_layers type sorted table of t_segment_layer with unique key index
3 T_SIZE Private See coding 20130221 begin of t_size, amount type f, unit type string, end of t_size
4 T_WD_UR_ENUM Public See coding 20131212 begin of t_wd_ur_enum, wd_value type wdy_uie_library_enum_type, ur_value type seocmpname, end of t_wd_ur_enum
5 T_WD_UR_ENUMS Public See coding 20131212 t_wd_ur_enums type sorted table of t_wd_ur_enum with unique key wd_value
Method Signatures

Method ENUM_TO_JSON_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENUM_LIBRARY Call by reference Type reference (TYPE) WDY_MD_UI_ELEMENT_LIBRARY Web Dynpro : Name einer UI-Element-Library 20130515
2 Importing ENUM_NAME Call by reference Type reference (TYPE) WDY_MD_ENUMERATION_NAME Name einer Enumeration 20130515
3 Returning JSON_MAP Value transfer Type reference (TYPE) STRING 20130515

Method ENUM_TO_JSON_MAP on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_PROPOSED_DATA_GRID_HEIGHT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HEIGHT Value transfer Type reference (TYPE) STRING 20130221

Method GET_PROPOSED_DATA_GRID_HEIGHT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_PROPOSED_DATA_GRID_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning WIDTH Value transfer Type reference (TYPE) STRING 20130221

Method GET_PROPOSED_DATA_GRID_WIDTH on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_SEGMENT_COL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Call by reference Type reference (TYPE) I 20120904
2 Returning SEGMENT_COL Value transfer Type reference (TYPE) T_SEGMENT_LAYER 20120904

Method GET_SEGMENT_COL on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_SEGMENT_COL_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SEGMENT_COL_COUNT Value transfer Type reference (TYPE) I 20120907

Method GET_SEGMENT_COL_COUNT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_SEGMENT_ROW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Call by reference Type reference (TYPE) I 20120904
2 Returning SEGMENT_ROW Value transfer Type reference (TYPE) T_SEGMENT_LAYER 20120904

Method GET_SEGMENT_ROW on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_SEGMENT_ROW_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SEGMENT_ROW_COUNT Value transfer Type reference (TYPE) I 20120907

Method GET_SEGMENT_ROW_COUNT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_UNIT_AND_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting AMOUNT Call by reference Type reference (TYPE) F 20130308
2 Importing SIZE Value transfer Type reference (TYPE) CSEQUENCE 20130308
3 Exporting UNIT Call by reference Type reference (TYPE) STRING 20130308

Method GET_UNIT_AND_AMOUNT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method GET_WD_UR_ENUM_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENUM_LIBRARY Call by reference Type reference (TYPE) WDY_MD_UI_ELEMENT_LIBRARY Web Dynpro : Name einer UI-Element-Library 20131212
2 Importing ENUM_NAME Value transfer Type reference (TYPE) WDY_MD_ENUMERATION_NAME Name einer Enumeration 20131212
3 Returning MAP Value transfer Type reference (TYPE) T_WD_UR_ENUMS 20131212

Method GET_WD_UR_ENUM_MAP on class CL_WDR_DATA_GRID_HELPER has no exception.

Method INIT Signature

Method INIT on class CL_WDR_DATA_GRID_HELPER has no parameter.
Method INIT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method PROCESS_SEGMENT_LAYER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ADAPTER Call by reference Object reference (TYPE REF TO) IF_NW7_VIEW_ELEMENT_ADAPTER Local UR Test 20130920
2 Importing DATA_SOURCE_BINDING Call by reference Object reference (TYPE REF TO) WDR_PROPERTY_BINDING Bindung eines View-Elementes an einen Kontextknoten 20120904
3 Importing ELEMENT Call by reference Object reference (TYPE REF TO) CL_WD_VIEW_ELEMENT 20120904
4 Importing INDEX Call by reference Type reference (TYPE) I 20120904
5 Importing SEGMENT_SIZE_MODE Call by reference Type reference (TYPE) WDUI_DG_SEGMENT_SIZE_MODE Web Dynpro: DegmentSizeMode 20121205
6 Importing SIZE_BINDING Call by reference Object reference (TYPE REF TO) WDR_PROPERTY_BINDING column/row size binding 20130522
7 Importing UNIT Call by reference Type reference (TYPE) WDUI_CSS_UNIT column/row size unit 20130522

Method PROCESS_SEGMENT_LAYER on class CL_WDR_DATA_GRID_HELPER has no exception.

Method SET_SEGMENT_COL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Call by reference Type reference (TYPE) I 20120904
2 Importing SEGMENT_COL Call by reference Object reference (TYPE REF TO) CL_WD_DATA_GRID_SEGMENT_COL 20120904
3 Importing SEGMENT_COL_ADAPTER Call by reference Object reference (TYPE REF TO) IF_NW7_VIEW_ELEMENT_ADAPTER Local UR Test 20130920
4 Importing SEGMENT_SIZE_MODE Call by reference Type reference (TYPE) WDUI_DG_SEGMENT_SIZE_MODE Web Dynpro: DegmentSizeMode 20121205

Method SET_SEGMENT_COL on class CL_WDR_DATA_GRID_HELPER has no exception.

Method SET_SEGMENT_ROW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX Call by reference Type reference (TYPE) I 20120904
2 Importing SEGMENT_ROW Call by reference Object reference (TYPE REF TO) CL_WD_DATA_GRID_SEGMENT_ROW 20120904
3 Importing SEGMENT_ROW_ADAPTER Call by reference Object reference (TYPE REF TO) IF_NW7_VIEW_ELEMENT_ADAPTER Local UR Test 20130920
4 Importing SEGMENT_SIZE_MODE Call by reference Type reference (TYPE) WDUI_DG_SEGMENT_SIZE_MODE Web Dynpro: DegmentSizeMode 20121205

Method SET_SEGMENT_ROW on class CL_WDR_DATA_GRID_HELPER has no exception.

Method UPDATE_DATA_GRID_HEIGHT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SEGMENT_HEIGHT Call by reference Type reference (TYPE) STRING 20130308

Method UPDATE_DATA_GRID_HEIGHT on class CL_WDR_DATA_GRID_HELPER has no exception.

Method UPDATE_DATA_GRID_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SEGMENT_WIDTH Call by reference Type reference (TYPE) STRING 20130308

Method UPDATE_DATA_GRID_WIDTH on class CL_WDR_DATA_GRID_HELPER has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 740