public class MapSheetFrameView extends FFrameView implements IMapSheetsIdentified
IFFrameUseFMap.SCALE_TYPE| Modifier and Type | Field and Description |
|---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
b_drawing, b_validCache, DRAFT, geomManager, grid, m_image, mapAT, mapContext, mapUnits, origin, originalClip, originalGraphicsAT, ownMapContextListener, p1, p2, PRESENTATION, project, quality, scaleAnt, showGrid, syncExtents, syncLayers, viewDocListener, viewDocumente, frameFactory, lastAT, layoutManager, LOG, m_BoundBox, m_Selected, n, ne, no, num, o, observers, s, se, soAUTOMATICO, CONSTANTE, MANUAL| Constructor and Description |
|---|
MapSheetFrameView() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFrameListensToViewPort() |
Object |
clone()
Creates a copy of the object.
|
void |
draw(Graphics2D g,
AffineTransform at,
Rectangle2D rectangleView,
BufferedImage imgBase)
Draws the FFrameView on the provided Graphics, according to the
provided affine transform and the visible rectangle.
|
void |
drawEmpty(Graphics2D g)
Draws the FFrame rectangle on the provided Graphics2D, only showing the
FFrame name on an empty rectangle.
|
protected void |
drawPresentation(Graphics2D g,
AffineTransform affineTransform,
Rectangle2D.Double fframeViewRect,
Rectangle2D.Double visibleRect,
BufferedImage imgBase) |
protected void |
drawPresentationRotated(Graphics2D g,
AffineTransform affineTransform,
Rectangle2D.Double fframeViewRect,
Rectangle2D.Double visibleRect,
BufferedImage imgBase) |
int |
getContains(Point2D p)
Devuelve un entero que representa donde esta contenido el punto que se
pasa como par�metro.
|
long |
getId() |
double |
getMapRotation()
getRotation returns rotation of the frame
getMapRotation returns rotation of the map
|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
print(Graphics2D g,
AffineTransform at,
Geometry geom,
PrintAttributes printAttributes) |
protected void |
printRotated(Graphics2D g,
AffineTransform at,
PrintAttributes printAttributes) |
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setId(long id) |
void |
setViewPortEnvelope(Geometry geo) |
calculateNewExtent, clearOwnListeners, clearViewListeners, cloneActions, compare, createImage, createListeners, dispose, doSetSelected, drawImage, frameAdded, frameRemoved, fullExtent, getATMap, getBufferedImage, getDrawPaperDPI, getExtentSynced, getGrid, getLayerSynced, getLinked, getMapContext, getMapUnits, getName, getNameFFrame, getQuality, getScale, getScaleType, getTypeScale, getView, getVisibleEnvelope, invalidateLayout, invalidateToc, isPan, isShowGrid, movePoints, postDraw, postDraw, preDraw, preDraw, print, refresh, refreshOriginalExtent, refreshToc, resetListeners, setATMap, setBoundBox, setBufferedImage, setExtent, setExtentSynced, setGrid, setHasToc, setLayerSynced, setLinked, setListeners, setMapUnits, setNewEnvelope, setPointsToZoom, setProject, setQuality, setRotation, setScale, setScaleType, setScaleType, setScaleType, setTocModel, setView, setViewMapContext, showGrid, toString, updateScaleCtrl, windowActivated, windowClosedaddObserver, contains, deleteObserver, deleteObservers, drawDraft, drawHandlers, drawSymbolTag, getBoundBox, getBoundingBox, getDocument, getFrameFactory, getLastMoveRect, getLayoutContext, getLevel, getMapCursor, getMovieRect, getRotation, getRotationAT, getSelected, getTag, getVisibleRect, initializeIcons, intersects, isSelected, setDocument, setFrameFactory, setLayoutContext, setLevel, setNum, setSelected, setSelected, setTag, updateRectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, drawDraft, drawHandlers, drawSymbolTag, getBoundBox, getBoundingBox, getDocument, getFrameFactory, getLastMoveRect, getLayoutContext, getLevel, getMapCursor, getMovieRect, getRotation, getSelected, getTag, intersects, isSelected, setDocument, setFrameFactory, setLayoutContext, setLevel, setNum, setSelected, setSelected, setTag, updateRectaddObserver, deleteObserver, deleteObserverspublic static String PERSISTENCE_DEFINITION_NAME
public int getContains(Point2D p)
getContains in interface IFFramegetContains in class FFramep - punto a comparar.public long getId()
getId in interface IMapSheetsIdentifiedpublic void setId(long id)
public double getMapRotation()
getMapRotation in class FFrameViewpublic void draw(Graphics2D g, AffineTransform at, Rectangle2D rectangleView, BufferedImage imgBase)
FFrameViewdraw in interface IFFramedraw in class FFrameViewg - Graphics2Dat - Affine transform to translate sheet coordinates (in cm)
to screen coordinates (in pixels)rectangleView - visible rectangleimgBase - Image used to speed up the drawing processpublic Object clone() throws CloneNotSupportedException
Cloneableclone in class FFrameViewCloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.protected void printRotated(Graphics2D g, AffineTransform at, PrintAttributes printAttributes)
public void print(Graphics2D g, AffineTransform at, Geometry geom, PrintAttributes printAttributes)
print in interface IPrintableprint in class FFrameViewprotected void drawPresentation(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double fframeViewRect, Rectangle2D.Double visibleRect, BufferedImage imgBase) throws Exception
drawPresentation in class FFrameViewExceptionprotected void drawPresentationRotated(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double fframeViewRect, Rectangle2D.Double visibleRect, BufferedImage imgBase)
public void drawEmpty(Graphics2D g)
FFramepublic static void registerPersistent()
public void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class FFrameViewPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class FFrameViewPersistenceExceptionpublic void setViewPortEnvelope(Geometry geo)
geo - public void checkFrameListensToViewPort()