Package com.ribsapp

Class RBTester

java.lang.Object
com.ribsapp.RBTester

public class RBTester extends Object
Simple class to run Ribs preview apps.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An inner class to be a glass pane for the editor while testing rib files in editor window.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RBTester(String[] args)
    Creates new RibsTester.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns test UI.
    static void
    main(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, 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RBTester

      public RBTester(String[] args)
      Creates new RibsTester.
  • Method Details

    • 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, 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(String[] args)
      Main method used to preview Ribs file as separate app.