Ontimize 5.2072EN

com.ontimize.report
Class ReportDesigner

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.ontimize.report.ReportDesigner
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, Internationalization, java.awt.MenuContainer, java.io.Serializable, javax.swing.event.TableModelListener

public class ReportDesigner
extends javax.swing.JPanel
implements javax.swing.event.TableModelListener, Internationalization

See Also:
Serialized Form

Nested Class Summary
static class ReportDesigner.AbstractReportComponent
           
static class ReportDesigner.AbstractTextReportComponent
           
static class ReportDesigner.BackgroundProperty
           
static class ReportDesigner.BasicReportDefinition
           
protected static class ReportDesigner.BasicReportGroup
           
protected static class ReportDesigner.BasicReportSection
           
static class ReportDesigner.BoldProperty
           
static class ReportDesigner.BooleanPageProperty
           
static class ReportDesigner.BooleanProperty
           
static class ReportDesigner.ColorProperty
           
protected static class ReportDesigner.ColumnListWindow
           
protected  class ReportDesigner.CommandHandler
           
 class ReportDesigner.ConfigureWindow
           
static class ReportDesigner.ContentPanel
           
protected  class ReportDesigner.CustomSplitPane
           
protected static class ReportDesigner.CustomSplitPaneUI
           
static class ReportDesigner.DynamicProperty
           
static class ReportDesigner.FileResource
           
static class ReportDesigner.FontNameProperty
           
static class ReportDesigner.FontSizeProperty
           
static class ReportDesigner.ForegroundProperty
           
static class ReportDesigner.FormatProperty
           
static class ReportDesigner.FunctionHandler
           
static class ReportDesigner.FunctionWindow
           
protected  class ReportDesigner.GroupDefinition
           
protected  class ReportDesigner.GroupModel
           
protected  class ReportDesigner.GroupWindow
           
static class ReportDesigner.HAlignProperty
           
static class ReportDesigner.HeightProperty
           
static class ReportDesigner.ItalicProperty
           
static class ReportDesigner.KeepAspectRatioProperty
           
static class ReportDesigner.MarginProperty
           
static class ReportDesigner.MultiProperty
           
static class ReportDesigner.NameProperty
           
static class ReportDesigner.OrientationProperty
           
static class ReportDesigner.PageFormatProperty
           
protected  class ReportDesigner.PageResizeHandler
           
protected  class ReportDesigner.PanelHandler
           
static class ReportDesigner.Property
           
static class ReportDesigner.PropertyModel
           
static class ReportDesigner.PropertySection
           
static class ReportDesigner.PropertyWindow
           
static interface ReportDesigner.ReportComponent
           
static interface ReportDesigner.ReportDefinition
           
static class ReportDesigner.ReportDesignerButton
           
static class ReportDesigner.ReportFunctionField
           
static interface ReportDesigner.ReportGroup
           
static class ReportDesigner.ReportImage
           
static class ReportDesigner.ReportImagenField
           
static interface ReportDesigner.ReportImageProperty
           
static class ReportDesigner.ReportLabel
           
static class ReportDesigner.ReportLine
           
static interface ReportDesigner.ReportProperty
           
static class ReportDesigner.ReportRectangle
           
static interface ReportDesigner.ReportResource
           
static interface ReportDesigner.ReportSection
           
static class ReportDesigner.ReportTextField
           
protected  class ReportDesigner.RuleH
           
static class ReportDesigner.ScaleProperty
           
static class ReportDesigner.SRCProperty
           
static class ReportDesigner.TextProperty
           
static interface ReportDesigner.TextReportComponent
           
protected static class ReportDesigner.ToggleReportDesignerButton
           
static class ReportDesigner.TranslateComboBox
           
static class ReportDesigner.TranslateListRenderer
          ListCellRenderer used to translate the texts.
static class ReportDesigner.TranslateTableCellRenderer
          TableCellRenderer used to translate the texts.
static class ReportDesigner.TypeProperty
           
static class ReportDesigner.UnderlineProperty
           
static class ReportDesigner.VAlignProperty
           
static class ReportDesigner.WatermarkWindow
           
static class ReportDesigner.WeightProperty
           
static class ReportDesigner.WidthProperty
           
static class ReportDesigner.X1Property
           
static class ReportDesigner.X2Property
           
static class ReportDesigner.XMLReader
           
static class ReportDesigner.XMLWriter
           
static class ReportDesigner.Y1Property
           
static class ReportDesigner.Y2Property
           
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  javax.swing.JToggleButton bCursor
           
protected  javax.swing.JButton bFunction
           
protected  javax.swing.JButton bGroup
           
protected  javax.swing.JToggleButton bLabel
           
static java.lang.String BLACK
           
protected  javax.swing.JToggleButton bLine
           
static java.lang.String BLUE
           
protected  javax.swing.JButton bNew
           
protected  javax.swing.JButton bOpen
           
protected  javax.swing.JButton bProperties
           
protected  javax.swing.JToggleButton bRectangle
           
protected  javax.swing.JButton bSave
           
protected  javax.swing.JToggleButton bStringField
           
protected  java.util.ResourceBundle bundle
           
protected  javax.swing.JButton bWatermark
           
protected  ReportDesigner.ColumnListWindow columnWindow
           
protected  ReportDesigner.CommandHandler commandHandler
           
static java.lang.String CYAN
           
static java.lang.String DARKBLUE
           
static java.lang.String DARKGRAY
           
static boolean DEBUG
           
protected  javax.swing.JFileChooser fc
           
static java.lang.String foot
           
protected  java.lang.String format
           
protected  ReportDesigner.FunctionHandler functionHandler
           
protected  java.lang.String[] functions
           
static java.lang.String GRAY
           
static java.lang.String GREEN
           
protected  java.util.ArrayList groupArrayList
           
protected  java.util.ArrayList groupFooterPanel
           
protected  java.util.ArrayList groupFooterSections
           
protected  java.util.ArrayList groupFooterSplit
           
protected  java.util.ArrayList groupHeaderPanels
           
protected  java.util.ArrayList groupHeaderSections
           
protected  java.util.ArrayList groupHeaderSplit
           
protected  ReportDesigner.PanelHandler handler
           
static java.lang.String head
           
protected  javax.swing.JToggleButton imageButton
           
protected  javax.swing.JToggleButton imageFieldButton
           
protected  ReportDesigner.ContentPanel itemPanel
           
protected  com.ontimize.report.ReportDesigner.SectionPanel itemSection
           
static java.lang.String LIGHTGRAY
           
static java.lang.String MAGENTA
           
protected  java.awt.Insets margin
           
protected  javax.swing.table.TableModel model
           
static java.lang.String ORANGE
           
protected  int orientation
           
protected  ReportDesigner.ContentPanel pageFooterPanel
           
protected  com.ontimize.report.ReportDesigner.SectionPanel pageFooterSection
           
protected  javax.swing.JSplitPane pageFooterSplit
           
protected  java.awt.print.PageFormat pageFormat
           
protected  ReportDesigner.ContentPanel pageHeaderPanel
           
protected  com.ontimize.report.ReportDesigner.SectionPanel pageHeaderSection
           
protected  javax.swing.JSplitPane pageHeaderSplit
           
static java.lang.String PINK
           
protected  javax.swing.JPanel pPage
           
static java.lang.String RED
           
protected  ReportDesigner.ContentPanel reportFooterPanel
           
protected  com.ontimize.report.ReportDesigner.SectionPanel reportFooterSection
           
protected  javax.swing.JSplitPane reportFooterSplit
           
protected  ReportDesigner.ContentPanel reportHeaderPanel
           
protected  com.ontimize.report.ReportDesigner.SectionPanel reportHeaderSection
           
protected  javax.swing.JSplitPane reportHeaderSplit
           
protected  javax.swing.JScrollPane scroll
           
protected  java.lang.String selectedCommand
           
protected  javax.swing.JSplitPane splitItems
           
protected  com.ontimize.report.ReportDesigner.StatusBar statusBar
           
protected  boolean template
           
protected  javax.swing.JToolBar toolbar
           
protected  javax.swing.JPanel viewPanel
           
protected  ReportDesigner.ContentPanel watermarkPanel
           
protected  ReportDesigner.WatermarkWindow watermarkWindow
           
static java.lang.String WHITE
           
static java.lang.String YELLOW
           
 
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 com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS
 
Constructor Summary
ReportDesigner(java.util.ResourceBundle bundle, boolean plantilla)
           
ReportDesigner(java.net.URL url, java.util.ResourceBundle bundle, boolean plantilla)
           
 
Method Summary
 void addField(java.lang.String name, ReportDesigner.ContentPanel content)
           
 void addField(java.lang.String name, ReportDesigner.ContentPanel content, java.lang.String type, java.lang.String formato)
           
 boolean addField(java.lang.String name, java.lang.String type)
           
protected  ReportDesigner.ContentPanel addFooter(java.lang.String name)
           
protected  void addFooter(java.lang.String name, int position)
           
 void addFunction(ReportDesigner.FunctionWindow.FunctionDefinition newFunction)
           
protected  void addGroup(ReportDesigner.GroupDefinition actual)
           
protected  int[] addGroup(ReportDesigner.ReportGroup group)
           
protected  ReportDesigner.ContentPanel addHeader(java.lang.String name)
           
protected  void addHeader(java.lang.String name, int position)
           
protected  void changeFooterName(java.lang.String name, int position)
           
protected  void changeHeaderName(java.lang.String name, int position)
           
protected  void clearReport()
           
protected  void clearReport(boolean op)
           
static java.awt.Color colorNameToColor(java.lang.String name)
           
static java.lang.String colorToColorName(java.awt.Color c)
           
protected  com.ontimize.report.ReportDesigner.StatusBar createStatusBar()
           
protected  javax.swing.JToolBar createToolBar()
           
protected  void deleteFooter(int position)
           
protected  void deleteGroup(ReportDesigner.GroupDefinition actual)
           
protected  void deleteHeader(int position)
           
protected  boolean existInItems(java.lang.String name)
           
static java.lang.String functionOfName(java.lang.String name, java.lang.String[] function)
           
static javax.swing.JFrame getDesigner(java.awt.Image image, javax.swing.table.TableModel m, java.util.ResourceBundle bundle)
           
static ReportDesigner getDesigner(java.util.List columns, java.util.List types, java.util.ResourceBundle bundle)
           
protected  int getFooterPosition(ReportDesigner.GroupDefinition actual)
           
protected  int getHeaderPosition(ReportDesigner.GroupDefinition actual)
           
 java.awt.print.PageFormat getPageFormat()
           
 java.lang.String getPageFormatName()
           
 int getPageHeight()
           
 java.awt.Dimension getPaperDimension()
           
 int getReportComponentCount()
           
protected  ReportDesigner.ReportDefinition getReportDefinition()
           
 java.lang.String getReportOrientation()
           
 java.util.Vector getReportTextFields()
           
 java.util.Vector getTextsToTranslate()
          Returns all the texts in the element suitable for being translated.
 void init()
           
static void main(java.lang.String[] args)
           
static java.lang.String[] nameOfFunction(java.lang.String[] function)
           
protected  void newReport(java.awt.Component c)
           
protected  void openRd(ReportDesigner.ReportDefinition rd)
           
protected  void openReport()
           
protected  void openReport(ReportDesigner.ReportDefinition rd)
           
protected  void openReport(java.lang.String url)
           
protected  void openReport(java.net.URL url)
           
 void redimensionPaper()
           
protected  void registerKeyBindings()
           
 java.lang.String saveReport()
           
 void setColumnListTypes(java.util.List list, java.util.List types)
           
 void setComponentLocale(java.util.Locale l)
           
protected  void setHeights(int[] alturas)
           
 void setPageFormat(java.lang.String pf)
           
 void setPageHeight(int h)
           
 void setReportOrientation(java.lang.String s)
           
 void setResourceBundle(java.util.ResourceBundle recursos)
          Sets the language resource bundle.
 void setTableModel(javax.swing.table.TableModel m)
           
 void synchronizeReportEntity()
           
 void tableChanged(javax.swing.event.TableModelEvent e)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG

head

public static java.lang.String head

foot

public static java.lang.String foot

pPage

protected javax.swing.JPanel pPage

reportHeaderSplit

protected javax.swing.JSplitPane reportHeaderSplit

reportFooterSplit

protected javax.swing.JSplitPane reportFooterSplit

pageHeaderSplit

protected javax.swing.JSplitPane pageHeaderSplit

pageFooterSplit

protected javax.swing.JSplitPane pageFooterSplit

splitItems

protected javax.swing.JSplitPane splitItems

groupHeaderSplit

protected java.util.ArrayList groupHeaderSplit

groupFooterSplit

protected java.util.ArrayList groupFooterSplit

reportHeaderPanel

protected ReportDesigner.ContentPanel reportHeaderPanel

reportFooterPanel

protected ReportDesigner.ContentPanel reportFooterPanel

pageHeaderPanel

protected ReportDesigner.ContentPanel pageHeaderPanel

pageFooterPanel

protected ReportDesigner.ContentPanel pageFooterPanel

itemPanel

protected ReportDesigner.ContentPanel itemPanel

groupHeaderPanels

protected java.util.ArrayList groupHeaderPanels

groupFooterPanel

protected java.util.ArrayList groupFooterPanel

groupArrayList

protected java.util.ArrayList groupArrayList

reportHeaderSection

protected com.ontimize.report.ReportDesigner.SectionPanel reportHeaderSection

pageHeaderSection

protected com.ontimize.report.ReportDesigner.SectionPanel pageHeaderSection

pageFooterSection

protected com.ontimize.report.ReportDesigner.SectionPanel pageFooterSection

reportFooterSection

protected com.ontimize.report.ReportDesigner.SectionPanel reportFooterSection

itemSection

protected com.ontimize.report.ReportDesigner.SectionPanel itemSection

watermarkPanel

protected ReportDesigner.ContentPanel watermarkPanel

watermarkWindow

protected ReportDesigner.WatermarkWindow watermarkWindow

groupHeaderSections

protected java.util.ArrayList groupHeaderSections

groupFooterSections

protected java.util.ArrayList groupFooterSections

margin

protected java.awt.Insets margin

format

protected java.lang.String format

pageFormat

protected java.awt.print.PageFormat pageFormat

orientation

protected int orientation

functions

protected java.lang.String[] functions

bundle

protected java.util.ResourceBundle bundle

template

protected boolean template

functionHandler

protected ReportDesigner.FunctionHandler functionHandler

scroll

protected javax.swing.JScrollPane scroll

viewPanel

protected javax.swing.JPanel viewPanel

handler

protected ReportDesigner.PanelHandler handler

toolbar

protected javax.swing.JToolBar toolbar

statusBar

protected com.ontimize.report.ReportDesigner.StatusBar statusBar

commandHandler

protected ReportDesigner.CommandHandler commandHandler

fc

protected javax.swing.JFileChooser fc

model

protected javax.swing.table.TableModel model

columnWindow

protected ReportDesigner.ColumnListWindow columnWindow

selectedCommand

protected java.lang.String selectedCommand

bCursor

protected javax.swing.JToggleButton bCursor

bLine

protected javax.swing.JToggleButton bLine

bRectangle

protected javax.swing.JToggleButton bRectangle

bLabel

protected javax.swing.JToggleButton bLabel

bStringField

protected javax.swing.JToggleButton bStringField

imageFieldButton

protected javax.swing.JToggleButton imageFieldButton

imageButton

protected javax.swing.JToggleButton imageButton

bSave

protected javax.swing.JButton bSave

bNew

protected javax.swing.JButton bNew

bOpen

protected javax.swing.JButton bOpen

bGroup

protected javax.swing.JButton bGroup

bProperties

protected javax.swing.JButton bProperties

bWatermark

protected javax.swing.JButton bWatermark

bFunction

protected javax.swing.JButton bFunction

GRAY

public static final java.lang.String GRAY
See Also:
Constant Field Values

BLACK

public static final java.lang.String BLACK
See Also:
Constant Field Values

BLUE

public static final java.lang.String BLUE
See Also:
Constant Field Values

RED

public static final java.lang.String RED
See Also:
Constant Field Values

YELLOW

public static final java.lang.String YELLOW
See Also:
Constant Field Values

CYAN

public static final java.lang.String CYAN
See Also:
Constant Field Values

DARKGRAY

public static final java.lang.String DARKGRAY
See Also:
Constant Field Values

GREEN

public static final java.lang.String GREEN
See Also:
Constant Field Values

LIGHTGRAY

public static final java.lang.String LIGHTGRAY
See Also:
Constant Field Values

MAGENTA

public static final java.lang.String MAGENTA
See Also:
Constant Field Values

ORANGE

public static final java.lang.String ORANGE
See Also:
Constant Field Values

PINK

public static final java.lang.String PINK
See Also:
Constant Field Values

WHITE

public static final java.lang.String WHITE
See Also:
Constant Field Values

DARKBLUE

public static final java.lang.String DARKBLUE
See Also:
Constant Field Values
Constructor Detail

ReportDesigner

public ReportDesigner(java.net.URL url,
                      java.util.ResourceBundle bundle,
                      boolean plantilla)

ReportDesigner

public ReportDesigner(java.util.ResourceBundle bundle,
                      boolean plantilla)
Method Detail

setTableModel

public void setTableModel(javax.swing.table.TableModel m)

setColumnListTypes

public void setColumnListTypes(java.util.List list,
                               java.util.List types)

init

public void init()

registerKeyBindings

protected void registerKeyBindings()

addFunction

public void addFunction(ReportDesigner.FunctionWindow.FunctionDefinition newFunction)

addField

public boolean addField(java.lang.String name,
                        java.lang.String type)

addField

public void addField(java.lang.String name,
                     ReportDesigner.ContentPanel content)

addField

public void addField(java.lang.String name,
                     ReportDesigner.ContentPanel content,
                     java.lang.String type,
                     java.lang.String formato)

setPageFormat

public void setPageFormat(java.lang.String pf)

getPageHeight

public int getPageHeight()

setPageHeight

public void setPageHeight(int h)

getPageFormat

public java.awt.print.PageFormat getPageFormat()

getPageFormatName

public java.lang.String getPageFormatName()

getReportOrientation

public java.lang.String getReportOrientation()

setReportOrientation

public void setReportOrientation(java.lang.String s)

redimensionPaper

public void redimensionPaper()

getPaperDimension

public java.awt.Dimension getPaperDimension()

createStatusBar

protected com.ontimize.report.ReportDesigner.StatusBar createStatusBar()

getReportTextFields

public java.util.Vector getReportTextFields()

synchronizeReportEntity

public void synchronizeReportEntity()

getReportComponentCount

public int getReportComponentCount()

existInItems

protected boolean existInItems(java.lang.String name)

newReport

protected void newReport(java.awt.Component c)

createToolBar

protected javax.swing.JToolBar createToolBar()

getHeaderPosition

protected int getHeaderPosition(ReportDesigner.GroupDefinition actual)

getFooterPosition

protected int getFooterPosition(ReportDesigner.GroupDefinition actual)

tableChanged

public void tableChanged(javax.swing.event.TableModelEvent e)
Specified by:
tableChanged in interface javax.swing.event.TableModelListener

deleteHeader

protected void deleteHeader(int position)

deleteFooter

protected void deleteFooter(int position)

addHeader

protected void addHeader(java.lang.String name,
                         int position)

changeHeaderName

protected void changeHeaderName(java.lang.String name,
                                int position)

changeFooterName

protected void changeFooterName(java.lang.String name,
                                int position)

addHeader

protected ReportDesigner.ContentPanel addHeader(java.lang.String name)

addFooter

protected void addFooter(java.lang.String name,
                         int position)

addFooter

protected ReportDesigner.ContentPanel addFooter(java.lang.String name)

addGroup

protected void addGroup(ReportDesigner.GroupDefinition actual)

deleteGroup

protected void deleteGroup(ReportDesigner.GroupDefinition actual)

addGroup

protected int[] addGroup(ReportDesigner.ReportGroup group)

saveReport

public java.lang.String saveReport()

clearReport

protected void clearReport()

clearReport

protected void clearReport(boolean op)

openReport

protected void openReport()

openReport

protected void openReport(ReportDesigner.ReportDefinition rd)

openReport

protected void openReport(java.net.URL url)

openReport

protected void openReport(java.lang.String url)

openRd

protected void openRd(ReportDesigner.ReportDefinition rd)

setHeights

protected void setHeights(int[] alturas)

getDesigner

public static javax.swing.JFrame getDesigner(java.awt.Image image,
                                             javax.swing.table.TableModel m,
                                             java.util.ResourceBundle bundle)

getDesigner

public static ReportDesigner getDesigner(java.util.List columns,
                                         java.util.List types,
                                         java.util.ResourceBundle bundle)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

colorNameToColor

public static java.awt.Color colorNameToColor(java.lang.String name)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

colorToColorName

public static java.lang.String colorToColorName(java.awt.Color c)

nameOfFunction

public static java.lang.String[] nameOfFunction(java.lang.String[] function)

functionOfName

public static java.lang.String functionOfName(java.lang.String name,
                                              java.lang.String[] function)

getReportDefinition

protected ReportDesigner.ReportDefinition getReportDefinition()

getTextsToTranslate

public java.util.Vector getTextsToTranslate()
Description copied from interface: Internationalization
Returns all the texts in the element suitable for being translated.

Specified by:
getTextsToTranslate in interface Internationalization
Returns:
all the texts in the element suitable for being translated.

setComponentLocale

public void setComponentLocale(java.util.Locale l)
Specified by:
setComponentLocale in interface Internationalization

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle recursos)
Description copied from interface: Internationalization
Sets the language resource bundle. When the application changes the configured language, for all the objects that implement this interface this method must be called with the new file.
The method must translate all the elements that have texts in the GUI

Specified by:
setResourceBundle in interface Internationalization
Parameters:
recursos - the new language bundle.

Ontimize