jimm.datavision.gui
Class DesignWin

java.lang.Object
  extended by jimm.datavision.gui.Designer
      extended by jimm.datavision.gui.DesignWin
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.util.Observer

public class DesignWin
extends Designer

The main GUI Report design window.

Author:
Jim Menard, jimm@io.com

Field Summary
 
Fields inherited from class jimm.datavision.gui.Designer
aggrItem, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_SNAP_TO_GRID, ALIGN_TOP, alignSubmenu, borderItem, boundsItem, chooser, commandHistory, connectionItem, copyItem, cutItem, defaultFormatItem, delGroupItem, delSectionItem, delSelectionItem, designWindows, exitWhenLastWindowClosed, exportItem, formatItem, frame, GRID_SIZE, groupByItem, groupItem, ignoreKeys, paperSizeSubmenu, pasteItem, placingNewTextField, redoItem, report, reportFilePath, rootPaneContainer, runItem, scroller, sectionContainer, sectionWidgets, sectItem, selectedFields, selectRecordsItem, SIZE_SAME_HEIGHT, SIZE_SAME_SIZE, SIZE_SAME_WIDTH, sizeSubmenu, sortByItem, sqlQueryTextItem, subreportItem, tableJoinItem, undoItem
 
Constructor Summary
DesignWin(java.io.File f)
          Constructor.
DesignWin(java.io.File f, java.lang.String databasePassword)
          Constructor.
 
Method Summary
protected  void buildWindow()
          Builds the window components.
 
Methods inherited from class jimm.datavision.gui.Designer
about, acceptNewTextField, action, action, actionPerformed, addCommand, addTitleField, addWindow, align, buildDatabaseMenu, buildEditMenu, buildFileMenu, buildFormatMenu, buildHelpMenu, buildInsertMenu, buildMenuBar, buildReportMenu, buildSections, buildSectionsInArea, changePaperOrientation, changePaperSize, closeMe, copySelectedFields, countSelectedFields, createImageField, createNewTextField, deleteGroupContaining, deleteSection, deleteSelectedFields, deleteSelectedFieldsAnd, deleteWindow, deselectAll, doDeleteSection, dragSelectedWidgets, enableMenuItems, exportReport, findSectionWidgetFor, findWindowFor, firstSelectedFieldWidget, getChooser, getFrame, getReport, getSectionWidgetUnder, help, insertSection, insertSectionBelow, insertSectionWidgetAfter, insertSubreport, invalidate, isPlacingNewTextField, maybeClose, maybeQuit, newReport, openAggregateWin, openBoundsWin, openDbConnWin, openDefaultFormatWin, openDescripWin, openFieldPickerWin, openFormatWin, openGroupWin, openNewGroupWin, openReport, openScriptingWin, openSortWin, openStartupScriptEditor, openVisTableWin, openWhereClauseEditor, paperSizeChanged, paste, performCommand, pickUp, placeNewTextField, putDown, readReport, rebuildGroups, rejectNewTextField, renameSectionWidgets, renameSectionWidgetsIn, runReport, savePrefsDir, saveReport, saveReportAs, select, setExitWhenLastWinClosed, setFieldVisibility, setIgnoreKeys, setPrefsDir, showSQL, size, snapToGrid, someSelectedFieldUsesFormat, startStretching, stopStretching, update, updatePaperSizeMenu, withSelectedFieldsDo, withWidgetsDo, writeReportFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignWin

public DesignWin(java.io.File f)
Constructor. Reads the named report file or, if it's null, creates a new, empty report.

Parameters:
f - an XML report file; may be null

DesignWin

public DesignWin(java.io.File f,
                 java.lang.String databasePassword)
Constructor. Reads the named report file or, if it's null, creates a new, empty report.

Parameters:
f - an XML report file; may be null
databasePassword - string to give to report; OK if it's null
Method Detail

buildWindow

protected void buildWindow()
Builds the window components.

Overrides:
buildWindow in class Designer