|
|||||||||
| 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.GridLayer
public class GridLayer
Paints grid (horizontal and vertical lines) in gantt chart component.
| Constructor Summary | |
|---|---|
GridLayer()
Default constructor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getHorizontalLineColor()
Returns color used to paint horizontal lines. |
java.awt.Color |
getMajorLineColor()
Returns color used to paint major vertical lines. |
java.awt.Color |
getMinorLineColor()
Returns color used to paint minor vertical lines. |
boolean |
isHorizontalLineVisible()
Returns true if horizontal lines should be painted. |
boolean |
isMajorLineThick()
Returns true if major vertical lines are painted thick (2 points). |
boolean |
isMajorLineVisible()
Returns true if major vertical lines should be painted. |
boolean |
isMinorLineVisible()
Returns true if minor vertical lines should be painted. |
protected void |
paint(java.awt.Graphics g)
Paints a grid. |
void |
setHorizontalLineColor(java.awt.Color horizontalLineColor)
Sets the color used to paint horizontal lines. |
void |
setHorizontalLineVisible(boolean horizontalLineVisible)
Sets new state of horizontal lines visible property. |
void |
setMajorLineColor(java.awt.Color majorLineColor)
Sets the color used to paint major vertical lines. |
void |
setMajorLineThick(boolean majorLineThick)
Sets major vertical lines thickness. |
void |
setMajorLineVisible(boolean majorLineVisible)
Sets new state of major vertical lines visible property. |
void |
setMinorLineColor(java.awt.Color minorLineColor)
Sets the color used to paint minor vertical lines. |
void |
setMinorLineVisible(boolean minorLineVisible)
Sets new state of minor vertical lines visible property. |
| 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 GridLayer()
| Method Detail |
|---|
public boolean isHorizontalLineVisible()
public void setHorizontalLineVisible(boolean horizontalLineVisible)
horizontalLineVisible - - new value for property 'horizontal line visible'public java.awt.Color getHorizontalLineColor()
public void setHorizontalLineColor(java.awt.Color horizontalLineColor)
horizontalLineColor - - horizontal line color to setpublic boolean isMajorLineVisible()
public void setMajorLineVisible(boolean majorLineVisible)
majorLineVisible - - new value for property 'major line visible'public java.awt.Color getMajorLineColor()
public void setMajorLineColor(java.awt.Color majorLineColor)
majorLineColor - - major vertical line color to setpublic boolean isMajorLineThick()
public void setMajorLineThick(boolean majorLineThick)
majorLineThick - - new value for property majorLineThickpublic boolean isMinorLineVisible()
public void setMinorLineVisible(boolean minorLineVisible)
minorLineVisible - - new value for property 'minor line visible'public java.awt.Color getMinorLineColor()
public void setMinorLineColor(java.awt.Color minorLineColor)
minorLineColor - - minor vertical line color to setprotected void paint(java.awt.Graphics g)
paint in class Layerg - - the graphics context to use for painting
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||