|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.beesoft.gantt.chart.Layer
eu.beesoft.gantt.chart.BackgroundLayer
public class BackgroundLayer
Paints colored background for gantt chart.
Constructor Summary | |
---|---|
BackgroundLayer()
Default constructor. |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns background color. |
protected void |
paint(java.awt.Graphics g)
Paints a background in gantt chart. |
void |
setColor(java.awt.Color color)
Sets background color. |
Methods inherited from class eu.beesoft.gantt.chart.Layer |
---|
getGantt, getGanttModel, getHeaderHeight, getChartComponent, getNodeAt, getPaintedNodes, getPosition, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackgroundLayer()
Method Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- new value for background colorprotected void paint(java.awt.Graphics g)
paint
in class Layer
g
- - the graphics context to use for painting
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |