|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
proyecto.impresion.EpSilonInforme
public class EpSilonInforme
Clase que modela los informes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected ResourceBundle |
rb
The rb. |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EpSilonInforme()
Constructor eEpSilonInforme. |
Method Summary | |
---|---|
protected void |
cambiaLookAndFeel(String asLookAndFeel)
Cambia look and feel. |
void |
cargaDatos(Object[] datos)
Carga el informe con el array de datos que le llega teniendo en cuenta que los campos del mismo deben ser iguales que los metodos getter sin el prefijo get por ejemplo: getNombre -> el campo debe ser = Nombre. |
void |
cargaDatos(Object[] datos,
Properties relacion)
Carga el informe con el array de datos que le llega teniendo en cuenta que la relacion entre los campos del mismo y los del objeto de datos se saca del segundo parametro. |
String |
getInforme()
Obtener el informe. |
int |
getNumeroPaginas()
Obtener el numero paginas. |
void |
imprime()
Imprime. |
void |
imprime(DatosExportar aDatos)
Imprime. |
boolean |
isToolbarVisible()
Verificamos si es toolbar visible. |
void |
setInforme(String asInforme)
Modificar la propiedad informe. |
void |
setParametros(Map param)
Modificar la propiedad de los parametros. |
void |
setParametrosSubreport(String[] param,
Object[] datosSubreports)
Agrega Datasources para realizar subreports. cada valor del array de String (nombre del parametro) se corresponde con el mismo valor del array datosSubreports y los agrega como parametros. |
void |
setResouceBundle(ResourceBundle traducciones)
Modificar la propiedad resouce bundle. |
void |
setToolbarVisible(boolean visible)
Modificar la propiedad toolbar visible. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ResourceBundle rb
Constructor Detail |
---|
public EpSilonInforme()
Method Detail |
---|
public void setToolbarVisible(boolean visible)
visible
- La propiedad toolbar visiblepublic boolean isToolbarVisible()
public void setResouceBundle(ResourceBundle traducciones)
traducciones
- La propiedad resouce bundlepublic void setInforme(String asInforme)
asInforme
- La propiedad informepublic String getInforme()
public void setParametros(Map param)
param
- La propiedad parametrospublic void setParametrosSubreport(String[] param, Object[] datosSubreports)
param
- the paramdatosSubreports
- the datos subreportspublic void cargaDatos(Object[] datos)
datos
- the datospublic void cargaDatos(Object[] datos, Properties relacion)
datos
- the datosrelacion
- the relacionprotected void cambiaLookAndFeel(String asLookAndFeel)
asLookAndFeel
- the as look and feelpublic void imprime()
public void imprime(DatosExportar aDatos)
aDatos
- the a datospublic int getNumeroPaginas()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |