org.opensourcephysics.display3d.core
Interface DrawingFrame3D

All Known Implementing Classes:
Display3DFrame, DrawingFrame3D

public interface DrawingFrame3D

Title: DrawingFrame3D

Description: DrawingFrame3D is the recommended frame for a DrawingPanel3D

Version:
March 2005
Author:
Francisco Esquembre

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

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

DrawingPanel3D getDrawingPanel3D()
Gets the DrawingPanel3D

Returns:
DrawingPanel3D

getJFrame

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

Returns:
JFrame

setVisible

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

Parameters:
visibility - boolean