Package com.rmwin1
Class OWEditorUI
- java.lang.Object
-
- com.reportmill.editor.RMEditorUI
-
- com.rmwin1.OWEditorUI
-
public class OWEditorUI extends RMEditorUI
This class contains all of the methods to display and handle RMEditor UI methods.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.reportmill.editor.RMEditorUI
RMEditorUI.EditorViewport
-
-
Constructor Summary
Constructors Constructor Description OWEditorUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RJPanelgetUI()Returns the Swing UI panel for the editor window.RMEditorUInewDocument()Creates a new default editorUI.RMEditorUIopen()Creates a new editor window from an open panel.RMEditorUIopen(java.lang.Object aSource)Creates a new editor window by opening the document from the given source.voidquit()RMEditor IO method - callled when the app is about to exit to gracefully handle any open documents.voidrevert()Reloads the current editor document from the last saved version.voidrunWelcome()Runs the welcome panel.voidsave()Saves the current editor document, running the save panel if needed.voidsaveAs()Saves the current editor document, running the save panel.voidsaveAs(java.lang.String aPath)Saves the current editor document to the given path.-
Methods inherited from class com.reportmill.editor.RMEditorUI
close, exportFlash, exportFlashHTML, exportPDF, getEditor, getEditor, getEditorCount, getEditorUI, getMainEditor, getMainEditorUI, getWindow, openSample, previewApplet, previewCSV, previewFlash, previewHTML, previewJPG, previewPDF, previewPNG, previewXML, removeEditor, reset, resetUI, respondUI, setEditor, setMainEditorUI, setUI, showPopupMenu, toggleRulers, windowDidResize, windowShouldClose
-
-
-
-
Method Detail
-
getUI
public RJPanel getUI()
Description copied from class:RMEditorUIReturns the Swing UI panel for the editor window.- Overrides:
getUIin classRMEditorUI
-
newDocument
public RMEditorUI newDocument()
Creates a new default editorUI.- Overrides:
newDocumentin classRMEditorUI
-
open
public RMEditorUI open()
Creates a new editor window from an open panel.- Overrides:
openin classRMEditorUI
-
open
public RMEditorUI open(java.lang.Object aSource)
Creates a new editor window by opening the document from the given source.- Overrides:
openin classRMEditorUI
-
save
public void save()
Saves the current editor document, running the save panel if needed.- Overrides:
savein classRMEditorUI
-
saveAs
public void saveAs()
Saves the current editor document, running the save panel.- Overrides:
saveAsin classRMEditorUI
-
saveAs
public void saveAs(java.lang.String aPath)
Saves the current editor document to the given path.- Overrides:
saveAsin classRMEditorUI
-
revert
public void revert()
Reloads the current editor document from the last saved version.- Overrides:
revertin classRMEditorUI
-
quit
public void quit()
RMEditor IO method - callled when the app is about to exit to gracefully handle any open documents.- Overrides:
quitin classRMEditorUI
-
runWelcome
public void runWelcome()
Runs the welcome panel.- Overrides:
runWelcomein classRMEditorUI
-
-