public class FFrameGroup extends AbstractFFrameViewDependence implements IFFrameUseProject, IFFrameViewDependence
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PERSISTENCE_DEFINITION_NAME |
fframeViewDependence
e, frameFactory, iEResize, iNResize, lastAT, layoutManager, LOG, m_BoundBox, m_Selected, n, ne, no, num, o, observers, s, se, so
Constructor and Description |
---|
FFrameGroup()
Crea un nuevo FFrameGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
addFFrame(IFFrame fframe)
Añade al Arraylist un nuevo FFrame para formar parte del grupo.
|
void |
clearFFrames() |
IFFrame |
clone()
Creates a copy of the object.
|
void |
draw(java.awt.Graphics2D g,
java.awt.geom.AffineTransform at,
java.awt.geom.Rectangle2D rv,
java.awt.image.BufferedImage imgBase)
Método que dibuja sobre el graphics que se le pasa como parámetro, según
la transformada afin que se debe de aplicar y el rectángulo que se debe
de dibujar.
|
IFFrame[] |
getFFrameDependence()
Devuelve el FFrame utilizado.
|
IFFrame[] |
getFFrames()
Devuelve una ArrayList que contiene todos los FFrames que forman parte
del grupo.
|
java.lang.String |
getName()
Devuelve el nombre que representa al fframe.
|
java.lang.String |
getNameFFrame()
Devuelve el nombre que representa al tipo de FFrame.
|
java.awt.geom.Rectangle2D.Double |
getRectangle(java.awt.geom.AffineTransform at)
Devuelve el rectángulo que contiene a todos los fframes seleccionados.
|
void |
initialize() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
print(java.awt.Graphics2D g,
java.awt.geom.AffineTransform at,
Geometry geom,
PrintAttributes printingProperties) |
void |
refreshDependence(IFFrame fant,
IFFrame fnew)
Refresca las dependencias de la IFFrame teniendo en cuenta la dependencia
anterior.
|
static void |
registerPersistent() |
void |
removeFFrame(IFFrame fframe) |
IFFrame |
removeFFrame(int i) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAt(java.awt.geom.AffineTransform at)
Rellena la transformada que se esta utilizando en el Layout.
|
void |
setBoundBox(java.awt.geom.Rectangle2D r)
Reimplementación del método papa poder modificar los BoundBox de cada
uno de los FFrames que contiene dentro este FFrameGroup.
|
void |
setFFrameDependence(IFFrame f)
Inserta una FFrame de la cual se necesita por tener una dependencia.
|
void |
setProject(Project project)
Inserta una referencia al proyecto nesecario.
|
addObserver, contains, deleteObserver, deleteObservers, dispose, doSetSelected, drawDraft, drawEmpty, drawHandlers, drawSymbolTag, frameAdded, frameRemoved, getBoundBox, getBoundingBox, getContains, getDocument, getFrameFactory, getLastMoveRect, getLayoutContext, getLevel, getMapCursor, getMovieRect, getMovieRect, getRotation, getRotationAT, getSelected, getTag, getVisibleRect, initializeIcons, intersects, isSelected, setDocument, setFrameFactory, setLayoutContext, setLevel, setNum, setRotation, setSelected, setSelected, setTag, updateRect
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneQuietly, cloneQuietly
public static final java.lang.String PERSISTENCE_DEFINITION_NAME
public void addFFrame(IFFrame fframe)
fframe
- FFrame a añadir.public IFFrame[] getFFrames()
public java.awt.geom.Rectangle2D.Double getRectangle(java.awt.geom.AffineTransform at)
at
- Matriz de transformaciónpublic void draw(java.awt.Graphics2D g, java.awt.geom.AffineTransform at, java.awt.geom.Rectangle2D rv, java.awt.image.BufferedImage imgBase)
public void setAt(java.awt.geom.AffineTransform at)
at
- Matriz de transformación.public void setBoundBox(java.awt.geom.Rectangle2D r)
setBoundBox
in interface IFFrame
setBoundBox
in class FFrame
r
- Rectángulo.public java.lang.String getNameFFrame()
IFFrame
getNameFFrame
in interface IFFrame
IFFrame.getNameFFrame()
public java.lang.String getName()
IFFrame
public void print(java.awt.Graphics2D g, java.awt.geom.AffineTransform at, Geometry geom, PrintAttributes printingProperties)
print
in interface IPrintable
org.gvsig.app.project.documents.layout.fframes.IFFrame#print(java.awt.Graphics2D,
java.awt.geom.AffineTransform)
public void setProject(Project project)
setProject
in interface IFFrameUseProject
project
- DOCUMENT ME!public void initialize()
public void clearFFrames()
public IFFrame removeFFrame(int i)
public void removeFFrame(IFFrame fframe)
public IFFrame clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class AbstractFFrameViewDependence
java.lang.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()}.
public void setFFrameDependence(IFFrame f)
IFFrameViewDependence
setFFrameDependence
in interface IFFrameViewDependence
setFFrameDependence
in class AbstractFFrameViewDependence
f
- FFrame de la que se depende.public IFFrame[] getFFrameDependence()
IFFrameViewDependence
getFFrameDependence
in interface IFFrameViewDependence
getFFrameDependence
in class AbstractFFrameViewDependence
public void refreshDependence(IFFrame fant, IFFrame fnew)
IFFrameViewDependence
refreshDependence
in interface IFFrameViewDependence
refreshDependence
in class AbstractFFrameViewDependence
fant
- Dependencia anterior.fnew
- Nueva dependencia.public static void registerPersistent()
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractFFrameViewDependence
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractFFrameViewDependence
PersistenceException