public interface IMultiLayerSymbol extends ISymbol
SELECTION_COLOR
Modifier and Type | Method and Description |
---|---|
void |
addLayer(ISymbol newLayer)
Stacks a new symbol to the symbol list.
|
void |
addLayer(ISymbol newLayer,
int layerIndex)
Stacks a new symbol to the symbol list.
|
ISymbol |
getLayer(int layerIndex)
Obtains the symbol that "contains" a layer whose index is the argument of the method.
|
int |
getLayerCount()
Returns the number of layers
|
boolean |
removeLayer(ISymbol layer)
TODO maybe push it up to ISymbol
|
void |
setLayer(int index,
ISymbol layer)
Establishes a concret symbol for a layer
|
void |
swapLayers(int index1,
int index2)
Changes the position of two layers in a multilayersymbol
|
draw, draw, drawInsideRectangle, getColor, getDescription, getFeature, getID, getSymbolForSelection, getSymbolForSelection, getSymbolType, isShapeVisible, isSuitableFor, setColor, setDescription, setFeature, setID
loadFromState, saveToState
print
clone, cloneQuietly, cloneQuietly
void setLayer(int index, ISymbol layer) throws java.lang.IndexOutOfBoundsException
index,
- index of the layerlayer,
- symbol to be "applied" to the layerjava.lang.IndexOutOfBoundsException
void swapLayers(int index1, int index2)
index1,
- index of the layerindex2,
- index of the layerISymbol getLayer(int layerIndex)
layerIndex
- int getLayerCount()
void addLayer(ISymbol newLayer)
ISymbol
- newLayervoid addLayer(ISymbol newLayer, int layerIndex) throws java.lang.IndexOutOfBoundsException
ISymbol
- newLayerjava.lang.IndexOutOfBoundsException
boolean removeLayer(ISymbol layer)
layer
-