Class PrefDef

java.lang.Object
  |
  +--PrefEditor
        |
        +--PrefDef
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
PrefArrow, PrefFont, PrefLayer, PrefSize

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

See Also:
Serialized Form

Field Summary
(package private)  java.util.TreeSet curdefs
           
(package private)  javax.swing.JList deflist
           
(package private)  java.lang.String defname
           
(package private)  javax.swing.JPanel defpanel
           
(package private)  Carto deftarget
           
(package private) static java.lang.String DELETE
           
(package private) static java.lang.String EDIT
           
 java.util.TreeSet mine
           
(package private) static java.lang.String NEW
           
private static long serialVersionUID
           
 
Fields inherited from class PrefEditor
dialog, fields, name, owner, pane, scroll, targets
 
Constructor Summary
PrefDef()
           
PrefDef(Carto deftarget)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void apply()
           
abstract  java.lang.Class getDefClass()
           
 FileDefaultable makeDef(javax.swing.JFrame owner, java.lang.String newname)
           
 void newPane()
           
 void save()
           
(package private)  void updateList()
           
 
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

mine

public java.util.TreeSet mine

EDIT

static java.lang.String EDIT

NEW

static java.lang.String NEW

DELETE

static java.lang.String DELETE

curdefs

transient java.util.TreeSet curdefs

deflist

transient javax.swing.JList deflist

defpanel

transient javax.swing.JPanel defpanel

deftarget

Carto deftarget

defname

java.lang.String defname
Constructor Detail

PrefDef

public PrefDef()

PrefDef

public PrefDef(Carto deftarget)
Method Detail

getDefClass

public abstract java.lang.Class getDefClass()

newPane

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

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

makeDef

public FileDefaultable makeDef(javax.swing.JFrame owner,
                               java.lang.String newname)

updateList

void updateList()