Panoramas scroll via four directional scroll arrows shown at the top, left, bottom, or right as needed. They are not as common as scroll panes in application development, but are used by other components such as ListButton and MenuPopup to present long lists of items.
The following example demonstrates the Panorama component. It is identical to the previous example except that it uses a panorama instead of a scroll pane:
<Window title="Panoramas" maximized="true" xmlns:bxml="http://pivot.apache.org/bxml" xmlns="org.apache.pivot.wtk"> <Border styles="{color:10}"> <Panorama styles="{buttonColor:'0xffffffff', buttonBackgroundColor:'0x00000044'}"> <ImageView image="/org/apache/pivot/tutorials/IMG_1147.jpg" tooltipText="Pemaquid Point Lighthouse, Bristol ME"/> </Panorama> </Border> </Window>
Since this example contains no logic, there is no associated Java source.
Next: Progress Indicators