Class Size

java.lang.Object
  |
  +--FileDefaultable
        |
        +--Size
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable

public class Size
extends FileDefaultable
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static Size arrow
           
static java.lang.String ARROW
           
static java.util.TreeSet defaults
           
static java.util.TreeSet file
           
static java.util.TreeSet fixed
           
static Size handle
           
static java.lang.String HANDLE
           
static java.lang.String MAJOR
           
(package private)  Unit maxsize
           
static java.lang.String MEDIUM
           
static java.util.TreeSet mindefaults
           
(package private)  Unit minsize
           
(package private)  Unit minvisible
           
(package private)  java.lang.String name
           
static Size none
           
(package private)  MapScale oldscale
           
(package private)  double oldval
           
static java.lang.String PIXEL
           
static java.lang.String SECTIONLINE1
           
static java.lang.String SECTIONLINE2
           
static java.lang.String SECTIONMARGIN
           
static java.lang.String SECTIONTICK
           
private static long serialVersionUID
           
static java.lang.String SHOTLINE
           
(package private)  Unit size
           
static java.lang.String SMALL
           
static java.lang.String STALAB
           
static java.lang.String STAMARK
           
static java.lang.String TEXT
           
static java.lang.String TINY
           
 
Fields inherited from class FileDefaultable
curfile, defmap, filemap, fixedmap, minmap
 
Constructor Summary
Size(java.lang.String name)
           
Size(java.lang.String name, Unit minvisible, Unit minsize, Unit size, Unit maxsize)
           
 
Method Summary
 java.lang.Object clone()
           
 void copy(FileDefaultable thatitem)
           
 boolean edit(javax.swing.JFrame owner)
           
 java.lang.String getName()
           
 double getSize(MapScale scale)
           
static void main(java.lang.String[] args)
           
 java.lang.Object readResolve()
           
 
Methods inherited from class FileDefaultable
absorb, add, check, checkAll, cloneSet, compareTo, equals, getAll, getAll, getArray, getDefs, getExisting, getFile, getFixed, getGlobal, getMin, lookup, lookup, mergeDelete, mergeFile, seperate, sortOut, toString, toSuperString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

PIXEL

public static java.lang.String PIXEL

MAJOR

public static java.lang.String MAJOR

MEDIUM

public static java.lang.String MEDIUM

SMALL

public static java.lang.String SMALL

TINY

public static java.lang.String TINY

STALAB

public static java.lang.String STALAB

TEXT

public static java.lang.String TEXT

SHOTLINE

public static java.lang.String SHOTLINE

STAMARK

public static java.lang.String STAMARK

HANDLE

public static java.lang.String HANDLE

SECTIONTICK

public static java.lang.String SECTIONTICK

SECTIONMARGIN

public static java.lang.String SECTIONMARGIN

SECTIONLINE1

public static java.lang.String SECTIONLINE1

SECTIONLINE2

public static java.lang.String SECTIONLINE2

ARROW

public static java.lang.String ARROW

minvisible

Unit minvisible

minsize

Unit minsize

maxsize

Unit maxsize

size

Unit size

name

java.lang.String name

defaults

public static java.util.TreeSet defaults

mindefaults

public static java.util.TreeSet mindefaults

file

public static java.util.TreeSet file

fixed

public static java.util.TreeSet fixed

none

public static Size none

handle

public static Size handle

arrow

public static Size arrow

oldscale

transient MapScale oldscale

oldval

transient double oldval
Constructor Detail

Size

public Size(java.lang.String name)

Size

public Size(java.lang.String name,
            Unit minvisible,
            Unit minsize,
            Unit size,
            Unit maxsize)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class FileDefaultable

clone

public java.lang.Object clone()
Specified by:
clone in class FileDefaultable

copy

public void copy(FileDefaultable thatitem)
Specified by:
copy in class FileDefaultable

getSize

public double getSize(MapScale scale)

edit

public boolean edit(javax.swing.JFrame owner)
Specified by:
edit in class FileDefaultable

main

public static void main(java.lang.String[] args)

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Specified by:
readResolve in class FileDefaultable
java.io.ObjectStreamException