public class FFrameLegend extends AbstractFFrameViewDependence implements 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 |
---|
FFrameLegend() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.List |
getAreVisible() |
java.awt.Font |
getFont()
Devuelve la fuente que esta utilizando.
|
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.util.List |
getNameLayers() |
int |
getQuality()
Devuelve un entero que representa la calidad que está seleccionada.
|
int |
getViewing()
Devuelve un entero que representa la forma en que se actualiza la vista.
|
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 properties) |
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAreVisible(java.util.List areVisible) |
void |
setFont(java.awt.Font f)
Rellena la fuente a utilizar al dibujar los String sobre el graphics.
|
void |
setNameLayers(java.util.List nameLayers) |
void |
setQuality(int q)
Rellena la calidad que se quiere aplicar.
|
void |
setViewing(int v)
Rellena la forma de actualizar la vista.
|
void |
toFFrames(LayoutContext layout)
Transforma el FFrameLegend en diferentes FFrameSymbol y FFrameText.
|
clone, getFFrameDependence, refreshDependence, setFFrameDependence
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, setBoundBox, setDocument, setFrameFactory, setLayoutContext, setLevel, setNum, setRotation, setSelected, setSelected, setTag, updateRect
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFFrameDependence, refreshDependence, setFFrameDependence
cloneQuietly, cloneQuietly
public static final java.lang.String PERSISTENCE_DEFINITION_NAME
public void setQuality(int q)
q
- entero que representa la calidad a aplicar.public int getQuality()
public int getViewing()
public void setViewing(int v)
v
- entero que representa la forma de actualizar la vista.public void draw(java.awt.Graphics2D g, java.awt.geom.AffineTransform at, java.awt.geom.Rectangle2D rv, java.awt.image.BufferedImage imgBase)
public void toFFrames(LayoutContext layout)
layout
- Layout sobre el que añadir los FFrame nuevos y sobre el
que elimnar el FFrameLegend anterior.public void setFont(java.awt.Font f)
f
- Font.public java.awt.Font getFont()
public java.lang.String getNameFFrame()
IFFrame
getNameFFrame
in interface IFFrame
public java.lang.String getName()
IFFrame
public void print(java.awt.Graphics2D g, java.awt.geom.AffineTransform at, Geometry geom, PrintAttributes properties)
print
in interface IPrintable
public void initialize()
public void setNameLayers(java.util.List nameLayers)
public void setAreVisible(java.util.List areVisible)
public java.util.List getNameLayers()
public java.util.List getAreVisible()
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