|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectmetricsOverlay.augmentationStrategies.AugmentationStrategy
metricsOverlay.augmentationStrategies.BgSectionStrategy
public class BgSectionStrategy
This display strategy colours background lines of code with a blend between two set colours.
Constructor Summary | |
---|---|
BgSectionStrategy()
|
Method Summary | |
---|---|
void |
dispose()
Subclasses should override this method |
void |
update(MetricFile mf,
Mapping mm)
Adds line listeners for colouring the background and updating when the text changes. |
Methods inherited from class metricsOverlay.augmentationStrategies.AugmentationStrategy |
---|
isActive, parseColor, setActive |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BgSectionStrategy()
Method Detail |
---|
public void update(MetricFile mf, Mapping mm)
update
in class AugmentationStrategy
mf
- the metric file describing the current file and the metrics to
be applied.mm
- the name of the current mapping this display strategy belongs
to.public void dispose()
AugmentationStrategy
dispose
in class AugmentationStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |