Class PrefPage

java.lang.Object
  |
  +--PrefEditor
        |
        +--PrefPage
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable

public class PrefPage
extends PrefEditor
implements java.awt.event.ActionListener, java.io.Serializable, java.awt.event.ItemListener

See Also:
Serialized Form

Field Summary
 java.io.File file
           
(package private)  javax.swing.JLabel filelab
           
(package private)  javax.swing.JRadioButton hightbox
           
 boolean image
           
 Unit imageunit
           
(package private)  javax.swing.JComboBox imageunitbox
           
 boolean index
           
 Unit mapunit
           
(package private)  javax.swing.JComboBox mapunitbox
           
(package private)  javax.swing.JRadioButton phightbox
           
 double presolution
           
 int pressetting
           
 boolean printer
           
 Unit printerunit
           
(package private)  javax.swing.JComboBox printerunitbox
           
(package private)  javax.swing.JRadioButton pscalebox
           
(package private)  javax.swing.JRadioButton pwidthbox
           
 double resolution
           
 int ressetting
           
(package private)  javax.swing.JRadioButton scalebox
           
private static long serialVersionUID
           
(package private)  Page target
           
(package private)  javax.swing.JRadioButton unitbox
           
(package private)  javax.swing.JRadioButton widthbox
           
 
Fields inherited from class PrefEditor
dialog, fields, name, owner, pane, scroll, targets
 
Constructor Summary
PrefPage()
           
PrefPage(Page target)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void apply()
           
 void itemStateChanged(java.awt.event.ItemEvent ev)
           
 void newPane()
           
static java.io.File pickFile()
           
 java.lang.Object readResolve()
          Prefpages in files are obsolete.
 void save()
           
 
Methods inherited from class PrefEditor
abandon, addCheck, addCheck, addColor, addColor, addDouble, addDouble, addDouble, addInt, addInt, addlabeled, addlabeled, addRadio, addRadio, addString, addString, addUnit, addUnit, getBarePane, getPane, readDouble, readInt, reset, setParm, setParm, setParm, setParm, setParm, setRadio, setUnit, setUnit, setUnit, setup, skip, skip, toString, update
 
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

widthbox

transient javax.swing.JRadioButton widthbox

hightbox

transient javax.swing.JRadioButton hightbox

unitbox

transient javax.swing.JRadioButton unitbox

scalebox

transient javax.swing.JRadioButton scalebox

pwidthbox

transient javax.swing.JRadioButton pwidthbox

phightbox

transient javax.swing.JRadioButton phightbox

pscalebox

transient javax.swing.JRadioButton pscalebox

filelab

transient javax.swing.JLabel filelab

mapunitbox

transient javax.swing.JComboBox mapunitbox

imageunitbox

transient javax.swing.JComboBox imageunitbox

printerunitbox

transient javax.swing.JComboBox printerunitbox

printer

public boolean printer

index

public boolean index

image

public boolean image

resolution

public double resolution

presolution

public double presolution

ressetting

public int ressetting

pressetting

public int pressetting

file

public java.io.File file

target

Page target

imageunit

public Unit imageunit

printerunit

public Unit printerunit

mapunit

public Unit mapunit
Constructor Detail

PrefPage

public PrefPage()

PrefPage

public PrefPage(Page target)
Method Detail

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Prefpages in files are obsolete. They are used internaly by page, so they still exist, But they are always transient. The correct Page preference item is PrefPageNew. readResolve fixes old files. 4/28/01

java.io.ObjectStreamException

newPane

public void newPane()
             throws java.lang.NoSuchFieldException
Specified by:
newPane in class PrefEditor
java.lang.NoSuchFieldException

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent ev)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

save

public void save()
Overrides:
save in class PrefEditor

apply

public void apply()
Specified by:
apply in class PrefEditor

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

pickFile

public static java.io.File pickFile()