Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle Forms 10g – Forms Look and Feel project - Agenda

Similar presentations


Presentation on theme: "Oracle Forms 10g – Forms Look and Feel project - Agenda"— Presentation transcript:

1

2 Oracle Forms 10g – Forms Look and Feel project - Agenda
Wednesday, December 3rd, 2008 Teleconference Access: International Dial In : +44 (0) US / Canada Dial-in:     ( 877 ) Int'l / Local Dial-In:     ( 706 ) 9:00 am GMT Conf ID  17:00 pm GMT Conf ID  Advisor Webcast Feedback: Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx Password: Advisor Presentation – approximately 60 minutes There will be no Q&A Session at the end Instead, please send an to

3 ATTENTION – AUDIO INFORMATION
If you encounter any audio issues, please call INTERCALL (Audio Conferencing). International Dial In: +44 (0) US / Canada Dial-in:     ( 877 ) Int'l / Local Dial-In:     ( 706 ) Conf ID  (9:00 am GMT) Conf ID  (17:00 pm GMT) We would like to encourage attendees with sufficient Internet bandwith to listen through VoiceStreaming to continue to use this audio source rather than the Teleconferencing option. Thank you.

4 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decision. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

5 Advisor Webcast: Oracle Developer Forms
Reminder: This presentation was created by the Engineer presenting it and is based on his/her own research.  This presentation has not been reviewed by the Development, Quality Assurance, or Product Management staff.

6 Oracle Forms 10g – Forms Look and Feel project
Wednesday, December 3rd, 2008 Teleconference Access: International Dial In : +44 (0) US / Canada Dial-in:     ( 877 ) Int'l / Local Dial-In:     ( 706 ) 9:00 am GMT Conf ID  17:00 pm GMT Conf ID  Advisor Webcast Feedback: Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx Password: Advisor Upcoming live Forms webcasts (Note ): (if possible each first Wednesday of a Month at 9:00 GMT and 17:00 GMT) December 3, 2008: Oracle Forms 10g – Forms Look and Feel project February 11, 2009: Troubleshooting the generic FRM-9210x errors

7 Oracle Forms 10g – Forms Look and Feel project
Francois Degrelle Consultant Netsource Network Solutions

8 Change your Oracle Forms applications’ Look and Feel
December 2008

9 How to implement in a new module? How to update existing modules ?
Introduction What is it ? How it works ? How to implement in a new module? How to update existing modules ? How to maintain the CSS file ? Where to download the project ? December 2008

10 Introduction Change easily the look of the Forms application.
Have a more « HTML » look. Externalize the graphical information. Add some missing functions. December 2008

11 Draw gradient backgrounds, images, shapes and strings on the canvas
Change easily the look of the Forms application Draw gradient backgrounds, images, shapes and strings on the canvas Change the look of the GUIs’ elements Change the look of the Forms’ containers Give table-blocks an  « HTML » style December 2008

12 Externalize the graphical information
Most of the graphical information is read from an external CSS file. The painting is made at runtime by reading the required tags, then applying the changes through the Java Bean. canvasEbay { type:canvas gradient-colors:r255g255b204,r255g255b255 gradient-vcycle:/2 gradient-hcycle:0 image1:/ebay.jpg,10,1,.8 image2:/ebay_line.jpg,30,74,.6,560,5 } tableHeaderEbay { type:header font-family: Arial; font-size:12 font-weight:bold frame-color:r250g83b12 inside-color:r255g204b0 font-color:r0g0b204 shade-color:r255g255b204 frame-width:2 frame-rounded-border: 10 transparency:.8 text-align:left text-align-offset:5 December 2008

13 Have a more « HTML » look on table-blocks
December 2008

14 Add a few new functions Handle menus at runtime (add, enable, disable, show, hide, remove options). Handle frames at runtime (add, move, modify, hide). Play pre-loaded sounds. Receive external asynchronous messages. Draw texts anywhere on the screen. Display input dialog boxes. JColorChooser. December 2008

15 What is it ? a PL/SQL library
That contains the functions and the procedures to read the tags from the CSS file and paint every object. a JAR file That contains the Java Bean and the PJCs. a CSS file That contains the tags’ sections. December 2008

16 The PL/SQL library (laf.pll)
It contains the functions and the procedures needed to open the CSS file, read the tags from it, then perfom the drawing job through the associated Java Bean’s methods. Open and read the CSS file. PKG_LOOK_AND_FEEL.Open_Css() Draw objects on the canvas. PKG_LOOK_AND_FEEL.Paint_Canvas() Decorate the given table-block. PKG_LOOK_AND_FEEL.Paint_Block() Set global properties for every GUIs widgets. PKG_LOOK_AND_FEEL.Set_GUI_Properties() December 2008

17 It contains a Java Bean to perform all the graphical operations,
The JAR file (laf.jar) It contains a Java Bean to perform all the graphical operations, and some PJCs to overload the common Forms widgets. - The Java Bean allows to manage the following aspects: Drawing shapes on the current canvas (images, lines, rectangles and strings). Loading and playing sounds. Dynamically handling menus - add, remove, enable, disable, show and hide menu options at runtime. Dynamically handling frames – add, remove, modify, move, show and hide frames at runtime. Display single or multi-line input dialog box. Transform the Forms into a Socket Server, able to receive external asynchronous messages. Display texts anywhere on the canvas during a given time. Change fonts and colors for menu bar, window caption, status bar and tabs. Pick a color from a JColorChooser. Turn simple images into sensitive areas you can click on. December 2008

18 - The PJCs tend to give a more « Windows XP » look with the use of gradients.
They also extend the standard functions of the common Forms items: Buttons with mixed text and image, and mouse-on, mouse-over events. Text items that allow sending events to the Forms (last key typed with key char, key code and key modifier) via the Tom Cleymans dispatching feature. Blinking text items. Hyperlink sort of text items. Extended lists (multiple selection – sorted lists). December 2008

19 That contains tags to decorate a canvas type:title
The CSS file It contains the different tags, grouped in five different section’s types: type:canvas That contains tags to decorate a canvas type:title That contains tags to draw a table-block title area type:header That contains tags to draw a table-block header area type:body That contains tags to draw a table-block body area type:gui That contains tags to manage the common GUIs elements December 2008

20 Title section’s tags December 2008 Header section’s tags
Body section’s tags December 2008

21 How it works? The Forms side The Java side
Read the CSS file, then decorate the elements by calling the Java methods - Set_Custom_Property(). The Java side Use the Java methods to paint the Forms elements. setProperty() and getProperty() December 2008

22 The Forms side When-Timer-Expired trigger December 2008

23 The Java side When-Timer-Expired trigger Colorize widgets Draw shapes
Draw images Re-draw buttons Paint gradients December 2008

24 L&F Demo December 2008

25 How to implement the L&F in a new module?
a Forms Object Library (laf.olb) That contains all the required objects to implement the L&F features. a Forms template (LAF_TEMPLATE.fmb) To create a « fully equiped » new module from scratch. attach the laf.pll library, compile and run !  Forms template demonstration December 2008

26 How to implement the L&F in existing modules?
The JDAPI_LAF tool Written in Java to use the Oracle Forms JDAPI feature. It Uses a XML configuration file to upgrade existing modules in a massive way. It runs directly from the command line.  JDAPI_LAF demonstration December 2008

27 How to maintain the CSS file?
The css_updater.fmb Forms’ sample dialog Updates any tag in any section of any CSS file. Displays immediately any change done in any property.  css_updater.fmb demonstration December 2008

28 Some links Oracle Forms Look and Feel project home page
Forms Java Beans and PJCs’ library Francois Degrelle’s blog White papers on OTN Forms section Dynamic Color Customization Generic LOVs December 2008

29 Where to find additional information
Log in to Metalink Click on Knowledge tab Under Tools and Training on the left side of screen click on Training (Web Seminars) Click on Advisor Webcast Program Forms Advisor webcast scheduling: Metalink Note Please submit your comments: Please suggest webcast topics: Forms Advisor webcasts scheduling:

30 ? Questions There will be no Q&A Session at the end
Instead, please send an to During the Q&A session your question will be read and an answer will follow.

31 THANK YOU Upcoming live Forms webcasts (Note ): (if possible each first Wednesday of a Month at 9:00 GMT and 17:00 GMT) December 3, 2008: Oracle Forms 10g – Forms Look and Feel project with Francois Degrelle (see his white paper) February 11, 2009: Troubleshooting the generic FRM-9210x errors Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx Password: Advisor Forms Advisor Webcast Feedback:

32 THANK YOU


Download ppt "Oracle Forms 10g – Forms Look and Feel project - Agenda"

Similar presentations


Ads by Google