|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.jaret.util.ui.timebars.AbstractTimeBarMarker de.jaret.util.ui.timebars.TimeBarMarkerImpl
public class TimeBarMarkerImpl
A simple implementation of a marker for the TimeBarViewer.
Field Summary | |
---|---|
protected de.jaret.util.date.JaretDate |
_date
current date of the marker. |
protected java.lang.String |
_description
description string. |
protected java.lang.String |
_tooltip
tooltip. |
Fields inherited from class de.jaret.util.ui.timebars.AbstractTimeBarMarker |
---|
_draggable, _listenerList |
Constructor Summary | |
---|---|
TimeBarMarkerImpl(boolean draggable,
de.jaret.util.date.JaretDate date)
Construct a time bar marker. |
Method Summary | |
---|---|
de.jaret.util.date.JaretDate |
getDate()
Retrieve the current time marked by the marker. |
java.lang.String |
getDescription()
Retrieve the description of the marker. |
java.lang.String |
getTooltipText()
Retrieve the tooltip text for the marker. |
void |
setDate(de.jaret.util.date.JaretDate date)
Set the date of the marker. |
void |
setDescription(java.lang.String description)
|
void |
setTooltipText(java.lang.String tooltip)
|
Methods inherited from class de.jaret.util.ui.timebars.AbstractTimeBarMarker |
---|
addTimeBarMarkerListener, fireMarkerChanged, fireMarkerDescriptionChanged, isDraggable, remTimeBarMarkerListener, setDraggable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected de.jaret.util.date.JaretDate _date
protected java.lang.String _description
protected java.lang.String _tooltip
Constructor Detail |
---|
public TimeBarMarkerImpl(boolean draggable, de.jaret.util.date.JaretDate date)
draggable
- true if the marker should be draggabledate
- the initial date of the markerMethod Detail |
---|
public de.jaret.util.date.JaretDate getDate()
public void setDate(de.jaret.util.date.JaretDate date)
date
- The date to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getTooltipText()
public void setTooltipText(java.lang.String tooltip)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |