SAP ABAP Class CL_DEMO_CALCULATOR_UI (UI for Calculator)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABAP_DEMOS_CALCULATOR (Package) Calculator: Old and New
⤷
⤷
Properties
| Class | CL_DEMO_CALCULATOR_UI | |
| Short Description | UI for Calculator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABAP_DEMOS_CALCULATOR | Calculator: Old and New |
| Created | 20111104 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_DEMO_CALCULATOR_UI has no forward declaration.
Interfaces
Class CL_DEMO_CALCULATOR_UI has no interface implemented.
Friends
Class CL_DEMO_CALCULATOR_UI has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | T_DISPLAY | 20111104 | ||||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_DEMO_CALCULATOR_UI | 20111104 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20111104 | ||
| 2 | Instance method | Public | Method | 20111104 | ||
| 3 | Instance method | Public | Method | 20111104 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | CALCULATE | Instance Event (0) |
Public (2) |
Calculation operation | 20111104 |
| 2 | CHANGE_VALUE | Instance Event (0) |
Public (2) |
Change operation | 20111104 |
| 3 | CLEAR | Instance Event (0) |
Public (2) |
Clear operation | 20111104 |
| 4 | HANDLE_MEMORY | Instance Event (0) |
Public (2) |
Memory operation | 20111104 |
| 5 | NUMBER_INPUT | Instance Event (0) |
Public (2) |
Input operation | 20111104 |
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_DISPLAY | Public | See coding | Type of display contents | 20111104 | t_display TYPE c LENGTH 18
|
Method Signatures
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | UI | Value transfer | Object reference (TYPE REF TO) | CL_DEMO_CALCULATOR_UI | 20111104 |
Method GET_INSTANCE on class CL_DEMO_CALCULATOR_UI has no exception.
Method SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | T_DISPLAY | 20111104 |
Method SET on class CL_DEMO_CALCULATOR_UI has no exception.
Method SHOW Signature
Method SHOW on class CL_DEMO_CALCULATOR_UI has no parameter.
Method SHOW on class CL_DEMO_CALCULATOR_UI has no exception.
Event Signatures
Event CALCULATE Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DISPLAY | Exporting | Value transfer | Type reference (TYPE) | T_DISPLAY | 20111104 | |||
| 2 | FUNCTION | Exporting | Value transfer | Type reference (TYPE) | STRING | 20111104 |
Event CHANGE_VALUE Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DISPLAY | Exporting | Value transfer | Type reference (TYPE) | T_DISPLAY | 20111104 | |||
| 2 | FUNCTION | Exporting | Value transfer | Type reference (TYPE) | STRING | 20111104 |
Event CLEAR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FUNCTION | Exporting | Value transfer | Type reference (TYPE) | STRING | 20111104 |
Event HANDLE_MEMORY Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DISPLAY | Exporting | Value transfer | Type reference (TYPE) | T_DISPLAY | 20111104 | |||
| 2 | FUNCTION | Exporting | Value transfer | Type reference (TYPE) | STRING | 20111104 |
Event NUMBER_INPUT Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DISPLAY | Exporting | Value transfer | Type reference (TYPE) | T_DISPLAY | 20111104 | |||
| 2 | FUNCTION | Exporting | Value transfer | Type reference (TYPE) | STRING | 20111104 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |