public class TimeNowLayer extends AbstractSystemLayer implements PropertyChangeListener
Eventline.getTimeNow()
alpha, changeSupport, ganttChart, layerContainer, PROPERTY_ALPHA, PROPERTY_VISIBLE
Constructor and Description |
---|
TimeNowLayer(LayerContainer lc)
Constructs a new time now layer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
paintLayer(Graphics g) |
protected void |
paintTimeNow(Graphics g,
int x)
Draws the time now indicator line at the given location.
|
void |
propertyChange(PropertyChangeEvent evt) |
addPropertyChangeListener, getAlpha, getDateline, getEventline, getGanttChart, getHeight, getLayerContainer, getLayerPolicyProvider, getModel, getName, getStartRow, getTimeAt, getTimeline, getTimeLocation, getTimeSpanUsed, getToolTipText, getTreeTable, getTreeTablePolicyProvider, getWidth, isVisible, removePropertyChangeListener, repaint, repaint, repaint, setAlpha, setVisible, tearDown
public TimeNowLayer(LayerContainer lc)
lc
- the layer container to which the layer belongsprotected void paintLayer(Graphics g)
paintLayer
in class AbstractLayer
protected void paintTimeNow(Graphics g, int x)
g
- the graphics context into which to drawx
- the location of time nowpublic void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.