Package com.ribsapp
Class RBEditorUI
java.lang.Object
com.reportmill.editor.RMEditorUI
com.ribsapp.RBEditorUI
This RMEditor subclass customizes RMEditor behavior for Ribs.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.reportmill.editor.RMEditorUIRMEditorUI.EditorViewport
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidBuilds the binders list UI.Returns this editor ui's editor as RBEditor.static RBEditorReturns the main Ribs editor.static RBEditorUIReturns the main Ribs editor UI.static RBEditorUIgetRBEditorUI(RBEditor anEditor) Returns the editor ui for the given editor.Returns the currently selected binder for this editor.getUI()Returns the UI for the editor.booleanReturns whether binder panel is visible or hidden.booleanReturns whether controller is selected.Creates a new editor window for a new document.Creates a new editor window by opening the document from the given source.static voidpreviewXML(RMEditor anEditor) Preview XML.voidresetUI()Updates Swing UI controls from current selection.voidUpdates current selection from UI controls.voidrevert()Reloads the current editor document from the last saved version.voidRuns the welcome panel.voidSaves the current editor document to the given path.voidsetBindersPanelVisible(boolean aValue) Make binder panel visible or hidden.voidsetSelectedBinder(RBListBinder aBinder) Sets the currently selected binder for this editor.voidOverridden from RMEditor to suppress editor resize behavior.Methods inherited from class com.reportmill.editor.RMEditorUIclose, exportFlash, exportFlashHTML, exportPDF, getEditor, getEditor, getEditorCount, getEditorUI, getMainEditor, getMainEditorUI, getWindow, open, openSample, previewApplet, previewCSV, previewFlash, previewHTML, previewJPG, previewPDF, previewPNG, previewXML, quit, removeEditor, reset, save, saveAs, setEditor, setMainEditorUI, setUI, showPopupMenu, toggleRulers, windowShouldClose
- 
Constructor Details- 
RBEditorUIpublic RBEditorUI()
 
- 
- 
Method Details- 
getUIReturns the UI for the editor.- Overrides:
- getUIin class- RMEditorUI
 
- 
resetUIpublic void resetUI()Updates Swing UI controls from current selection.- Overrides:
- resetUIin class- RMEditorUI
 
- 
respondUIUpdates current selection from UI controls.- Overrides:
- respondUIin class- RMEditorUI
 
- 
getMainRBEditorUIReturns the main Ribs editor UI.
- 
getMainRBEditorReturns the main Ribs editor.
- 
getRBEditorUIReturns the editor ui for the given editor.
- 
getEditorRBReturns this editor ui's editor as RBEditor.
- 
newDocumentCreates a new editor window for a new document.- Overrides:
- newDocumentin class- RMEditorUI
 
- 
openCreates a new editor window by opening the document from the given source.- Overrides:
- openin class- RMEditorUI
 
- 
saveAsSaves the current editor document to the given path.- Overrides:
- saveAsin class- RMEditorUI
 
- 
revertpublic void revert()Reloads the current editor document from the last saved version.- Overrides:
- revertin class- RMEditorUI
 
- 
previewXMLPreview XML.
- 
isControllerSelectedpublic boolean isControllerSelected()Returns whether controller is selected.
- 
getSelectedBinderReturns the currently selected binder for this editor.
- 
setSelectedBinderSets the currently selected binder for this editor.
- 
isBindersPanelVisiblepublic boolean isBindersPanelVisible()Returns whether binder panel is visible or hidden.
- 
setBindersPanelVisiblepublic void setBindersPanelVisible(boolean aValue) Make binder panel visible or hidden.
- 
buildBindersListpublic void buildBindersList()Builds the binders list UI.
- 
runWelcomepublic void runWelcome()Runs the welcome panel.- Overrides:
- runWelcomein class- RMEditorUI
 
- 
windowDidResizepublic void windowDidResize()Overridden from RMEditor to suppress editor resize behavior. RBEditor.rib sets minimum sizes for the editor, which is handled by RJPanel, so having a second windowsize constrainer just causes problems.- Overrides:
- windowDidResizein class- RMEditorUI
 
 
-