public class BackgroundLayer extends AbstractSystemLayer
alpha, changeSupport, ganttChart, layerContainer, PROPERTY_ALPHA, PROPERTY_VISIBLE| Constructor and Description |
|---|
BackgroundLayer(LayerContainer lc)
Constructs a new background layer.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
getTexture()
Returns an image that will be used as a texture to fill the background of
the layer container.
|
protected void |
paintLayer(Graphics g) |
void |
setTexture(Image texture)
Sets an image that will be used as a texture to fill the background of
the layer container.
|
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 BackgroundLayer(LayerContainer lc)
lc - the parent layer containerprotected void paintLayer(Graphics g)
paintLayer in class AbstractLayerpublic Image getTexture()
setTexture(Image)public void setTexture(Image texture)
texture - the image that will be used for filling the backgroundgetTexture()Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.