Class PrefTrans

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

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

See Also:
Serialized Form

Field Summary
static java.lang.String ALIGN
           
 double angle
           
(package private)  CompPane cpane
           
(package private)  Rose rose
           
(package private)  javax.swing.JTextField rotfield
           
 double scale
           
(package private)  Scale scalebar
           
(package private)  javax.swing.JTextField scalefield
           
private static long serialVersionUID
           
(package private)  ViewTransform target
           
static java.lang.String UNALIGN
           
 double x
           
(package private)  javax.swing.JTextField xfield
           
(package private)  double xoff
           
 double y
           
(package private)  javax.swing.JTextField yfield
           
(package private)  double yoff
           
static java.lang.String ZERO
           
 
Fields inherited from class PrefEditor
dialog, fields, name, owner, pane, scroll, targets
 
Constructor Summary
PrefTrans()
           
PrefTrans(Scale scalebar, Rose rose, CompPane cpane)
           
PrefTrans(ViewTransform target)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void apply()
           
 void newPane()
           
 void save()
           
(package private)  void setTarget(ViewTransform target)
           
 
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

ALIGN

public static java.lang.String ALIGN

UNALIGN

public static java.lang.String UNALIGN

ZERO

public static java.lang.String ZERO

x

public double x

y

public double y

scale

public double scale

angle

public double angle

cpane

CompPane cpane

scalebar

Scale scalebar

rose

Rose rose

target

ViewTransform target

xoff

double xoff

yoff

double yoff

xfield

javax.swing.JTextField xfield

yfield

javax.swing.JTextField yfield

scalefield

javax.swing.JTextField scalefield

rotfield

javax.swing.JTextField rotfield
Constructor Detail

PrefTrans

public PrefTrans()

PrefTrans

public PrefTrans(ViewTransform target)

PrefTrans

public PrefTrans(Scale scalebar,
                 Rose rose,
                 CompPane cpane)
Method Detail

setTarget

void setTarget(ViewTransform target)

actionPerformed

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

newPane

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

save

public void save()
Overrides:
save in class PrefEditor

apply

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