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, viewDocument
e, frameFactory, lastAT, layoutManager, LOG, m_BoundBox, m_Selected, n, ne, no, num, o, observers, s, se, so
AUTOMATICO, 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, windowClosed
addObserver, 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, updateRect
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, 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, updateRect
addObserver, deleteObserver, deleteObservers
public static String PERSISTENCE_DEFINITION_NAME
public int getContains(Point2D p)
getContains
in interface IFFrame
getContains
in class FFrame
p
- punto a comparar.public long getId()
getId
in interface IMapSheetsIdentified
public void setId(long id)
public double getMapRotation()
getMapRotation
in class FFrameView
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rectangleView, BufferedImage imgBase)
FFrameView
draw
in interface IFFrame
draw
in class FFrameView
g
- 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
Cloneable
clone
in class FFrameView
CloneNotSupportedException
- 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 IPrintable
print
in class FFrameView
protected void drawPresentation(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double fframeViewRect, Rectangle2D.Double visibleRect, BufferedImage imgBase) throws Exception
drawPresentation
in class FFrameView
Exception
protected void drawPresentationRotated(Graphics2D g, AffineTransform affineTransform, Rectangle2D.Double fframeViewRect, Rectangle2D.Double visibleRect, BufferedImage imgBase)
public void drawEmpty(Graphics2D g)
FFrame
public static void registerPersistent()
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class FFrameView
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class FFrameView
PersistenceException
public void setViewPortEnvelope(Geometry geo)
geo
- public void checkFrameListensToViewPort()