com.jidesoft.gantt
Class AbstractPeriodMarker<T>
java.lang.Object
com.jidesoft.gantt.AbstractPeriodBackgroundPainter<T>
com.jidesoft.gantt.AbstractPeriodMarker<T>
- Type Parameters:
T
- The type of the bases unit of the scale, for example Date or Integer.
- All Implemented Interfaces:
- PeriodBackgroundPainter<T>
- Direct Known Subclasses:
- DatePeriodMarker
public abstract class AbstractPeriodMarker<T>
- extends AbstractPeriodBackgroundPainter<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPeriodMarker
public AbstractPeriodMarker(Period forPeriod,
Paint backgroundPaint,
Paint outlinePaint,
Stroke outlineStroke)
isPeriodMarked
public abstract boolean isPeriodMarked(T startInstant,
T endInstant)
isPreviousPeriodMarked
public abstract boolean isPreviousPeriodMarked(T startInstant,
T endInstant)
isNextPeriodMarked
public abstract boolean isNextPeriodMarked(T startInstant,
T endInstant)
getBackgroundPaint
public Paint getBackgroundPaint(T startInstant,
T endInstant)
- Specified by:
getBackgroundPaint
in class AbstractPeriodBackgroundPainter<T>
getOutlinePaint
public Paint getOutlinePaint(T startInstant,
T endInstant)
- Specified by:
getOutlinePaint
in class AbstractPeriodBackgroundPainter<T>
getOutlineStroke
public Stroke getOutlineStroke(T startInstant,
T endInstant)
- Specified by:
getOutlineStroke
in class AbstractPeriodBackgroundPainter<T>
getOutlineSides
public int getOutlineSides(T startInstant,
T endInstant)
- Specified by:
getOutlineSides
in class AbstractPeriodBackgroundPainter<T>