|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.wayback.partition.ToolBarData
public class ToolBarData
| Field Summary | |
|---|---|
CaptureSearchResult |
curResult
current result being shown |
CaptureSearchResult |
monthNextResult
Earliest Result one month after current, or null |
List<Partition<CaptureSearchResult>> |
monthPartitions
List |
CaptureSearchResult |
monthPrevResult
Latest Result one month before current, or null |
CaptureSearchResult |
nextResult
Earliest Result after current, or null |
CaptureSearchResult |
prevResult
Latest Result before current, or null |
CaptureSearchResults |
results
the CaptureSearchResults object from the ResourceIndex. |
CaptureSearchResult |
yearNextResult
Earliest Result one year after current, or null |
List<Partition<Partition<CaptureSearchResult>>> |
yearPartitions
List |
CaptureSearchResult |
yearPrevResult
Latest Result one year before current, or null |
| Constructor Summary | |
|---|---|
ToolBarData(UIResults uiResults)
|
|
| Method Summary | |
|---|---|
static Date |
addDay(Date date,
int amt)
Increment a Date object by +/- some days |
static Date |
addMonth(Date date,
int amt)
Increment a Date object by +/- some months |
static Date |
addYear(Date date,
int amt)
Increment a Date object by +/- some years |
String |
computeGraphString(String formatKey,
int width,
int height)
|
Date |
getFirstResultDate()
|
Date |
getLastResultDate()
|
long |
getResultCount()
|
String |
makeReplayURL(CaptureSearchResult result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public CaptureSearchResult yearPrevResult
public CaptureSearchResult monthPrevResult
public CaptureSearchResult prevResult
public CaptureSearchResult nextResult
public CaptureSearchResult monthNextResult
public CaptureSearchResult yearNextResult
public CaptureSearchResult curResult
public CaptureSearchResults results
public List<Partition<Partition<CaptureSearchResult>>> yearPartitions
public List<Partition<CaptureSearchResult>> monthPartitions
| Constructor Detail |
|---|
public ToolBarData(UIResults uiResults)
uiResults - the UIResults holding replay info| Method Detail |
|---|
public String computeGraphString(String formatKey,
int width,
int height)
formatKey - String template for format Dateswidth - pixel width of resulting graphheight - pixel height of resulting graph
public String makeReplayURL(CaptureSearchResult result)
result - Restul to draw replay URL for
public long getResultCount()
public Date getFirstResultDate()
public Date getLastResultDate()
public static Date addYear(Date date,
int amt)
date - Date to +/- some years fromamt - number of years to add/remove
public static Date addMonth(Date date,
int amt)
date - Date to +/- some months fromamt - number of months to add/remove
public static Date addDay(Date date,
int amt)
date - Date to +/- some days fromamt - number of days to add/remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||