|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kolls.railworld.io.MetaData
public class MetaData
A data holding class for the meta-data of a map.
| Field Summary | |
|---|---|
java.lang.String |
author
Name of the author. |
int |
centerX
The center X position shown on the display. |
int |
centerY
The center Y position shown on the display. |
java.lang.String |
comment
Comment about the map. |
double |
feetPerPixel
Distance scale. |
java.lang.String |
imgfile
The file name (without path) of the image. |
java.io.File |
ourFile
Represents the file that contains the map data; or, if none is yet determined, represents the directory that contains the image file. |
java.lang.String |
title
Map title. |
double |
track
Temporary variable, used for calculating the total length of track in feet. |
double |
zoom
Current zoom. |
| Constructor Summary | |
|---|---|
MetaData()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String imgfile
public java.lang.String author
public java.lang.String comment
public java.lang.String title
public java.io.File ourFile
null if the image and map are not files (e.g. URLs).
public int centerX
public int centerY
public double feetPerPixel
Distance class ASAP.
Distance.feetPerPixelspublic double zoom
RailCanvas.zoompublic double track
| Constructor Detail |
|---|
public MetaData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||