Package com.ribs

Class RJCustomView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RJCustomView extends JPanel
This class acts as a stand-in for classes not directly supported by the Ribs design application. This class encapsulates a class name, but when it's loaded into an application, it will try to instanciate a new instance of that class, and set all of the basic component attributes for that instance.

Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill <info@reportmill.com>.

See Also:
  • Constructor Details

    • RJCustomView

      public RJCustomView()
      Creates a new custom view.
    • RJCustomView

      public RJCustomView(JComponent aComponent)
      Creates a new custom view for a component.
  • Method Details

    • getClassName

      public String getClassName()
      Returns the class name for this custom view.
    • setClassName

      public void setClassName(String aValue)
      Sets the class name for this custom view.
    • paintComponent

      public void paintComponent(Graphics aGraphics)
      This method implements painting for the customview, which really should only appear in the design app.
      Overrides:
      paintComponent in class JComponent