|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.swing.layer.AbstractLayer com.dlsc.flexgantt.swing.layer.system.AbstractSystemLayer com.dlsc.flexgantt.swing.layer.system.SelectionLayer
public class SelectionLayer
The selection layer is responsible for drawing the time span selections made on each row.
ILayerContainerSelectionModel.getSelectedTimeSpans(Object, ITimeSpan)
Field Summary |
---|
Fields inherited from class com.dlsc.flexgantt.swing.layer.AbstractLayer |
---|
alpha, changeSupport, ganttChart, layerContainer, PROPERTY_ALPHA, PROPERTY_VISIBLE |
Constructor Summary | |
---|---|
SelectionLayer(LayerContainer lc)
Constructs a new selection layer. |
Method Summary | |
---|---|
java.awt.Paint |
getSelectionPaint()
Returns the selection color used for filling selected time spans. |
boolean |
isVisible()
Determines whether the layer is currently visible or not. |
protected void |
paintLayer(java.awt.Graphics g)
|
void |
setSelectionPaint(java.awt.Paint paint)
Changes the selection paint used for filling selected time spans. |
Methods inherited from class com.dlsc.flexgantt.swing.layer.AbstractLayer |
---|
addPropertyChangeListener, getAlpha, getDateline, getEventline, getGanttChart, getLayerContainer, getLayerPolicyProvider, getModel, getName, getStartRow, getTimeAt, getTimeline, getTimeLocation, getTimeSpanUsed, getToolTipText, getTreeTable, getTreeTablePolicyProvider, removePropertyChangeListener, repaint, repaint, repaint, setAlpha, setVisible, tearDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionLayer(LayerContainer lc)
lc
- the parent layer containerMethod Detail |
---|
public boolean isVisible()
AbstractLayer
isVisible
in class AbstractLayer
AbstractLayer.setVisible(boolean)
protected void paintLayer(java.awt.Graphics g)
paintLayer
in class AbstractLayer
public java.awt.Paint getSelectionPaint()
setSelectionPaint(Paint)
public void setSelectionPaint(java.awt.Paint paint)
paint
- the new selection paintgetSelectionPaint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |