org.opensourcephysics.display3d.core
Interface DrawingFrame3D

All Known Implementing Classes:
DrawingFrame3D

public interface DrawingFrame3D

Title: DrawingFrame3D

Description: DrawingFrame3D is the recommended frame for a DrawingPanel3D


Nested Class Summary
static class DrawingFrame3D.Loader
           
 
Method Summary
 DrawingPanel3D getDrawingPanel3D()
          Gets the DrawingPanel3D
 javax.swing.JFrame getJFrame()
          Getting the pointer to the real JFrame in it
 void setDrawingPanel3D(DrawingPanel3D drawingPanel)
          Adds the drawing panel to the frame.
 void setVisible(boolean visibility)
          Showing and hiding the frame.
 

Method Detail

setDrawingPanel3D

public void setDrawingPanel3D(DrawingPanel3D drawingPanel)
Adds the drawing panel to the frame. The panel is added to the center of the frame's content pane.

Parameters:
drawingPanel -

getDrawingPanel3D

public DrawingPanel3D getDrawingPanel3D()
Gets the DrawingPanel3D

Returns:
DrawingPanel3D

getJFrame

public javax.swing.JFrame getJFrame()
Getting the pointer to the real JFrame in it

Returns:
JFrame

setVisible

public void setVisible(boolean visibility)
Showing and hiding the frame. Usually equals to getJFrame().setVisible(visibility);

Parameters:
visibility - boolean