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 RJPanel
getUI()
Returns the Swing UI panel for the editor window.RMEditorUI
newDocument()
Creates a new default editorUI.RMEditorUI
open()
Creates a new editor window from an open panel.RMEditorUI
open(java.lang.Object aSource)
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
runWelcome()
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
saveAs(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:RMEditorUI
Returns the Swing UI panel for the editor window.- Overrides:
getUI
in classRMEditorUI
-
newDocument
public RMEditorUI newDocument()
Creates a new default editorUI.- Overrides:
newDocument
in classRMEditorUI
-
open
public RMEditorUI open()
Creates a new editor window from an open panel.- Overrides:
open
in classRMEditorUI
-
open
public RMEditorUI open(java.lang.Object aSource)
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
public void saveAs(java.lang.String aPath)
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
-
-