All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class picture.PicPipeList

java.lang.Object
   |
   +----picture.PicPipeList

public class PicPipeList
extends Object
A linked list describing the order of evaluation for a PicPipe. This list is passed to a PicPipe when it is evaluated, and it allows it to know the address of the source from which it gets the values and colors on which it operates. It passes the list without its head to the next PicPipe on the pipeline.

This code is (c) 1996 Leemon Baird <leemon@cs.cmu.edu>, http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely. If the code is modified, please state so in the comments.

Version:
1.0, 28 March 96
Author:
Leemon Baird
See Also:
PicPipe

Variable Index

 o first
 o rest

Constructor Index

 o PicPipeList(PicPipe, PicPipeList)
Create a list with specified first element (CAR) and rest (CDR)

Method Index

 o cloneList()
Return a new copy of the entire linked list starting with this node.
 o getGallery()
Return the first Gallery on the pipeline, if any, that is acting in Gallery mode.
 o resetGalleries()
Return all the Galleries on the pipeline, if any, to gallery mode, where no individual picture is selected.

Variables

 o first
 public PicPipe first
 o rest
 public PicPipeList rest

Constructors

 o PicPipeList
 public PicPipeList(PicPipe firstElement,
                    PicPipeList restList)
Create a list with specified first element (CAR) and rest (CDR)

Methods

 o cloneList
 public PicPipeList cloneList()
Return a new copy of the entire linked list starting with this node. The list is duplicated, but the PicPipes it points to are not.

 o getGallery
 public Gallery getGallery()
Return the first Gallery on the pipeline, if any, that is acting in Gallery mode. That means it displays a tiling of pictures, and a single click on one picture zooms in on it.

 o resetGalleries
 public void resetGalleries()
Return all the Galleries on the pipeline, if any, to gallery mode, where no individual picture is selected.


All Packages  Class Hierarchy  This Package  Previous  Next  Index