|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectGroup
org.formaria.svg.SvgLayer
public class SvgLayer
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.2 $
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected SVGRoot |
root
|
| Constructor Summary | |
|---|---|
SvgLayer(java.lang.String name,
SvgImageMap imageMap)
Creates a new instance of SvgLayer |
|
| Method Summary | |
|---|---|
void |
addElement(SVGElement element)
Used to add an svg element to the layer. |
void |
addToImageMap()
Add the layer to the SVG image. |
void |
removeFromImageMap()
Remove the layer from the SVG image. |
void |
setHidden()
Set this layer to be hidden from view. |
void |
setImageMap(SvgImageMap imageMap)
Set the SVG image map for the layer. |
void |
setVisible()
Set this layer to be visible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SVGRoot root
protected java.lang.String name
| Constructor Detail |
|---|
public SvgLayer(java.lang.String name,
SvgImageMap imageMap)
name - String specifying the name to be given to the layer.imageMap - SvgImageMap instance that will contain the new layer.| Method Detail |
|---|
public void setImageMap(SvgImageMap imageMap)
imageMap - SvgImageMap instance that will contain the new layer.public void addElement(SVGElement element)
element - the SVGElement to be added to the map.public void setVisible()
public void setHidden()
public void addToImageMap()
public void removeFromImageMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||