net.refractions.udig.printing.model
Interface DecoratorBox
- All Superinterfaces:
- Box, Element
public interface DecoratorBox
- extends Box
A generic implementation of a Decorator. It is associated with a Map and
a Layer.
A Decorator is typically used to display something on a Map. This allows
it to removed from the Map and positioned around it on the Page. An example
of this is a scalebar, which needs to reference a map to draw its scale.
- Since:
- 0.3
- Author:
- Richard Gould
Methods inherited from interface net.refractions.udig.printing.model.Box |
add, addPropertyChangeListener, getBoxPrinter, getID, getSourceConnections, getTargetConnections, notifyPropertyChange, remove, removePropertyChangeListener, setBoxPrinter, setID |
getMap
Map getMap()
- Returns:
- the Map associated with this DecoratorBox
setMap
void setMap(Map value)
- Sets the value of the '
Map
' reference.
Sets this DecoratorBox's Map
- Parameters:
value
- the new value of the 'Map' reference.- See Also:
getMap()
getLayer
Layer getLayer()
- Returns:
- the Layer associated with this DecoratorBox
setLayer
void setLayer(Layer value)
- Sets the value of the '
Layer
' reference.
Sets this DecoratorBox's Layer
- Parameters:
value
- the new value of the 'Layer' reference.- See Also:
getLayer()