Package com.rmwin1
Class OWEditorUI
java.lang.Object
com.reportmill.editor.RMEditorUI
com.rmwin1.OWEditorUI
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 -
Method Summary
Modifier and TypeMethodDescriptiongetUI()Returns the Swing UI panel for the editor window.Creates a new default editorUI.open()Creates a new editor window from an open panel.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.voidRuns 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.voidSaves 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
-
Constructor Details
-
OWEditorUI
public OWEditorUI()
-
-
Method Details
-
getUI
Description copied from class:RMEditorUIReturns the Swing UI panel for the editor window.- Overrides:
getUIin classRMEditorUI
-
newDocument
Creates a new default editorUI.- Overrides:
newDocumentin classRMEditorUI
-
open
Creates a new editor window from an open panel.- Overrides:
openin classRMEditorUI
-
open
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
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
-