SAP ABAP Class CL_WD_VIEW_SWITCH (CL_WD_VIEW_SWITCH)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-ABA (Application Component) Web Dynpro ABAP
     SWDP_UIEL_PATTERN (Package) UIE Library "Pattern"
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WD_VIEW_ELEMENT Perforce Change= / 20040604-141028 20041216
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WD_CONTEXTUAL_PANEL_ITM Perforce change= / 20050422-085332 20041216
Properties
Class CL_WD_VIEW_SWITCH  
Short Description    
Super Class CL_WD_VIEW_ELEMENT Perforce Change= / 20040604-141028 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWDP_UIEL_PATTERN   UIE Library "Pattern" 
Created 20041216   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_WD_CONTEXTUAL_PANEL_ITM Perforce change= / 20050422-085332 20041216
Friends
# Friend Modeled only Created on Description
1 CL_NW7_VIEW_ELEMENT_ADAPTER 20140113 Web Dynpro Local Test XX7
2 CL_WDR_VIEW_ELEMENT 20140113 Web Dynpro View Element
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BP_ITEM_ENABLED Instance attribute Protected Object reference (TYPE REF TO) WDR_PROPERTY_BINDING 20041216
2 BP_ITEM_ICON Instance attribute Protected Object reference (TYPE REF TO) WDR_PROPERTY_BINDING 20060103
3 BP_ITEM_SOURCE Instance attribute Protected Object reference (TYPE REF TO) WDR_PROPERTY_BINDING 20041216
4 BP_ITEM_TEXT Instance attribute Protected Object reference (TYPE REF TO) WDR_PROPERTY_BINDING 20041216
5 BP_ITEM_VISIBLE Instance attribute Protected Object reference (TYPE REF TO) WDR_PROPERTY_BINDING 20041216
6 CID_VIEW_SWITCH Constant Public Type reference (TYPE) GUID '0459684220506B24E10000000A1550C0' 20050316
7 E_ITEM_ICON Constant Public See coding 20060103
8 MP_ON_SELECT Instance attribute Protected Attribute reference (LIKE) IF_WD_EVENT=>PARAMETERS 20041216
9 T_ITEM_ICON Constant Public Type reference (TYPE) WDY_UIE_LIBRARY_ENUM_TYPE '99' 20060103
10 VL_ITEM_ENABLED Instance attribute Protected Type reference (TYPE) WDY_BOOLEAN 20041216
11 VL_ITEM_ICON Instance attribute Protected Type reference (TYPE) WDUI_VIEW_SWITCH_ICON 20060103
12 VL_ITEM_SOURCE Instance attribute Protected Object reference (TYPE REF TO) OBJECT 20050316
13 VL_ITEM_TEXT Instance attribute Protected Type reference (TYPE) WDY_MD_TRANSLATABLE_TEXT 20041216
14 VL_ITEM_VISIBLE Instance attribute Protected Type reference (TYPE) WDY_BOOLEAN 20041216
15 VL_ON_SELECT Instance attribute Protected Type reference (TYPE) STRING 20041216
Methods
# Method Level Visibility Method type Description Created on
1 BIND_ITEM_ENABLED Instance method Public Method 20041216
2 BIND_ITEM_ICON Instance method Public Method 20060103
3 BIND_ITEM_SOURCE Instance method Public Method 20041216
4 BIND_ITEM_TEXT Instance method Public Method 20041216
5 BIND_ITEM_VISIBLE Instance method Public Method 20041216
6 BOUND_ITEM_ENABLED Instance method Public Method 20041216
7 BOUND_ITEM_ICON Instance method Public Method 20060103
8 BOUND_ITEM_SOURCE Instance method Public Method 20041216
9 BOUND_ITEM_TEXT Instance method Public Method 20041216
10 BOUND_ITEM_VISIBLE Instance method Public Method 20041216
11 CONSTRUCTOR Instance method Public Constructor 20041216
12 GET_ITEM_ENABLED Instance method Public Method 20041216
13 GET_ITEM_ICON Instance method Public Method 20060103
14 GET_ITEM_SOURCE Instance method Public Method 20041216
15 GET_ITEM_TEXT Instance method Public Method 20041216
16 GET_ITEM_VISIBLE Instance method Public Method 20041216
17 GET_ON_SELECT Instance method Public Method 20041216
18 MAPPED_ON_SELECT Instance method Public Method 20041216
19 MAP_ON_SELECT Instance method Public Method 20041216
20 NEW_VIEW_SWITCH Static method Public Method 20041216
21 SET_ITEM_ENABLED Instance method Public Method 20041216
22 SET_ITEM_ICON Instance method Public Method 20060103
23 SET_ITEM_SOURCE Instance method Public Method 20041216
24 SET_ITEM_TEXT Instance method Public Method 20041216
25 SET_ITEM_VISIBLE Instance method Public Method 20041216
26 SET_ON_SELECT Instance method Public Method 20041216
Events
Class CL_WD_VIEW_SWITCH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_VIEW_SWITCH Public See coding 20050316 tt_VIEW_SWITCH TYPE TABLE OF REF TO CL_WD_VIEW_SWITCH WITH DEFAULT KEY
Method Signatures

Method BIND_ITEM_ENABLED Signature

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

Method BIND_ITEM_ENABLED on class CL_WD_VIEW_SWITCH has no exception.

Method BIND_ITEM_ICON Signature

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

Method BIND_ITEM_ICON on class CL_WD_VIEW_SWITCH has no exception.

Method BIND_ITEM_SOURCE Signature

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

Method BIND_ITEM_SOURCE on class CL_WD_VIEW_SWITCH has no exception.

Method BIND_ITEM_TEXT Signature

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

Method BIND_ITEM_TEXT on class CL_WD_VIEW_SWITCH has no exception.

Method BIND_ITEM_VISIBLE Signature

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

Method BIND_ITEM_VISIBLE on class CL_WD_VIEW_SWITCH has no exception.

Method BOUND_ITEM_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning PATH Value transfer Type reference (TYPE) STRING 20041216

Method BOUND_ITEM_ENABLED on class CL_WD_VIEW_SWITCH has no exception.

Method BOUND_ITEM_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20060103
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20060103
3 Returning PATH Value transfer Type reference (TYPE) STRING 20060103

Method BOUND_ITEM_ICON on class CL_WD_VIEW_SWITCH has no exception.

Method BOUND_ITEM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning PATH Value transfer Type reference (TYPE) STRING 20041216

Method BOUND_ITEM_SOURCE on class CL_WD_VIEW_SWITCH has no exception.

Method BOUND_ITEM_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning PATH Value transfer Type reference (TYPE) STRING 20041216

Method BOUND_ITEM_TEXT on class CL_WD_VIEW_SWITCH has no exception.

Method BOUND_ITEM_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning PATH Value transfer Type reference (TYPE) STRING 20041216

Method BOUND_ITEM_VISIBLE on class CL_WD_VIEW_SWITCH has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) STRING 20041216
2 Importing VIEW Call by reference Object reference (TYPE REF TO) IF_WD_VIEW 20041216

Method CONSTRUCTOR on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ITEM_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning VALUE Value transfer Type reference (TYPE) WDY_BOOLEAN 20041216

Method GET_ITEM_ENABLED on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ITEM_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20060103
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20060103
3 Returning VALUE Value transfer Type reference (TYPE) WDUI_VIEW_SWITCH_ICON 20060103

Method GET_ITEM_ICON on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ITEM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning VALUE Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE 20041216

Method GET_ITEM_SOURCE on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ITEM_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AS_EXTERNAL Value transfer Type reference (TYPE) ABAP_BOOL 20041216
2 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
3 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
4 Returning VALUE Value transfer Type reference (TYPE) STRING 20041216

Method GET_ITEM_TEXT on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ITEM_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT 20041216
2 Importing CONTEXT_NODE_PATH_NAME Value transfer Type reference (TYPE) STRING 20041216
3 Returning VALUE Value transfer Type reference (TYPE) WDY_BOOLEAN 20041216

Method GET_ITEM_VISIBLE on class CL_WD_VIEW_SWITCH has no exception.

Method GET_ON_SELECT Signature

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

Method GET_ON_SELECT on class CL_WD_VIEW_SWITCH has no exception.

Method MAPPED_ON_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PARAMETERS Call by reference Attribute reference (LIKE) IF_WD_EVENT=>PARAMETERS 20041216

Method MAPPED_ON_SELECT on class CL_WD_VIEW_SWITCH has no exception.

Method MAP_ON_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PARAMETERS Call by reference Attribute reference (LIKE) IF_WD_EVENT=>PARAMETERS 20041216

Method MAP_ON_SELECT on class CL_WD_VIEW_SWITCH has no exception.

Method NEW_VIEW_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BIND_ITEM_ENABLED Call by reference Type reference (TYPE) STRING 20041216
2 Importing BIND_ITEM_ICON Call by reference Type reference (TYPE) STRING 20060103
3 Importing BIND_ITEM_SOURCE Call by reference Type reference (TYPE) STRING 20041216
4 Importing BIND_ITEM_TEXT Call by reference Type reference (TYPE) STRING 20041216
5 Importing BIND_ITEM_VISIBLE Call by reference Type reference (TYPE) STRING 20041216
6 Returning CONTROL Value transfer Object reference (TYPE REF TO) CL_WD_VIEW_SWITCH 20041216
7 Importing ID Call by reference Type reference (TYPE) STRING 20041216
8 Importing ITEM_ENABLED Call by reference Type reference (TYPE) WDY_BOOLEAN 'X' 20041216
9 Importing ITEM_ICON Call by reference Type reference (TYPE) WDUI_VIEW_SWITCH_ICON E_ITEM_ICON-NONE 20060103
10 Importing ITEM_TEXT Call by reference Type reference (TYPE) WDY_MD_TRANSLATABLE_TEXT 20041216
11 Importing ITEM_VISIBLE Call by reference Type reference (TYPE) WDY_BOOLEAN 'X' 20041216
12 Importing ON_SELECT Call by reference Type reference (TYPE) STRING 20041216
13 Importing VIEW Call by reference Object reference (TYPE REF TO) IF_WD_VIEW 20041216

Method NEW_VIEW_SWITCH on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ITEM_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) WDY_BOOLEAN 20041216

Method SET_ITEM_ENABLED on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ITEM_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) WDUI_VIEW_SWITCH_ICON 20060103

Method SET_ITEM_ICON on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ITEM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Object reference (TYPE REF TO) OBJECT 20041216

Method SET_ITEM_SOURCE on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ITEM_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) WDY_MD_TRANSLATABLE_TEXT 20041216

Method SET_ITEM_TEXT on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ITEM_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) WDY_BOOLEAN 20041216

Method SET_ITEM_VISIBLE on class CL_WD_VIEW_SWITCH has no exception.

Method SET_ON_SELECT Signature

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

Method SET_ON_SELECT on class CL_WD_VIEW_SWITCH has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 710