public class FFramePicture extends FFrame
| Modifier and Type | Field and Description |
|---|---|
protected static RenderingHints |
defaultRenderingHints |
static String |
PERSISTENCE_DEFINITION_NAME |
e, frameFactory, lastAT, layoutManager, LOG, m_BoundBox, m_Selected, n, ne, no, num, o, observers, s, se, so| Constructor and Description |
|---|
FFramePicture()
Creates a new FFramePicture object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cloneActions(IFFrame frame) |
void |
draw(Graphics2D g,
AffineTransform at,
Rectangle2D rv,
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.
|
Dimension |
getBound(String file)
Devuelve la dimensión dela imagen.
|
String |
getName()
Devuelve el nombre que representa al fframe.
|
String |
getNameFFrame()
Devuelve el nombre que representa al tipo de FFrame.
|
String |
getPath()
Devuelve la ruta del fichero.
|
int |
getQuality()
Devuelve la calidad que está seleccionada.
|
int |
getViewing()
Devuelve un entero que representa la forma en que se actualiza la vista.
|
void |
initialize() |
Image |
load(String file)
Carga el contnido del fichero.
|
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 properties) |
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setImage(BufferedImage image)
Rellena la imagen.
|
void |
setPath(String path)
Rellena el nombre de la imagen.
|
void |
setQuality(int q)
Rellena la calidad según el entero que se pasa como parámetro.
|
void |
setViewing(int v)
Rellena la forma de actualizar la vista.
|
addObserver, clone, contains, deleteObserver, deleteObservers, dispose, doSetSelected, drawDraft, drawEmpty, drawHandlers, drawSymbolTag, frameAdded, frameRemoved, getBoundBox, getBoundingBox, getContains, getDocument, getFrameFactory, getLastMoveRect, getLayoutContext, getLevel, getMapCursor, getMovieRect, getRotation, getRotationAT, getSelected, getTag, getVisibleRect, initializeIcons, intersects, isSelected, setBoundBox, setDocument, setFrameFactory, setLayoutContext, setLevel, setNum, setRotation, setSelected, setSelected, setTag, updateRectpublic static final String PERSISTENCE_DEFINITION_NAME
protected static RenderingHints defaultRenderingHints
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, BufferedImage imgBase)
public void setQuality(int q)
q - entero que representa el tipo de calidad elegido.public int getQuality()
public int getViewing()
public void setViewing(int v)
v - entero que representa la forma de actualizar la vista.public void setPath(String path)
path - nombre de la imagen.public String getPath()
public void setImage(BufferedImage image)
image - public Dimension getBound(String file)
file - Nombre del fichero donde se encuentra la imagen.public Image load(String file)
file - Nombre del fichero a cargar.public String getNameFFrame()
IFFrameIFFrame.getNameFFrame()public String getName()
IFFramepublic void initialize()
public void cloneActions(IFFrame frame)
public void print(Graphics2D g, AffineTransform at, Geometry geom, PrintAttributes properties)
public static void registerPersistent()
public void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class FFramePersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class FFramePersistenceException