Presentation is loading. Please wait.

Presentation is loading. Please wait.

1. 2 Oracle Forms 10g – Forms Look and Feel project - Agenda Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx.

Similar presentations


Presentation on theme: "1. 2 Oracle Forms 10g – Forms Look and Feel project - Agenda Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx."— Presentation transcript:

1 1

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

3 3 ATTENTION – AUDIO INFORMATION If you encounter any audio issues, please call INTERCALL (Audio Conferencing). International Dial In: +44 (0) 1452 555 566 US / Canada Dial-in: ( 877 ) 500 - 9108 Int'l / Local Dial-In: ( 706 ) 902 - 1863 Conf ID - 63410683 (9:00 am GMT) Conf ID - 63516479 (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 4 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 Oracles products remains at the sole discretion of Oracle. Safe Harbor Statement

5 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 6 Oracle Forms 10g – Forms Look and Feel project Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx Password: Advisor Upcoming live Forms webcasts (Note 423317.1): (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 Wednesday, December 3rd, 2008 Teleconference Access: International Dial In : +44 (0) 1452 555 566 US / Canada Dial-in: ( 877 ) 500 - 9108 Int'l / Local Dial-In: ( 706 ) 902 - 1863 9:00 am GMT Conf ID - 63410683 17:00 pm GMT Conf ID - 63516479 Advisor Webcast Feedback: Karin.Haeussler@oracle.com

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

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

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

10 10 Introduction 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 11 Change easily the look of the Forms application Change easily the look of the Forms application December 2008 Draw gradient backgrounds, images, shapes and strings on the canvas Change the look of the GUIs elements Give table-blocks an « HTML » style Change the look of the Forms containers

12 12 Externalize the graphical information 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 13 Have a more « HTML » look on table-blocks Have a more « HTML » look on table-blocks December 2008

14 14 Add a few new functions 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 15 What is it ? 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 16 The PL/SQL library (laf.pll) 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 Beans 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 17 The JAR file (laf.jar) 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 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 19 The CSS file The CSS file It contains the different tags, grouped in five different sections 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 20 Title sections tags December 2008 Header sections tags Body sections tags

21 21 How it works? How it works? The Forms 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 22 The Forms side The Forms side When-Timer-Expired trigger December 2008

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

24 24 L&F Demo December 2008

25 25 How to implement the L&F in a new module? 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 26 How to implement the L&F in existing modules? 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 27 How to maintain the CSS file? 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 28 Some links Some links Oracle Forms Look and Feel project home page http://sheikyerbouti.developpez.com/forms-pjc-bean/LAF/doc/Oracle_Forms_Look_and_Feel_project.htm Forms Java Beans and PJCs library http://forms.pjc.bean.over-blog.com/ Francois Degrelles blog http://fdegrelle.over-blog.com/ White papers on OTN Forms section Dynamic Color Customization Generic LOVs http://www.oracle.com/technology/products/forms/techlisting10g.html December 2008

29 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 423317.1 Please submit your comments: Karin.Haeussler@oracle.com Please suggest webcast topics: Karin.Haeussler@oracle.com Forms Advisor webcasts scheduling: Metalink Note 423317.1

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

31 31 THANK YOU Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx Password: Advisor Forms Advisor Webcast Feedback: Karin.Haeussler@oracle.com Upcoming live Forms webcasts (Note 423317.1): (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)white paper February 11, 2009: Troubleshooting the generic FRM-9210x errors

32 32 THANK YOU


Download ppt "1. 2 Oracle Forms 10g – Forms Look and Feel project - Agenda Day, Date, 2004 time p.m. ET Teleconference Access: North America: xxxx International: xxxx."

Similar presentations


Ads by Google