All Packages This Package Class Hierarchy Class Search Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----jkp.awt.FrameFix
|
+----jkp.awt.ClosingFrame
|
+----jkp.geometry.mesh.awt.MeshFrameMenu
|
+----jkp.geometry.mesh.awt.MeshFrame
| Summary |
public class MeshFrame
extends jkp.geometry.mesh.awt.MeshFrameMenu
implements jkp.awt.event.ActionPerformedOnAListener,
jkp.awt.event.ActionPerformedOnBListener,
jkp.awt.event.ActionPerformedOnCListener
{
// Fields 11
private static final int DEFAULTGRIDSIZE;
static final String MAPEXT;
static final String TRIEXT;
static final String TXTEXT;
private int mode;
private MeshPanel mp;
private MandelParameterPanel mpp;
private String savedirectory;
private String saveurl;
private BorderedPanel sidepanel;
private Button verbosebutton;
// Constructors 2
public MeshFrame();
public MeshFrame(String);
// Methods 16
public final void actionPerformedOnA(ActionEvent);
public final void actionPerformedOnB(ActionEvent);
public final void actionPerformedOnC(ActionEvent);
protected void fileNew();
protected void fileOpenData(String);
protected void fileOpenFile();
protected void fileOpenURL();
protected void fileQuit();
protected void fileSaveAsMeshListing();
protected void fileSaveAsQuakeMap();
protected void fileSaveAsTriangleListing();
public void getGridFromFileName(String);
private boolean getGridFromInputStream(InputStream);
public void getGridFromURLName(String);
protected void helpAbout();
protected void helpContents();
}
The main frame for jkp.Mesh00.
| Fields |
· DEFAULTGRIDSIZE | Summary | Top |
private static final int DEFAULTGRIDSIZE
Default grid size.
· MAPEXT | Summary | Top |
static final String MAPEXT
Extension for Quake(tm) maps.
· TRIEXT | Summary | Top |
static final String TRIEXT
Extension for triangle listings.
· TXTEXT | Summary | Top |
static final String TXTEXT
Extension for mesh listings.
· mode | Summary | Top |
private int mode
Current mesh mode - terrain or Mandelbrot set.
· mp | Summary | Top |
private MeshPanel mp
Panel to display mesh, mesh statistics, mesh flags and mesh tolerances.
· mpp | Summary | Top |
private MandelParameterPanel mpp
The Mandelbrot set parameter panel.
· savedirectory | Summary | Top |
private String savedirectory
Last accessed file directory
· saveurl | Summary | Top |
private String saveurl
Last accessed URL
· sidepanel | Summary | Top |
private BorderedPanel sidepanel
Side panel when in Mandelbrot Set mode for Mandelbrot set parameters and Mesh verbose button (debug).
· verbosebutton | Summary | Top |
private Button verbosebutton
Turns on/off debug printing in class jkp.geometry.mesh.Mesh
| Constructors |
· MeshFrame | Summary | Top |
public MeshFrame()
Constructs a new MeshFrame with the default title.
· MeshFrame | Summary | Top |
public MeshFrame(String title)
Constructs a new MeshFrame with the given title.
Parameter Description title The title for this frame.
| Methods |
· actionPerformedOnA | Summary | Top |
public final void actionPerformedOnA(ActionEvent ae)
The "Re-grid" button the MandelParameterPanel was pressed.
Parameter Description ae The action performed event.
- Implements:
- actionPerformedOnA in interface ActionPerformedOnAListener
· actionPerformedOnB | Summary | Top |
public final void actionPerformedOnB(ActionEvent ae)
The "fix-mesh" button was pushed (currently disabled).
Parameter Description ae The action performed event.
- Implements:
- actionPerformedOnB in interface ActionPerformedOnBListener
· actionPerformedOnC | Summary | Top |
public final void actionPerformedOnC(ActionEvent ae)
The "verbose" button was pushed.
Parameter Description ae The action performed event.
- Implements:
- actionPerformedOnC in interface ActionPerformedOnCListener
· fileNew | Summary | Top |
protected void fileNew()
Create a new (default) mesh using the Mandelbrot set.
- Overrides:
- fileNew in class MeshFrameMenu
· fileOpenData | Summary | Top |
protected void fileOpenData(String dataname)
Open a built-in terrain data file.
Parameter Description dataname Built-in data file name to open.
- Overrides:
- fileOpenData in class MeshFrameMenu
· fileOpenFile | Summary | Top |
protected void fileOpenFile()
Open a terrain data file on the local disk system.
- Overrides:
- fileOpenFile in class MeshFrameMenu
· fileOpenURL | Summary | Top |
protected void fileOpenURL()
Open a terrain data file from a URL.
- Overrides:
- fileOpenURL in class MeshFrameMenu
· fileQuit | Summary | Top |
protected void fileQuit()
Exit the program.
- Overrides:
- fileQuit in class MeshFrameMenu
· fileSaveAsMeshListing | Summary | Top |
protected void fileSaveAsMeshListing()
Save mesh as a complete mesh listing (ASCII).
- Overrides:
- fileSaveAsMeshListing in class MeshFrameMenu
· fileSaveAsQuakeMap | Summary | Top |
protected void fileSaveAsQuakeMap()
Save mesh as a Quake(tm) .MAP 8^)
- Overrides:
- fileSaveAsQuakeMap in class MeshFrameMenu
· fileSaveAsTriangleListing | Summary | Top |
protected void fileSaveAsTriangleListing()
Save mesh as a list of triangles (three points per line).
- Overrides:
- fileSaveAsTriangleListing in class MeshFrameMenu
· getGridFromFileName | Summary | Top |
public void getGridFromFileName(String filename)
Load grid from the local disk system.
Parameter Description filename The file name of the data file.
· getGridFromInputStream | Summary | Top |
private boolean getGridFromInputStream(InputStream is)
Loads a grid from an InputStream.
Parameter Description is The input stream to read from.
- Returns:
- true if successful, false otherwise.
· getGridFromURLName | Summary | Top |
public void getGridFromURLName(String urlname)
Load the grid from the WWW.
Parameter Description urlname The URL of the data file.
· helpAbout | Summary | Top |
protected void helpAbout()
Display the vanity box.
- Overrides:
- helpAbout in class MeshFrameMenu
· helpContents | Summary | Top |
protected void helpContents()
Display the help screen.
- Overrides:
- helpContents in class MeshFrameMenu
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7