Download presentation
Presentation is loading. Please wait.
Published bySusan Blair Modified over 9 years ago
1
Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items
2
9-2 Copyright Ó Oracle Corporation, 1999. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Identify item types that do not allow input Create a display item Create an image item Create a sound item Create a button Create a calculated item Create a hierarchical tree item After completing this lesson, you should be able to do the following: Identify item types that do not allow input Create a display item Create an image item Create a sound item Create a button Create a calculated item Create a hierarchical tree item
3
9-3 Copyright Ó Oracle Corporation, 1999. All rights reserved. Noninput Items Item types that do not accept direct user input include: Display items Image items Sound items Buttons Calculated items Hierarchical tree items Item types that do not accept direct user input include: Display items Image items Sound items Buttons Calculated items Hierarchical tree items
4
9-4 Copyright Ó Oracle Corporation, 1999. All rights reserved. Display Items Display items are similar to text items. Display items cannot: –Be edited –Be queried –Be navigated to –Accept user input Display items can: –Display data –Conserve resources Display items are similar to text items. Display items cannot: –Be edited –Be queried –Be navigated to –Accept user input Display items can: –Display data –Conserve resources
5
9-5 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating a Display Item
6
9-6 Copyright Ó Oracle Corporation, 1999. All rights reserved. Image Items Interface control Use to display bitmapped images: — –From file system—supported file type — –From database—LONG RAW column Interface control Use to display bitmapped images: — –From file system—supported file type — –From database—LONG RAW column
7
9-7 Copyright Ó Oracle Corporation, 1999. All rights reserved. Image File Formats PICT TPIC CALS TIFF GIF JFIF BMP RAS Image item Image files ReadWrite CALS GIF BMP RAS JPG TIFF JFIF JPEG PICT TPIC
8
9-8 Copyright Ó Oracle Corporation, 1999. All rights reserved. Image-Specific Item Properties Image Format Image Depth Compression Quality Display Quality Show Palette Sizing Style Show Horizontal Scrollbar Show Vertical Scrollbar Image Format Image Depth Compression Quality Display Quality Show Palette Sizing Style Show Horizontal Scrollbar Show Vertical Scrollbar
9
9-9 Copyright Ó Oracle Corporation, 1999. All rights reserved. Image Manipulation Palette Zoom Pan Rotate Select
10
9-10 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating an Image Item
11
9-11 Copyright Ó Oracle Corporation, 1999. All rights reserved. Sound Items Interface control Use to play and record sound: — –From file system—supported sound types — –From database—LONG RAW column Interface control Use to play and record sound: — –From file system—supported sound types — –From database—LONG RAW column
12
9-12 Copyright Ó Oracle Corporation, 1999. All rights reserved. Sound Item Control PlayPlay RecordRecord RewindRewind FastFast ForwardForward VolumeVolume Time Indicator SliderSlider
13
9-13 Copyright Ó Oracle Corporation, 1999. All rights reserved. Sound Types AU AIFF AIFF-C WAV
14
9-14 Copyright Ó Oracle Corporation, 1999. All rights reserved. Sound-Specific Item Properties Sound Format Audio Channels Compress Sound Quality Show Play/Record/Rewind/Fast Forward/Volume Control/Time Indicator/Slider Button Sound Format Audio Channels Compress Sound Quality Show Play/Record/Rewind/Fast Forward/Volume Control/Time Indicator/Slider Button
15
9-15 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating a Sound Item
16
9-16 Copyright Ó Oracle Corporation, 1999. All rights reserved. Buttons Interface control Cannot display/represent data Use to initiate an action Display as: –Text button –Iconic Interface control Cannot display/represent data Use to initiate an action Display as: –Text button –Iconic
17
9-17 Copyright Ó Oracle Corporation, 1999. All rights reserved. Buttons Use buttons to: –Move input focus –Display an LOV –Invoke an editor –Invoke another window –Commit data –Issue a query –Perform calculations Use buttons to: –Move input focus –Display an LOV –Invoke an editor –Invoke another window –Commit data –Issue a query –Perform calculations
18
9-18 Copyright Ó Oracle Corporation, 1999. All rights reserved. Button-Specific Item Properties Label Mouse Navigate Default Button Iconic Icon Filename Tooltip Tooltip Visual Attribute Group Label Mouse Navigate Default Button Iconic Icon Filename Tooltip Tooltip Visual Attribute Group
19
9-19 Copyright Ó Oracle Corporation, 1999. All rights reserved. Tool Tip
20
9-20 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating a Button
21
9-21 Copyright Ó Oracle Corporation, 1999. All rights reserved. Calculated Items They accept item values that are based on calculations. They are read-only. They can be expressed as: –Formula –Summary They accept item values that are based on calculations. They are read-only. They can be expressed as: –Formula –Summary
22
9-22 Copyright Ó Oracle Corporation, 1999. All rights reserved. Calculation Modes Formula –A calculated item value is the result of a horizontal calculation. –It involves bind variables. Summary –A calculated item value is a vertical calculation. –A summary is performed on values of a single item over all rows in a block. Formula –A calculated item value is the result of a horizontal calculation. –It involves bind variables. Summary –A calculated item value is a vertical calculation. –A summary is performed on values of a single item over all rows in a block.
23
9-23 Copyright Ó Oracle Corporation, 1999. All rights reserved. Item Properties Specific to the Calculated Item Formula Calculation Mode Formula Calculation Mode Formula Summary Calculation Mode Summary Function Summarized Block Summarized Item
24
9-24 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary Functions AVG COUNT MAX MIN STDDEV SUM VARIANCE AVG COUNT MAX MIN STDDEV SUM VARIANCE
25
9-25 Copyright Ó Oracle Corporation, 1999. All rights reserved. Item Based on a Formula ORDERS Order Item idProduct idPriceQtyShipped Item Total 1 2 4 3 200 120 50 25 5 4 9 3 1,000 480 450 75 NVL((:s_item.price * :s_item.quantity_shipped),0) Item Formula item
26
9-26 Copyright Ó Oracle Corporation, 1999. All rights reserved. Rules for Formula Items A formula item must not invoke restricted built-ins. A formula item cannot execute any DML statements. Do not terminate a PL/SQL expression with a semicolon. Do not enter a complete PL/SQL statement in assignment expressions. A formula item must not invoke restricted built-ins. A formula item cannot execute any DML statements. Do not terminate a PL/SQL expression with a semicolon. Do not enter a complete PL/SQL statement in assignment expressions.
27
9-27 Copyright Ó Oracle Corporation, 1999. All rights reserved. Item Based on a Summary ORDERS Order Item idProduct idPriceQtyShipped Item Total 1 2 4 3 200 120 50 25 5 4 9 3 1,000 480 450 75 Item 2,005 Order Total Summarized item Summary item
28
9-28 Copyright Ó Oracle Corporation, 1999. All rights reserved. Rules for Summary Items Summary item must reside in: –The same block as the summarized item –A control block with Single Record property set to Yes Summarized item must reside in: –A data block with Query All Records property or Precompute Summaries property set to Yes –A control block Datatype of summary item must be Number, unless using MAX or MIN Summary item must reside in: –The same block as the summarized item –A control block with Single Record property set to Yes Summarized item must reside in: –A data block with Query All Records property or Precompute Summaries property set to Yes –A control block Datatype of summary item must be Number, unless using MAX or MIN
29
9-29 Copyright Ó Oracle Corporation, 1999. All rights reserved. Creating a Hierarchical Tree
30
9-30 Copyright Ó Oracle Corporation, 1999. All rights reserved. Hierarchical Tree Properties Allow empty branches Multi selection Show lines Show symbols Record group Data query Allow empty branches Multi selection Show lines Show symbols Record group Data query
31
9-31 Copyright Ó Oracle Corporation, 1999. All rights reserved. Summary Display items Image items Sound items Buttons Calculated items Hierarchical tree items Display items Image items Sound items Buttons Calculated items Hierarchical tree items
32
9-32 Copyright Ó Oracle Corporation, 1999. All rights reserved. Practice 9 Overview This practice covers the following topics: Creating display items Creating an image item Creating iconic buttons Creating calculated items: –Formula –Summary This practice covers the following topics: Creating display items Creating an image item Creating iconic buttons Creating calculated items: –Formula –Summary
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.