public class LabelLayer extends AbstractSystemLayer
ILabelPolicy.ILabelPolicy.getLabel(TimelineObjectPath, IGanttChartModel, LabelType),
ITimelineObject.getLabel(LabelType)alpha, changeSupport, ganttChart, layerContainer, PROPERTY_ALPHA, PROPERTY_VISIBLE| Constructor and Description |
|---|
LabelLayer(LayerContainer lc)
Constructs a new label layer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLabelGap()
Returns the number of pixels that will be placed between the timeline
object and its label.
|
protected void |
paintLayer(Graphics g) |
void |
setLabelGap(int gap)
Specifies the number of pixels that will be placed between the timeline
object and its label.
|
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, tearDownpublic LabelLayer(LayerContainer lc)
lc - the layer container that is the parent of the layerprotected void paintLayer(Graphics g)
paintLayer in class AbstractLayerpublic int getLabelGap()
public void setLabelGap(int gap)
gap - the pixel gap between the timeline object and the labelCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.