Package ca.spatial.mapview.symbol
Class SymbolList
java.lang.Object
java.util.Observable
ca.spatial.mapview.symbol.Symbol
ca.spatial.mapview.symbol.SymbolList
- All Implemented Interfaces:
Visibility
,Observer
- Direct Known Subclasses:
LineSymbol
,PointSymbol
,PolygonSymbol
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clone(SymbolList sl)
void
void
customizeFull(Dialog parent, boolean scaledSymbol)
abstract SymbolList
Get the fill color used for this symbolGet the line color used for this symboldouble
Get the line width used for this symbolca.spatial.mapview.symbol.SymbolList.SymbolTable
getModel()
abstract Symbol
abstract ArrayList
getSymbolAt(int index)
Symbol[]
void
insertSymbolAt(Symbol symbol, int index)
boolean
isClear()
Test if the symbol is clearremove(int index)
void
setFillColor(Color paint)
Set the fill color for this symbolvoid
setLineColor(Color paint)
Set the line color for this symbolvoid
setLineWidth(double width)
Set the line width for this symbolint
size()
void
symbolize(Graphics2D g, Shape shape, double scale, int id, boolean isScaled)
void
update(Observable obs, Object arg)
Methods inherited from class ca.spatial.mapview.symbol.Symbol
clone, clone, getAlpha, getColor, getColor, getColorSet, getCustomizer, getDefault, getDefault, getDefaultSelectedSymbol, getMaxScale, getMinScale, getRandomColor, getType, getTypeForName, getUnclassified, isActive, isLocked, isStandardVisibility, isVisible, random, setActive, setAlpha, setColor, setLocked, setMaxScale, setMinScale, setVisibility, symbolize, toString
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
-
Constructor Details
-
SymbolList
-
SymbolList
public SymbolList(int type)
-
-
Method Details
-
clone
-
getDefault
-
getRandomSubSymbol
-
getModel
public ca.spatial.mapview.symbol.SymbolList.SymbolTable getModel() -
isClear
public boolean isClear()Description copied from class:Symbol
Test if the symbol is clear -
addSymbol
-
size
public int size() -
getSymbolAt
-
getSymbols
-
remove
-
insertSymbolAt
-
setFillColor
Description copied from class:Symbol
Set the fill color for this symbol- Specified by:
setFillColor
in classSymbol
-
getFillColor
Description copied from class:Symbol
Get the fill color used for this symbol- Specified by:
getFillColor
in classSymbol
-
setLineColor
Description copied from class:Symbol
Set the line color for this symbol- Specified by:
setLineColor
in classSymbol
-
getLineColor
Description copied from class:Symbol
Get the line color used for this symbol- Specified by:
getLineColor
in classSymbol
-
setLineWidth
public void setLineWidth(double width)Description copied from class:Symbol
Set the line width for this symbol- Specified by:
setLineWidth
in classSymbol
-
getLineWidth
public double getLineWidth()Description copied from class:Symbol
Get the line width used for this symbol- Specified by:
getLineWidth
in classSymbol
-
getSamples
-
symbolize
-
customize
-
customizeFull
-
update
-