|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gui.swing.sldeditor.util.StyleCloner
A utility class to clone Style objects, ideally it'd better to be inside those Style class itself. follow Sean's work, made another half of this class, have a look on the clone method parameters with checking the classes in the styling packge you will get a clue, what have done, how deep the clone goes, and what left untouched. For your interest, adding your clone method to clone those haven't been done and also please modify the places where other clone methods use them
Constructor Summary | |
StyleCloner(StyleFactory styleFactory)
DOCUMENT ME! |
Method Summary | |
FeatureTypeStyle |
clone(FeatureTypeStyle toClone)
DOCUMENT ME! |
FeatureTypeStyle[] |
clone(FeatureTypeStyle[] toClone)
DOCUMENT ME! |
Fill |
clone(Fill oldF)
|
float[] |
clone(float[] d)
|
Graphic |
clone(Graphic g)
|
LineSymbolizer |
clone(LineSymbolizer l)
|
Mark |
clone(Mark oldM)
|
Mark[] |
clone(Mark[] oldM)
|
PointSymbolizer |
clone(PointSymbolizer p)
|
PolygonSymbolizer |
clone(PolygonSymbolizer p)
|
Rule |
clone(Rule toClone)
DOCUMENT ME! |
Rule[] |
clone(Rule[] toClone)
DOCUMENT ME! |
Stroke |
clone(Stroke oldS)
|
Style |
clone(Style toClone)
DOCUMENT ME! |
Symbolizer |
clone(Symbolizer s)
|
Symbolizer[] |
clone(Symbolizer[] toClone)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StyleCloner(StyleFactory styleFactory)
styleFactory
- Method Detail |
public Style clone(Style toClone)
toClone
-
public FeatureTypeStyle[] clone(FeatureTypeStyle[] toClone)
toClone
-
public FeatureTypeStyle clone(FeatureTypeStyle toClone)
toClone
-
public Rule[] clone(Rule[] toClone)
toClone
-
public Rule clone(Rule toClone)
toClone
-
public Symbolizer[] clone(Symbolizer[] toClone)
toClone
-
public Symbolizer clone(Symbolizer s)
public PointSymbolizer clone(PointSymbolizer p)
public LineSymbolizer clone(LineSymbolizer l)
public PolygonSymbolizer clone(PolygonSymbolizer p)
public Graphic clone(Graphic g)
public Mark[] clone(Mark[] oldM)
public Mark clone(Mark oldM)
public Fill clone(Fill oldF)
public Stroke clone(Stroke oldS)
public float[] clone(float[] d)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |