This demo shows the window shade container object. This is not a
special purpose effect. The shade object is a container that can be
reused -- it will hold any two other collections of interactors that
you care to put inside it! Further, this kind of dynamic effect is a
normal part of the toolkit that works smoothly with everything else.
Facilities are provided to make it easy and common place to create
this kind of custom interaction whenever you need it. To see how the
shade interactor is constructed, see the
User's Manual in the
"Custom
Interactor Example" section
This demo shows a semantic lens useful for debugging. Move this
lens over the top of the interface to see the interactor objects
making up the interface and their bounding boxes. Hint: dragging in
the area to the right will create lines -- try this under the
lens.
All the demos on this page have been set up with debugging lenses
installed (a one line change to any subArctic applet). To bring up
the lens hold down the shift and control keys and click a mouse
button inside the applet. Doing this again will remove the debug lens
(except the one below which is always up).
Platform Note: Under Netscape 3.0 the Mac the lens
rendering "spills out" past the lens. This is due to a serious
clipping bug in the Netscape implementation of AWT.
This demo demonstrates the use of an advanced drawing effect
within an interaction. These are not bits drawn on a canvas. The
objects being dragged here are normal live toolkit objects which have
been placed in a shadow_drag_container object (bring up
the debug lens to see the interactors). This container will support
shadow drag of ANY subArctic interactors, even ones that were written
before or after the shadow drag container. The container does not
need to know anything special about the interactor, and the
interactor does not need to know it is in a shadow drag container.
As indicated above, animation is considered a normal part of
subArctic interfaces. This applet is a variation on the classic Hello
World interface which illustrates some of the toolkit's built in
animation features. Only a single button is animated here, however,
the effect is created by a very general
anim_mover_container object which can provide animation
to ANY set of subArctic objects, just by placing them in the
container and scheduling animation transitions for them. This
interface was built with about 135 lines of code (see
sub_arctic/test/hello_world_anim.java).
Demo ApplicationsThis application reads in images (given a URL), allows the user to
specify a sub-image, and write that out to a file as Java code
suitable for statically initializing an in-memory subArctic
loaded_image object. (Note: due to security
restrictions, many browsers will not actually let you write out the
result, so you may need to us use Appletviewer if you want to use
this application for real.)
sub_arctic/test/image_cutter.html
This program simulates the interactive features of a mail browser (although it does not actually send or receive mail). It includes a good example of a drag and drop interactions as well as a bit of animation. This program is still a bit experimental and has some known bugs that we did not have time to fix prior to the release. Please accept our apologies if it crashes on you -- we should have it fixed soon after we recover from the release.
Platform Note: This applet does not work correctly under Netscape 3.0 on the Mac due to the clipping bugs (and other bugs) in Netscape on that platform.
sub_arctic/demo_apps/mail_demo.html
This application is a re-implementation of an AWT demo program under subArctic. Special thanks to Colleen Kehoe (one of our alpha testers) for creating this for us and contributing it to our demo page.
sub_arctic/demo_apps/spread_sheet.html
sub_arctic.testThe following links go to pages for additional test programs found in the sub_arctic.test package. These are were not developed as demos per se, they are being used for regression testing of various interactor classes during development. However, they provide examples of how to use various interactors and/or show off some additional features.
sub_arctic/test/anim_test.html
sub_arctic/test/backdrop_lens_test.html
sub_arctic/test/circ_lens_test.html
sub_arctic/test/component_flow_test.html
sub_arctic/test/constraint_patterns.html
sub_arctic/test/constraint_test.html
sub_arctic/test/cycle_test.html
sub_arctic/test/debug_top_test.html
sub_arctic/test/drag_container_test.html
sub_arctic/test/drag_limit_test.html
sub_arctic/test/edit_test.html
sub_arctic/test/ext_test.html
sub_arctic/test/flow_test.html
sub_arctic/test/focus_lens_test.html
sub_arctic/test/frame_test.html
sub_arctic/test/frame_test2.html
sub_arctic/test/grabber_lens_test.html
sub_arctic/test/gradient_test.html
sub_arctic/test/grow_container_test.html
sub_arctic/test/hello_world.html
sub_arctic/test/hello_world_anim.html
sub_arctic/test/hello_world_anim_source.html
sub_arctic/test/hello_world_canvas.html
sub_arctic/test/hello_world_debug.html
sub_arctic/test/hello_world_debug_source.html
sub_arctic/test/hello_world_source.html
sub_arctic/test/hierarchy_test.html
sub_arctic/test/image_cutter.html
sub_arctic/test/isolation_test.html
sub_arctic/test/isolation_lens_test.html
sub_arctic/test/line_test.html
sub_arctic/test/listbox_test.html
sub_arctic/test/menu_test.html
sub_arctic/test/misc_test.html
sub_arctic/test/new_style_test.html
sub_arctic/test/overkill_test.html
sub_arctic/test/panner_test.html
sub_arctic/test/percent_test.html
sub_arctic/test/permanent_test.html
sub_arctic/test/point_test.html
sub_arctic/test/range_slider_test.html
sub_arctic/test/rot_lens_test.html
sub_arctic/test/sem_lens_test.html
sub_arctic/test/shade_test.html
sub_arctic/test/shadow_drag_test.html
sub_arctic/test/size_test.html
sub_arctic/test/sliding_styl_text_test.html
sub_arctic/test/sliding_text_test.html
sub_arctic/test/snap_container_test.html
sub_arctic/test/style_internal_test.html
sub_arctic/test/style_test.html
sub_arctic/test/style_test2.html
sub_arctic/test/tab_test.html
sub_arctic/test/tab_lens_test.html
sub_arctic/test/text_extract_test.html
sub_arctic/test/text_extract_test2.html
sub_arctic/test/text_toggle_test.html
sub_arctic/test/thread_test.html
sub_arctic/test/transp_test.html
sub_arctic/test/traversal_test.html
sub_arctic/test/vis_test.html
![[Powered by subArctic]](powered_by_logo.gif)
Scott
Hudson