Class GUIPicThing

java.lang.Object
  extended byGUIPicThing
All Implemented Interfaces:
java.lang.Comparable

public class GUIPicThing
extends java.lang.Object
implements java.lang.Comparable

A Comparable for sorting a list of pictures first by category, then by reversed order of dates of pictures and filename (to list newest first).


Constructor Summary
GUIPicThing(java.lang.String c, PicLink p)
          Constructor.
 
Method Summary
 int compareTo(java.lang.Object ob2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIPicThing

public GUIPicThing(java.lang.String c,
                   PicLink p)
Constructor.

Parameters:
c - The category caption.
p - The picLink.
Method Detail

compareTo

public int compareTo(java.lang.Object ob2)
Specified by:
compareTo in interface java.lang.Comparable