Version 1.6.9 comes with the following
changes:
- New Java
Bean (LAF_Map) to handle HTML maps.

It allows the developer to render a HTML Map. You can tune
the properties like Tooltip colors, border type and filling colors
of Map zones. The Implementation Class of this Java Bean is :
oracle.forms.fd.LAF_Map.
When a Map zone is clicked, an event is raised through the
When-Custom-Item-Event trigger associated to the Java Bean :
MAP_ZONE_CLICKED.
DECLARE eventName
varchar2(30) := :system.custom_item_event;
eventValues ParamList; eventValueType
number; LC$Area
varchar2(500); LC$Url
varchar2(500); BEGIN
---------------------- -- HTML Map events
-- ---------------------- IF
(eventName='MAP_ZONE_CLICKED')
THEN eventValues :=
get_parameter_list
(:system.custom_item_event_parameters);
get_parameter_attr(eventValues,'MAP_NAME',eventValueType,
LC$Area);
get_parameter_attr(eventValues,'MAP_URL',eventValueType,
LC$Url); :bl.result := LC$Area ||
' (' || LC$Url || ')'; END IF; END;
The Map zone tooltip is read from the MAP_NAME parameter,
and the associated url is read from the MAP_URL parameter.
The MAP_BEAN Forms
Bean Area has been added to the laf.olb Object Library, so
think to get it from the zip file.
Test the
new /fmb/test_laf_html_map.fmb sample dialog.
See the LAF_Map Java Bean properties
documentation .
- DrawLAF Java Bean new
methods
NEW_ITEM_PROPERTY() method new
properties:
vscrollbar
(AS_NEEDED|ALWAYS|NEVER)
(textarea-textarea2) hscrollbar
(AS_NEEDED|ALWAYS|NEVER)
(textarea-textarea2) editable (true|false)
(textfield-textfield2-textarea-textarea2) caretpos
(x|start|end)
(textfield-textfield2-textarea-textarea2) selection
(x-y|all) (textfield-textfield2-textarea-textarea2)
External commands: New event raised by the SET_EXE_PROG() method:
EXTMSGEND when the external program has
finished.
-
CSS
New GUI properties in the CSS' GUI
section
You can set the properties (font, weight, size, foreground color,
background color) for Display Items and
Item Prompts
element:Display,Tahoma,I,12,r125g185b90
element:Prompt,Tahoma,BI,10,r0g125b255 weight can
be: P (plain) B (bold) I
(italic) PI (plain+italic) BI
(bold+italic)
If you don't want to alter intermediary value, put a minus
instead:
element:Display,Tahoma,-,12,-,r125g185b90 //
don't change original weight and foreground color of Display
Items image and element tags do not need any
succeeding number in their
declaration. You have to
remove those number anywhere in the CSS
file
For example:
element1:Display,Tahoma,I,12,r125g185b90
element2:Prompt,Tahoma,BI,10,r0g125b255
... image1:/oracle.gif,10,1,.8 image2:/oracleband.gif,10,34,.6,560,16
must, now be as following:
element:Display,Tahoma,I,12,r125g185b90
element:Prompt,Tahoma,BI,10,r0g125b255
... image:/oracle.gif,10,1,.8 image:/oracleband.gif,10,34,.6,560,16
These changes have been done in the laf.pll, so think
to get the new one from the zip fille.
See the old
version new
features.
|