Class Page

java.lang.Object
  |
  +--Symbol
        |
        +--Sub
              |
              +--Box
                    |
                    +--Page
All Implemented Interfaces:
java.awt.event.ActionListener, Aligner, AlignmentListener, DragableSymbol, Element, java.util.EventListener, java.io.Serializable

public class Page
extends Box

See Also:
Serialized Form

Field Summary
(package private)  double aspect
           
 Comp comp
           
(package private) static Page defpage
           
(package private)  java.io.File file
           
static int HEIGHTMODE
           
(package private)  boolean image
           
(package private)  Unit imageunit
           
(package private)  boolean index
           
(package private)  Unit mapunit
           
static int PIXELMODE
           
(package private)  PrefPage prefs
           
(package private)  double presolution
           
(package private)  int pressetting
           
(package private)  boolean printer
           
(package private)  Unit printerunit
           
static double PRINTWIDTH
           
(package private)  double resolution
           
(package private)  int ressetting
           
static int SCALEMODE
           
private static long serialVersionUID
           
(package private)  Stacking stack
           
(package private)  boolean usestack
           
(package private)  javax.swing.JCheckBox usestackbox
           
static int WIDTHMODE
           
 
Fields inherited from class Box
aspfield, bordercolor, bordercolorbox, bordersize, bordersizefield, borderstyle, borderstylefield, color, colorbox, fill, fillbutton, filllib, NOFILL
 
Fields inherited from class Sub
anchorpoint, botf, box, brandnew, cornerdrag, corners, dragpos, editaspect, editmodef, editrotation, editscale, handlex, handley, heightf, leftf, located, MINR, origin, pos, relativepos, rightf, showcorners, size, sizefield, sizewidth, subaspect, topf, widthf
 
Fields inherited from class Symbol
makenames, name, namefield
 
Fields inherited from interface Aligner
absolute, datum, floating
 
Constructor Summary
Page()
           
Page(java.awt.geom.Point2D where, View view, java.lang.Object arg)
           
 
Method Summary
 void abandonPropertyEdit()
           
 void acceptPropertyEdit()
           
 void copy(Page that)
           
 java.io.File getFile()
           
 java.awt.print.PageFormat getFormat(Unit globalmapunit)
           
 int getLevel()
           
 double getPosScale(Unit globalmapunit)
           
 java.awt.Dimension getPrintSize(Unit globalmapunit)
           
 void getPropertyEdit(java.lang.Object[] edits, int slot, java.util.Set sub, Symbol parent)
           
 java.awt.Dimension getPSSize(Unit globalmapunit)
           
 java.awt.Dimension getSize(int set, double res, Unit globalmapunit, double unit)
           
 java.awt.Dimension getSize(Unit globalmapunit)
           
 void paint(View view)
          Paint the borderary of the box.
 void print(View view, java.awt.print.PageFormat format)
           
 void print(View view, java.awt.print.PageFormat format, int lines)
           
 
Methods inherited from class Box
actionPerformed, getEditModes, getIn, paintContents
 
Methods inherited from class Sub
alignmentChanged, checkSize, clear, copy, drag, endDrag, getAlignTransform, getBounds, getPolar, getScale, getShape, init, locate, reshape, selectProbe, showAlignee, showAligner, showSelected, startDrag
 
Methods inherited from class Symbol
checkName, editProperties, getName, getNew, importSym, prepareForSurveyUpdate, recursiveDelete, setName, stripSurveys, toString, useSurveyUpdate, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

PRINTWIDTH

public static double PRINTWIDTH

WIDTHMODE

public static int WIDTHMODE

HEIGHTMODE

public static int HEIGHTMODE

PIXELMODE

public static int PIXELMODE

SCALEMODE

public static int SCALEMODE

defpage

static Page defpage

printer

boolean printer

index

boolean index

image

boolean image

resolution

double resolution

presolution

double presolution

aspect

double aspect

ressetting

int ressetting

pressetting

int pressetting

printerunit

Unit printerunit

imageunit

Unit imageunit

mapunit

Unit mapunit

file

java.io.File file

stack

Stacking stack

usestack

boolean usestack

comp

public Comp comp

prefs

transient PrefPage prefs

usestackbox

transient javax.swing.JCheckBox usestackbox
Constructor Detail

Page

public Page()

Page

public Page(java.awt.geom.Point2D where,
            View view,
            java.lang.Object arg)
Method Detail

copy

public void copy(Page that)

print

public void print(View view,
                  java.awt.print.PageFormat format)

print

public void print(View view,
                  java.awt.print.PageFormat format,
                  int lines)

getFormat

public java.awt.print.PageFormat getFormat(Unit globalmapunit)

getSize

public java.awt.Dimension getSize(Unit globalmapunit)

getPSSize

public java.awt.Dimension getPSSize(Unit globalmapunit)

getPrintSize

public java.awt.Dimension getPrintSize(Unit globalmapunit)

getSize

public java.awt.Dimension getSize(int set,
                                  double res,
                                  Unit globalmapunit,
                                  double unit)

getPosScale

public double getPosScale(Unit globalmapunit)

getFile

public java.io.File getFile()

paint

public void paint(View view)
Description copied from class: Box
Paint the borderary of the box. Unless overriden, that is all there is to see.

Overrides:
paint in class Box

getLevel

public int getLevel()
Overrides:
getLevel in class Box

getPropertyEdit

public void getPropertyEdit(java.lang.Object[] edits,
                            int slot,
                            java.util.Set sub,
                            Symbol parent)
Overrides:
getPropertyEdit in class Box

acceptPropertyEdit

public void acceptPropertyEdit()
Overrides:
acceptPropertyEdit in class Box

abandonPropertyEdit

public void abandonPropertyEdit()
Overrides:
abandonPropertyEdit in class Box