Package com.ribsapp
Class RBTester
- java.lang.Object
-
- com.ribsapp.RBTester
-
public class RBTester extends java.lang.Object
Simple class to run Ribs preview apps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RBTester.GlassPane
An inner class to be a glass pane for the editor while testing rib files in editor window.
-
Constructor Summary
Constructors Constructor Description RBTester(java.lang.String[] args)
Creates new RibsTester.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RJPanel
getUI()
Returns test UI.static void
main(java.lang.String[] args)
Main method used to preview Ribs file as separate app.static void
previewRibFile(RBDocument aDoc, boolean previewJava)
Writes the given doc to temp file and either opens it as XML or previews it as skeleton Ribs app.static void
previewRibFile(RBDocument aDoc, boolean previewJava, java.lang.String lookAndFeelClassName)
Writes the given doc to temp file and either opens it as XML or previews it as skeleton Ribs app with the given L&F.
-
-
-
Method Detail
-
getUI
public RJPanel getUI()
Returns test UI.
-
previewRibFile
public static void previewRibFile(RBDocument aDoc, boolean previewJava)
Writes the given doc to temp file and either opens it as XML or previews it as skeleton Ribs app.
-
previewRibFile
public static void previewRibFile(RBDocument aDoc, boolean previewJava, java.lang.String lookAndFeelClassName)
Writes the given doc to temp file and either opens it as XML or previews it as skeleton Ribs app with the given L&F.
-
main
public static void main(java.lang.String[] args)
Main method used to preview Ribs file as separate app.
-
-