LAF_XP_TList.java - public properties

 

These properties can be set or read from any list item whose Implementation Class property is set to:

oracle.forms.fd.LAF_XP_TList

 

 

 

 

 

 

CLEAR_LIST_SELECTION

GET_LIST_ORIENTATION

GET_LIST_SELECTION

GET_MULTI_SELECTION

GET_SORTED_LIST

SET_ENHANCED

SET_ENHANCED_ALL

SET_LIST_ORIENTATION

SET_MULTI_SELECTION

SET_SORTED_LIST

SET_DEBUG

 

 

 

 

  1. CLEAR_LIST_SELECTION

Clear the selected values.

property value: none

Set_Custom_Property( '…', 1, 'CLEAR_LIST_SELECTION', '' ) ;


 

  1. GET_LIST_ORIENTATION


Returns the list orientation (only with enhanced Tlist)


varchar
:= Get_Custom_Property( '…', 1, 'GET_LIST_ORIENTATION' ) ;

The possible return values can be:

 

·         VERTICAL

 

 

 

·         VERTICAL_WRAP

 

 

 

·         HORIZONTAL_WRAP

 

 

 

  1. GET_LIST_SELECTION

Returns the comma delimited list of selected indexes

 
varchar2 := G
et_Custom_Property( '…', 1, 'GET_LIST_SELECTION' ) ;

 

If the user has selected the 1st, 3rd and 5th value the method will return : 1,3,5

 

 

 

  1. GET_MULTI_SELECTION

Returns a varchar2 that indicates if the multi-selection is allowed for the list item

Returned value van be TRUE or FALSE

 

varchar2 := Get_Custom_Property( '…', 1, 'GET_MULTI_SELECTION' ) ;

 

 

 

  1. GET_SORTED_LIST

Returns a varchar2 that indicates if the enhanced list is sorted

Returned value van be TRUE or FALSE

 

varchar2 := Get_Custom_Property( '…', 1, 'GET_SORTED_LIST' ) ;

 

 

 

 

  1. SET_ENHANCED

Set/unset the enhanced (Swing) Tlist

property value : true | false.


Set the value to false to get the native Forms Tlist widget.

Set it to true to overload the native Forms Tlist with a Swing list widget.

Set_Custom_Property( '…', 1, 'SET_ENHANCED', 'true' ) ;

 

 

 

  1. SET_ENHANCED_ALL

Idem as SET_ENHANCED but for every Tlist of the current module.

 

 

  1. SET_LIST_ORIENTATION


Set the enhanced Tlist orientation.

Allowed values:

·         VERTICAL

 

 

 

·         VERTICAL_WRAP

 

 

 

·         HORIZONTAL_WRAP

 

 

 

Without indication, the Tlist is created with a default value of : VERTICAL

 


Set_Custom_Property( '…', 1, 'SET_LIST_ORIENTATION', 'VERTICAL_WRAP' ) ;

 

 

  1. SET_MULTI_SELECTION

Set the multi-selection flag.

Allowed values:

·         True : you can select more than one value in the list

·         False : you cannot select more then one value

 

 

Without indication, the Tlist is created with a default value of : false

 


Set_Custom_Property( '…', 1, 'SET_MULTI_SELECTION', 'true' ) ;

If the value is set to true, you can get the list of selected indexes with the GET_LIST_SELECTION method.

 

 

 

 

  1. SET_SORTED_LIST

Set the sort flag (on enhanced Tlist only).

Allowed values:

·         True : the Tlist is sorted

·         False : the Tlist is not sorted

 

 

Without indication, the Tlist is created with a default value of : false

 


Set_Custom_Property( '…', 1, 'SET_SORTED_LIST', 'true' ) ;

 

 

 

  1. SET_DEBUG

Turn ON/OFF the debug messages.

By default  the all logs are OFF.

Allowed values are : ‘true’ or ‘false’.

Set_Custom_Property( '…', 1, 'SET_DEBUG', 'true' ) ;