JIDE 3.5.15

com.jidesoft.gantt
Class AbstractPeriodMarker<T>

java.lang.Object
  extended by com.jidesoft.gantt.AbstractPeriodBackgroundPainter<T>
      extended by 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>


Field Summary
 
Fields inherited from class com.jidesoft.gantt.AbstractPeriodBackgroundPainter
OUTLINE_DEFAULT, OUTLINE_END, OUTLINE_START
 
Constructor Summary
AbstractPeriodMarker(Period forPeriod, Paint backgroundPaint, Paint outlinePaint, Stroke outlineStroke)
           
 
Method Summary
 Paint getBackgroundPaint(T startInstant, T endInstant)
           
 Paint getOutlinePaint(T startInstant, T endInstant)
           
 int getOutlineSides(T startInstant, T endInstant)
           
 Stroke getOutlineStroke(T startInstant, T endInstant)
           
abstract  boolean isNextPeriodMarked(T startInstant, T endInstant)
           
abstract  boolean isPeriodMarked(T startInstant, T endInstant)
           
abstract  boolean isPreviousPeriodMarked(T startInstant, T endInstant)
           
 
Methods inherited from class com.jidesoft.gantt.AbstractPeriodBackgroundPainter
deriveStroke, getPeriod, paintBackground, paintPeriodBackground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPeriodMarker

public AbstractPeriodMarker(Period forPeriod,
                            Paint backgroundPaint,
                            Paint outlinePaint,
                            Stroke outlineStroke)
Method Detail

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>

JIDE 3.5.15