Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.
-
Upload
susan-blair -
Category
Documents
-
view
215 -
download
0
Transcript of Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.
![Page 1: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/1.jpg)
Copyright Oracle Corporation, 1999. All rights reserved.
9999
Creating Noninput ItemsCreating Noninput Items
![Page 2: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/2.jpg)
9-9-22 Copyright Oracle Corporation, 1999. All rights reserved.
ObjectivesObjectives
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
![Page 3: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/3.jpg)
9-9-33 Copyright Oracle Corporation, 1999. All rights reserved.
Noninput ItemsNoninput Items
Item types that do not accept direct user inputinclude:
• Display items
• Image items
• Sound items
• Buttons
• Calculated items
• Hierarchical tree items
Item types that do not accept direct user inputinclude:
• Display items
• Image items
• Sound items
• Buttons
• Calculated items
• Hierarchical tree items
![Page 4: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/4.jpg)
9-9-44 Copyright Oracle Corporation, 1999. All rights reserved.
Display ItemsDisplay 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
![Page 5: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/5.jpg)
9-9-55 Copyright Oracle Corporation, 1999. All rights reserved.
Creating a Display ItemCreating a Display Item
![Page 6: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/6.jpg)
9-9-66 Copyright Oracle Corporation, 1999. All rights reserved.
Image ItemsImage 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
![Page 7: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/7.jpg)
9-9-77 Copyright Oracle Corporation, 1999. All rights reserved.
Image File FormatsImage File Formats
PICT
TPIC
CALS
TIFF
GIF
JFIF
BMP
RAS
Image itemImage item
Image filesImage files Image filesImage files
Read Write
CALS
GIF
BMP
RAS
JPG
TIFF
JFIF
JPEG
PICT
TPIC
![Page 8: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/8.jpg)
9-9-88 Copyright Oracle Corporation, 1999. All rights reserved.
Image-Specific Item PropertiesImage-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
![Page 9: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/9.jpg)
9-9-99 Copyright Oracle Corporation, 1999. All rights reserved.
Image Manipulation PaletteImage Manipulation Palette
ZoomZoom
PanPan
RotateRotate
SelectSelect
![Page 10: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/10.jpg)
9-9-1010 Copyright Oracle Corporation, 1999. All rights reserved.
Creating an Image ItemCreating an Image Item
![Page 11: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/11.jpg)
9-9-1111 Copyright Oracle Corporation, 1999. All rights reserved.
Sound ItemsSound 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
![Page 12: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/12.jpg)
9-9-1212 Copyright Oracle Corporation, 1999. All rights reserved.
Sound Item Control Sound Item Control
PlayPlayPlayPlay
RecordRecordRecordRecord
RewindRewindRewindRewind
FastFastFastFastForwardForwardForwardForward
VolumeVolumeVolumeVolume
Time IndicatorTime IndicatorTime IndicatorTime Indicator
SliderSliderSliderSlider
![Page 13: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/13.jpg)
9-9-1313 Copyright Oracle Corporation, 1999. All rights reserved.
Sound TypesSound Types
AUAU
AIFFAIFF
AIFF-CAIFF-C
WAVWAV
![Page 14: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/14.jpg)
9-9-1414 Copyright Oracle Corporation, 1999. All rights reserved.
Sound-Specific Item PropertiesSound-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
![Page 15: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/15.jpg)
9-9-1515 Copyright Oracle Corporation, 1999. All rights reserved.
Creating a Sound ItemCreating a Sound Item
![Page 16: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/16.jpg)
9-9-1616 Copyright Oracle Corporation, 1999. All rights reserved.
ButtonsButtons
• 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
![Page 17: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/17.jpg)
9-9-1717 Copyright Oracle Corporation, 1999. All rights reserved.
ButtonsButtons
• 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
![Page 18: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/18.jpg)
9-9-1818 Copyright Oracle Corporation, 1999. All rights reserved.
Button-Specific Item PropertiesButton-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
![Page 19: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/19.jpg)
9-9-1919 Copyright Oracle Corporation, 1999. All rights reserved.
Tool TipTool Tip
![Page 20: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/20.jpg)
9-9-2020 Copyright Oracle Corporation, 1999. All rights reserved.
Creating a ButtonCreating a Button
![Page 21: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/21.jpg)
9-9-2121 Copyright Oracle Corporation, 1999. All rights reserved.
Calculated ItemsCalculated 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
![Page 22: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/22.jpg)
9-9-2222 Copyright Oracle Corporation, 1999. All rights reserved.
Calculation ModesCalculation 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.
![Page 23: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/23.jpg)
9-9-2323 Copyright Oracle Corporation, 1999. All rights reserved.
Item Properties Specific to the Calculated Item
Item Properties Specific to the Calculated Item
Formula
• Calculation Mode
• Formula
Formula
• Calculation Mode
• Formula
Summary
• Calculation Mode
• Summary Function
• Summarized Block
• Summarized Item
Summary
• Calculation Mode
• Summary Function
• Summarized Block
• Summarized Item
![Page 24: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/24.jpg)
9-9-2424 Copyright Oracle Corporation, 1999. All rights reserved.
Summary FunctionsSummary Functions
• AVG
• COUNT
• MAX
• MIN
• STDDEV
• SUM
• VARIANCE
• AVG
• COUNT
• MAX
• MIN
• STDDEV
• SUM
• VARIANCE
![Page 25: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/25.jpg)
9-9-2525 Copyright Oracle Corporation, 1999. All rights reserved.
Item Based on a FormulaItem Based on a Formula
ORDERSOrder
Item id Product id Price Qty ShippedItemTotal
12
43
2001205025
5493
1,00048045075
NVL((:s_item.price * :s_item.quantity_shipped),0)NVL((:s_item.price * :s_item.quantity_shipped),0)
Item
Formulaitem
![Page 26: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/26.jpg)
9-9-2626 Copyright Oracle Corporation, 1999. All rights reserved.
Rules for Formula ItemsRules 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.
![Page 27: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/27.jpg)
9-9-2727 Copyright Oracle Corporation, 1999. All rights reserved.
Item Based on a Summary Item Based on a Summary
ORDERSOrder
Item id Product id Price Qty ShippedItemTotal
12
43
2001205025
5493
1,00048045075
Item
2,005Order Total
Summarizeditem
Summaryitem
![Page 28: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/28.jpg)
9-9-2828 Copyright Oracle Corporation, 1999. All rights reserved.
Rules for Summary ItemsRules 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
![Page 29: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/29.jpg)
9-9-2929 Copyright Oracle Corporation, 1999. All rights reserved.
Creating a Hierarchical TreeCreating a Hierarchical Tree
![Page 30: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/30.jpg)
9-9-3030 Copyright Oracle Corporation, 1999. All rights reserved.
Hierarchical Tree PropertiesHierarchical 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
![Page 31: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/31.jpg)
9-9-3131 Copyright Oracle Corporation, 1999. All rights reserved.
SummarySummary
• Display items
• Image items
• Sound items
• Buttons
• Calculated items
• Hierarchical tree items
• Display items
• Image items
• Sound items
• Buttons
• Calculated items
• Hierarchical tree items
![Page 32: Copyright Ó Oracle Corporation, 1999. All rights reserved. 99 Creating Noninput Items.](https://reader033.fdocuments.in/reader033/viewer/2022042822/56649f1e5503460f94c3533f/html5/thumbnails/32.jpg)
9-9-3232 Copyright Oracle Corporation, 1999. All rights reserved.
Practice 9 OverviewPractice 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