|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SalaInfo
public class SalaInfo
Implementa la clase SalaInfo
Field Summary | |
---|---|
static int |
INFOHORIZONTAL
|
static int |
INFOVERTICAL
|
static int |
LOGOHORIZONTAL
|
static int |
LOGOVERTICAL
|
static int |
MARCOHORIZONTAL
|
static int |
MARCOVERTICAL
|
Method Summary | |
---|---|
java.lang.String |
getLink()
return entrega el la direccion URL asociada al sector del piso |
java.lang.String |
getName()
return entrega el nombre de la sala seleccionada |
java.awt.image.BufferedImage |
loadImage(java.lang.String nombre)
Permite cargar la imagen asociada a la sala |
void |
paintComponent(java.awt.Graphics2D g2d)
Metodo que nos permite que la sala sea dibujable |
void |
set(int INFOHORIZONTAL,
int INFOVERTICAL,
int INFOANCHO,
int INFOALTO)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INFOVERTICAL
public static final int INFOHORIZONTAL
public static final int MARCOVERTICAL
public static final int MARCOHORIZONTAL
public static final int LOGOHORIZONTAL
public static final int LOGOVERTICAL
Method Detail |
---|
public void paintComponent(java.awt.Graphics2D g2d)
g2d
- Objeto graphics2d que permite dibujar la salapublic void set(int INFOHORIZONTAL, int INFOVERTICAL, int INFOANCHO, int INFOALTO)
public java.awt.image.BufferedImage loadImage(java.lang.String nombre)
nombre,
- string con el nombre correspondiente a la salapublic java.lang.String getLink()
public java.lang.String getName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |