SAP ABAP Class CL_GUI_INPUT_FIELD (Input field with history and button)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-FES-GUI (Application Component) Graphical User Interface
⤷
SCET (Package) Control Enabling Technology / Control Framework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_GUI_CONTROL | Proxy Class for Control in GUI | 20130410 |
Properties
| Class | CL_GUI_INPUT_FIELD | |
| Short Description | Input field with history and button | |
| Super Class | CL_GUI_CONTROL | Proxy Class for Control in GUI |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCET | Control Enabling Technology / Control Framework |
| Created | 20130410 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GUI_INPUT_FIELD has no forward declaration.
Interfaces
Class CL_GUI_INPUT_FIELD has no interface implemented.
Friends
Class CL_GUI_INPUT_FIELD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | -600 | Submit event id | 20130424 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | STRING | Text Property | 20130527 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Display find button and fire SUBMIT event by click and enter | 20130410 | |
| 2 | Instance method | Private | Method | Activate history mode | 20130410 | |
| 3 | Instance method | Public | Constructor | Constructor for Input field | 20130410 | |
| 4 | Instance method | Public | Method | Get the field text. | 20130410 | |
| 5 | Instance method | Private | Method | Sets Icon info to find button | 20130423 | |
| 6 | Instance method | Private | Method | Sets tootip info to find button | 20130423 | |
| 7 | Instance method | Private | Method | Sets an input prompt into the field | 20130410 | |
| 8 | Instance method | Private | Method | Sets a label for the field | 20130410 | |
| 9 | Instance method | Private | Method | Sets the width of Label/combobox (Unit - No. of chars) | 20130410 | |
| 10 | Instance method | Public | Method | Set the field text. | 20130410 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | SUBMIT | Instance Event (0) |
Public (2) |
Input submitted by click or enter | 20130424 |
Types
Class CL_GUI_INPUT_FIELD has no local type.
Method Signatures
Method ACTIVATE_FIND_BUTTON Signature
Method ACTIVATE_FIND_BUTTON on class CL_GUI_INPUT_FIELD has no parameter.
Method ACTIVATE_FIND_BUTTON on class CL_GUI_INPUT_FIELD has no exception.
Method ACTIVATE_HISTORY Signature
Method ACTIVATE_HISTORY on class CL_GUI_INPUT_FIELD has no parameter.
Method ACTIVATE_HISTORY on class CL_GUI_INPUT_FIELD has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVATE_FIND_BUTTON | Value transfer | Type reference (TYPE) | BOOLEAN | If value is X, find button will be displayed else not | 20130422 | |||
| 2 | ACTIVATE_HISTORY | Value transfer | Type reference (TYPE) | BOOLEAN | IF value is X, hitory will be enabled else no history | 20130422 | |||
| 3 | BUTTON_ICON_INFO | Value transfer | Type reference (TYPE) | CSEQUENCE | '@13@' | To set Icon to FIND button | 20130423 | ||
| 4 | BUTTON_TOOLTIP_INFO | Value transfer | Type reference (TYPE) | CSEQUENCE | 'Search' | To set tootip to FIND button | 20130423 | ||
| 5 | INPUT_PROMPT_TEXT | Value transfer | Type reference (TYPE) | CSEQUENCE | To set the input prompt | 20130422 | |||
| 6 | LABEL_TEXT | Value transfer | Type reference (TYPE) | CSEQUENCE | to set the label text | 20130422 | |||
| 7 | LABEL_WIDTH | Value transfer | Type reference (TYPE) | I | -1 | 20130422 | |||
| 8 | LIFETIME | Call by reference | Type reference (TYPE) | I | 0 | Lifetime | 20130410 | ||
| 9 | PARENT | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Name of the container | 20130410 | |||
| 10 | SHELLSTYLE | Call by reference | Type reference (TYPE) | I | 0 | Shell Style | 20130410 |
Method CONSTRUCTOR on class CL_GUI_INPUT_FIELD has no exception.
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Value transfer | Type reference (TYPE) | STRING | 20130410 |
Method GET_TEXT on class CL_GUI_INPUT_FIELD has no exception.
Method SET_FIND_BUTTON_ICON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Tooltip info will be passed to frontend | 20130423 |
Method SET_FIND_BUTTON_ICON on class CL_GUI_INPUT_FIELD has no exception.
Method SET_FIND_BUTTON_TOOLTIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Tooltip info will be passed to frontend | 20130423 |
Method SET_FIND_BUTTON_TOOLTIP on class CL_GUI_INPUT_FIELD has no exception.
Method SET_INPUT_PROMPT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130410 |
Method SET_INPUT_PROMPT on class CL_GUI_INPUT_FIELD has no exception.
Method SET_LABEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130410 |
Method SET_LABEL on class CL_GUI_INPUT_FIELD has no exception.
Method SET_LABEL_WIDTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | WIDTH | Call by reference | Type reference (TYPE) | I | 20130410 |
Method SET_LABEL_WIDTH on class CL_GUI_INPUT_FIELD has no exception.
Method SET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130410 |
Method SET_TEXT on class CL_GUI_INPUT_FIELD has no exception.
Event Signatures
Event SUBMIT Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT | Exporting | Value transfer | Type reference (TYPE) | CSEQUENCE | Content of input field | 20130424 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |