Package com.ribsapp
Class RBApp
- java.lang.Object
-
- com.ribs.Ribs
-
- com.ribsapp.RBApp
-
public class RBApp extends Ribs
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 Constructor Description RBApp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RBDocument
getRibDocument(java.lang.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, java.lang.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
-
-
-
-
Method Detail
-
getRibDocument
public static RBDocument getRibDocument(java.lang.Object aSource)
Returns a ribs document from the given source and owner.
-
writeRibDocument
public static void writeRibDocument(RBDocument aDoc, java.lang.String aPath)
Writes the given Ribs document to the given path.
-
showController
public static void showController(RBDocument aDoc)
Opens the sample Controller.java file, customizes it for given document and opens it.
-
groupInPanel
public static void groupInPanel(RMEditor anEditor)
Group currently selected RJShapes in RJPanel.
-
groupInScrollPane
public static void groupInScrollPane(RMEditor anEditor)
Group currently selected RJShapes in RJScrollPane.
-
groupInSplitPane
public static void groupInSplitPane(RMEditor anEditor)
Group currently selected RJShapes in one or more RJSplitPanes.
-
-