Constructs a new layer with the given name or Layer.DEFAULT_NAME
.
the name of the layer
Returns the fade in / fade out opacity value.
the fade in / fade out opacity value
Returns the layer id.
the layer id
Returns the layer name.
the layer name
Returns the opacity of the layer.
the opacity of the layer
Returns true if the layer can be deleted.
true if the layer can be deleted
Returns true if the layer is visible.
true if the layer is visible
Sets if the layer can be deleted.
the new deletable value
Sets the layer fadeInOutOpacity.
the new opacity
Sets the id of the layer.
the new id of the layer
Sets the layer name.
the new name of the layer
Sets the layer opacity.
the new opacity of the layer
Sets the visibility of the layer.
the new visibility of the layer
Returns a string representation of the layer (its name).
a string representation of the layer (its name)
Layers are used to group activities together. Activities on the same layer are drawn at the same time (z-order). A layer has a name, an ID, it can be turned on / off, and their opacity can be changed. These changes have an impact on all activities on that layer. The ID of the layer is used for drag and drop operations of activities between different Gantt charts. Dropped activities will be added to the layer with the same ID. The layer name will be used as the default ID for newly created layers. The ID only needs to be changed if the same layer type will be used with different names in different Gantt charts.
1.0