Version 1.3.8 comes with the following
changes:
- New Developer Guide in PDF format - Read the Look & Feel Developer
Guide.
- Current Record Attribute at Form-level and Block-level is,
now, taken into account, and you can also define it via the CSS
file with new tags added in sections of body type:
When a
Visual Attribute is defined on a forms-level or block-level, it
is, now, taken into account and painted on the L&F decorated
table-blocks.
In addition, you can also, now, define the Visual Attribute
properties in the CSS file, by adding new tags in a body type
section:
/* ODD/EVEN line painting
*/ va-odd:VA_LAF1 odd-background-color:r240g240b230 va-even:VA_LAF2 even-background-color:r250g250b232 /*
current record properties
*/ va-name:VA_LAF5 va-font-family:Tahoma va-font-size:9 va-font-style:plain va-font-weight:bold va-foreground:r20g20b20 va-background:r210g216b17
The va-name tag must indicate an existing Visual
Attribute name in the current form. If the module is inherited
from the Forms L&F Template, or updated by the LAF_JDAPI tool,
it will contain 5 new Visual Attributes: VA_LAF1 to
VA_LAF5. VA_LAF1 and VA_LAF2 would be dedicated to the odd and
even record painting, so that you have the last three to define
dynamic visual attributes.
Both ODD and EVEN colours are,
now, handled by the L&F. The Existing Visual Attribute
required to paint the lines is read from the CSS:
- va-odd indicates which existing Visual Attribute use
to paint the odd lines.
- va-even indicates which existing Visual Attribute use
to paint the even lines.
So that, the third argument
of the Paint_Block() procedure - PC$VA_Name - is now, obsolete,
and kept for backward compatibility.
The laf.olb object library has been updated to include the new
4 form-level triggers in a new Object Library Tab Group :
TRIGGERS:
- When-New-Record-Instance
- Post-Query
- Post-Record
- Key-ExeQry
The only change needed in the code is
to replace any execute_query occurrence to a call to the
Key-ExeQry trigger:
Do_Key('EXECUTE_QUERY');
The laf.pll PL/SQL library has also been updated to handle
the current record attribute defined in the CSS file.
- New method added to the DrawLAF Java
Bean:
SET_FOCUS_BORDER_COLOR( RGB colour
)
Use it if you want to change the buttons' border
colour when they have the focus (that is orange by default).
- Push Buttons' Iconic Image now taken into account
For
iconic Push Buttons that have the icon name specified at design
time, when you turn them to LAF_XP_Button Implementation Class,
the icon image is automatically set to the Button, As you could do
before via the SET_IMAGE method.
|