Package com.ribsapp
Class RBApp
java.lang.Object
com.ribs.Ribs
com.ribsapp.RBApp
This class provides a bunch of core functionality for loading and saving Ribs documents.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ribs.Ribs
Ribs.RibsAdapter, Ribs.RibsListener
-
Field Summary
Fields inherited from class com.ribs.Ribs
_lastControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RBDocument
getRibDocument
(Object aSource) Returns a ribs document from the given source and owner.static void
groupInPanel
(RMEditor anEditor) Group currently selected RJShapes in RJPanel.static void
groupInScrollPane
(RMEditor anEditor) Group currently selected RJShapes in RJScrollPane.static void
groupInSplitPane
(RMEditor anEditor) Group currently selected RJShapes in one or more RJSplitPanes.static void
showController
(RBDocument aDoc) Opens the sample Controller.java file, customizes it for given document and opens it.static void
writeRibDocument
(RBDocument aDoc, String aPath) Writes the given Ribs document to the given path.Methods inherited from class com.ribs.Ribs
addRibsListener, getAction, getBytes, getEventListener, getEventQueue, getHelper, getImage, getImage, getImageIcon, getImageIcon, getInputStream, getListener, getListenerCount, getRib, getRib, getValueIsAdjusting, init, isAltDown, isLoadingRibsDocument, isMetaDown, isMouseDown, isSendActionDisabled, removeRibsListener, reset, resetImmediately, sendAction, sendAction, setLoadingRibsDocument, setSendActionDisabled
-
Constructor Details
-
RBApp
public RBApp()
-
-
Method Details
-
getRibDocument
Returns a ribs document from the given source and owner. -
writeRibDocument
Writes the given Ribs document to the given path. -
showController
Opens the sample Controller.java file, customizes it for given document and opens it. -
groupInPanel
Group currently selected RJShapes in RJPanel. -
groupInScrollPane
Group currently selected RJShapes in RJScrollPane. -
groupInSplitPane
Group currently selected RJShapes in one or more RJSplitPanes.
-