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.void
quit()
RMEditor IO method - callled when the app is about to exit to gracefully handle any open documents.void
revert()
Reloads the current editor document from the last saved version.void
Runs the welcome panel.void
save()
Saves the current editor document, running the save panel if needed.void
saveAs()
Saves the current editor document, running the save panel.void
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
-
Constructor Details
-
OWEditorUI
public OWEditorUI()
-
-
Method Details
-
getUI
Description copied from class:RMEditorUI
Returns the Swing UI panel for the editor window.- Overrides:
getUI
in classRMEditorUI
-
newDocument
Creates a new default editorUI.- Overrides:
newDocument
in classRMEditorUI
-
open
Creates a new editor window from an open panel.- Overrides:
open
in classRMEditorUI
-
open
Creates a new editor window by opening the document from the given source.- Overrides:
open
in classRMEditorUI
-
save
public void save()Saves the current editor document, running the save panel if needed.- Overrides:
save
in classRMEditorUI
-
saveAs
public void saveAs()Saves the current editor document, running the save panel.- Overrides:
saveAs
in classRMEditorUI
-
saveAs
Saves the current editor document to the given path.- Overrides:
saveAs
in classRMEditorUI
-
revert
public void revert()Reloads the current editor document from the last saved version.- Overrides:
revert
in classRMEditorUI
-
quit
public void quit()RMEditor IO method - callled when the app is about to exit to gracefully handle any open documents.- Overrides:
quit
in classRMEditorUI
-
runWelcome
public void runWelcome()Runs the welcome panel.- Overrides:
runWelcome
in classRMEditorUI
-