public class PrintTemplateFeature extends DefaultStyledFeature implements XStyledFeature, ChildNodesProvider, PreventNamingDuplicates, RequestForRotatingPivotLock, RequestForUnaddableHandles, RequestForUnmoveableHandles, RequestForUnremovableHandles, RequestForNonreflectingFeature
| Modifier and Type | Class and Description |
|---|---|
class |
PrintTemplateFeature.DerivedCloneArea
DOCUMENT ME!
|
class |
PrintTemplateFeature.PTFDerivedCommandArea
DOCUMENT ME!
|
static class |
PrintTemplateFeature.Side
DOCUMENT ME!
|
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_JAVA_RESOLUTION_IN_DPI |
static double |
INCH_OF_A_MILLIMETER |
static double |
MILLIMETER_OF_A_METER |
static double |
MILLIMETER_OF_AN_INCH |
| Constructor and Description |
|---|
PrintTemplateFeature(PrintTemplateFeature ptfTemplate,
PrintTemplateFeature.Side side)
Creates a new PrintTemplateFeature object.
|
PrintTemplateFeature(Template template,
Resolution resolution,
Scale scale,
MappingComponent mappingComponent)
Creates a new PrintTemplateFeature object.
|
| Modifier and Type | Method and Description |
|---|---|
Paint |
getFillingPaint()
DOCUMENT ME!
|
Future<Image> |
getFutureMapImage()
DOCUMENT ME!
|
ImageIcon |
getIconImage()
DOCUMENT ME!
|
JComponent |
getInfoComponent(Refreshable refresh)
DOCUMENT ME!
|
Stroke |
getLineStyle()
DOCUMENT ME!
|
protected double |
getLongSideLength()
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
int |
getNumber()
DOCUMENT ME!
|
String |
getOriginalName()
DOCUMENT ME!
|
long |
getRealScaleDenominator()
DOCUMENT ME!
|
Resolution |
getResolution()
DOCUMENT ME!
|
double |
getRotationAngle()
DOCUMENT ME!
|
Scale |
getScale()
DOCUMENT ME!
|
protected double |
getShortSideLength()
DOCUMENT ME!
|
protected com.vividsolutions.jts.geom.Geometry |
getSideLine(PrintTemplateFeature.Side side)
The Rectangle of the PrinTemplateFeature is build as a Coordinate Array with these indices.
|
Template |
getTemplate()
DOCUMENT ME!
|
com.vividsolutions.jts.geom.Point |
getTemplateCenter()
DOCUMENT ME!
|
float |
getTransparency()
DOCUMENT ME!
|
String |
getType()
DOCUMENT ME!
|
void |
init(BoundingBox boundingBoxToCalculateTheLocationOfTHeTemplate)
DOCUMENT ME!
|
void |
init(BoundingBox boundingBoxToCalculateTheLocationOfTHeTemplate,
Double dimensionWidth,
Double dimensionHeight,
boolean cloning)
DOCUMENT ME!
|
Collection<edu.umd.cs.piccolo.PNode> |
provideChildren(PFeature parent)
DOCUMENT ME!
|
void |
setFutureMapImage(Future<Image> futureMapImage)
DOCUMENT ME!
|
void |
setNumber(int n)
DOCUMENT ME!
|
void |
setResolution(Resolution resolution)
DOCUMENT ME!
|
void |
setScale(Scale scale)
DOCUMENT ME!
|
void |
setTemplate(Template template)
DOCUMENT ME!
|
String |
toString() |
canBeSelected, clone, getGeometry, getLinePaint, getLineWidth, getMaxScaleDenominator, getMinScaleDenominator, getPointAnnotationSymbol, getPrimaryAnnotation, getPrimaryAnnotationFont, getPrimaryAnnotationHalo, getPrimaryAnnotationJustification, getPrimaryAnnotationPaint, getPrimaryAnnotationScaling, getSecondaryAnnotation, hide, isAutoscale, isEditable, isHidden, isHighlightingEnabled, isPrimaryAnnotationVisible, setAutoScale, setCanBeSelected, setEditable, setFeatureAnnotationSymbol, setFillingPaint, setGeometry, setHighlightingEnabled, setLinePaint, setLineWidth, setMaxScaleDenominator, setMinScaleDenominator, setPointAnnotationSymbol, setPrimaryAnnotation, setPrimaryAnnotationFont, setPrimaryAnnotationHalo, setPrimaryAnnotationJustification, setPrimaryAnnotationPaint, setPrimaryAnnotationScaling, setPrimaryAnnotationVisible, setSecondaryAnnotation, setTransparencyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLinePaint, getLineWidth, getPointAnnotationSymbol, isHighlightingEnabled, setFillingPaint, setHighlightingEnabled, setLinePaint, setLineWidth, setPointAnnotationSymbol, setTransparencycanBeSelected, getGeometry, hide, isEditable, isHidden, setCanBeSelected, setEditable, setGeometrypublic static final double DEFAULT_JAVA_RESOLUTION_IN_DPI
public static final double MILLIMETER_OF_AN_INCH
public static final double INCH_OF_A_MILLIMETER
public static final double MILLIMETER_OF_A_METER
public PrintTemplateFeature(PrintTemplateFeature ptfTemplate, PrintTemplateFeature.Side side)
ptfTemplate - DOCUMENT ME!side - DOCUMENT ME!public PrintTemplateFeature(Template template, Resolution resolution, Scale scale, MappingComponent mappingComponent)
template - DOCUMENT ME!resolution - DOCUMENT ME!scale - DOCUMENT MEmappingComponent - DOCUMENT ME!public final void init(BoundingBox boundingBoxToCalculateTheLocationOfTHeTemplate)
boundingBoxToCalculateTheLocationOfTHeTemplate - DOCUMENT ME!public final void init(BoundingBox boundingBoxToCalculateTheLocationOfTHeTemplate, Double dimensionWidth, Double dimensionHeight, boolean cloning)
boundingBoxToCalculateTheLocationOfTHeTemplate - DOCUMENT ME!dimensionWidth - DOCUMENT ME!dimensionHeight - DOCUMENT ME!cloning - DOCUMENT ME!public com.vividsolutions.jts.geom.Point getTemplateCenter()
public Template getTemplate()
public void setTemplate(Template template)
template - DOCUMENT ME!public Resolution getResolution()
public void setResolution(Resolution resolution)
resolution - DOCUMENT ME!public Scale getScale()
public long getRealScaleDenominator()
public void setScale(Scale scale)
scale - DOCUMENT ME!public double getRotationAngle()
public ImageIcon getIconImage()
XStyledFeaturegetIconImage in interface XStyledFeaturepublic String getType()
XStyledFeaturegetType in interface XStyledFeaturepublic JComponent getInfoComponent(Refreshable refresh)
XStyledFeaturegetInfoComponent in interface XStyledFeaturerefresh - DOCUMENT ME!public Stroke getLineStyle()
XStyledFeaturegetLineStyle in interface XStyledFeaturepublic void setFutureMapImage(Future<Image> futureMapImage)
futureMapImage - DOCUMENT ME!public Paint getFillingPaint()
StyledFeaturegetFillingPaint in interface StyledFeaturegetFillingPaint in class DefaultStyledFeaturepublic float getTransparency()
StyledFeaturegetTransparency in interface StyledFeaturegetTransparency in class DefaultStyledFeaturepublic String getName()
FeatureNameProvidergetName in interface FeatureNameProviderpublic String getOriginalName()
PreventNamingDuplicatesgetOriginalName in interface PreventNamingDuplicatespublic int getNumber()
PreventNamingDuplicatesgetNumber in interface PreventNamingDuplicatespublic void setNumber(int n)
PreventNamingDuplicatessetNumber in interface PreventNamingDuplicatesn - DOCUMENT ME!public Collection<edu.umd.cs.piccolo.PNode> provideChildren(PFeature parent)
provideChildren in interface ChildNodesProviderparent - DOCUMENT ME!protected com.vividsolutions.jts.geom.Geometry getSideLine(PrintTemplateFeature.Side side)
side - The Side of the Rectangleprotected double getShortSideLength()
protected double getLongSideLength()
Copyright © 2012–2025 cismet GmbH. All rights reserved.