|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ucar.unidata.ui.Timeline
ucar.unidata.idv.ui.IdvTimeline
public class IdvTimeline
Widget for selecting dates and times
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.ui.Timeline |
|---|
CMD_APPLY, CMD_CANCEL, CMD_OK, CURSOR_LEFT, CURSOR_MOVE, CURSOR_NORMAL, CURSOR_RIGHT, DIM_TIME_HEIGHT, DRAGMODE_CENTER, DRAGMODE_LEFT, DRAGMODE_RIGHT, sunriseDates |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IdvTimeline()
Default ctor |
|
IdvTimeline(Date start,
Date end)
Create a Timeline with the initial date range |
|
IdvTimeline(Date start,
Date end,
int initDimension)
ctor |
|
IdvTimeline(List times,
int initDimension)
ctor. |
|
IdvTimeline(List times,
int width,
int height)
ctor. |
|
| Method Summary | |
|---|---|
void |
clearSunriseLocation()
_more_ |
protected void |
getMenuItems(List items)
make menu items |
List |
getSunriseLocations()
_more_ |
void |
makeSunriseDates()
_more_ |
static List |
makeSunriseDates(ucar.unidata.geoloc.LatLonPoint sunriseLocation,
Date startDate,
Date endDate)
_more_ |
void |
setSunriseLocation(ucar.unidata.geoloc.LatLonPoint llp)
_more_ |
void |
setSunriseLocationFromUser()
_more_ |
void |
setSunriseLocations(List locations)
_more_ |
void |
timelineChanged()
The timeline changed. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IdvTimeline()
public IdvTimeline(List times,
int initDimension)
times - List of DatedThingsinitDimension - initial width
public IdvTimeline(List times,
int width,
int height)
times - List of DatedThingswidth - init widthheight - init height
public IdvTimeline(Date start,
Date end)
start - startend - end
public IdvTimeline(Date start,
Date end,
int initDimension)
start - startend - endinitDimension - width| Method Detail |
|---|
protected void getMenuItems(List items)
getMenuItems in class Timelineitems - itemspublic void timelineChanged()
timelineChanged in class Timelinepublic List getSunriseLocations()
public void setSunriseLocationFromUser()
public void setSunriseLocations(List locations)
locations - _more_public void clearSunriseLocation()
public void setSunriseLocation(ucar.unidata.geoloc.LatLonPoint llp)
llp - _more_public void makeSunriseDates()
makeSunriseDates in class Timeline
public static List makeSunriseDates(ucar.unidata.geoloc.LatLonPoint sunriseLocation,
Date startDate,
Date endDate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||