Class Glyph

java.lang.Object
  |
  +--Symbol
        |
        +--Sub
              |
              +--Glyph
All Implemented Interfaces:
Aligner, AlignmentListener, DragableSymbol, Element, java.io.Serializable
Direct Known Subclasses:
Stamp

public class Glyph
extends Sub

See Also:
Serialized Form

Field Summary
 Symbol contents
           
private static long serialVersionUID
           
 
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
Glyph(java.awt.geom.Point2D where, View view, java.lang.Object arg)
           
 
Method Summary
 Symbol importSym(Carto dest, Carto source)
          Called when this Symbol is moved to a new Carto file.
Some Symbols hold references to parts of the old file.
 void paintContents(View view)
           
 boolean recursiveDelete(Symbol old)
          Delete all references to the given Symbol held by this one.
 void reshape()
           
 boolean stripSurveys()
           
 boolean valid()
           
 
Methods inherited from class Sub
abandonPropertyEdit, acceptPropertyEdit, alignmentChanged, checkSize, clear, copy, drag, endDrag, getAlignTransform, getBounds, getEditModes, getLevel, getPolar, getPropertyEdit, getScale, getShape, init, locate, paint, selectProbe, showAlignee, showAligner, showSelected, startDrag
 
Methods inherited from class Symbol
checkName, editProperties, getName, getNew, prepareForSurveyUpdate, setName, toString, useSurveyUpdate
 
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

contents

public Symbol contents
Constructor Detail

Glyph

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

importSym

public Symbol importSym(Carto dest,
                        Carto source)
Description copied from class: Symbol
Called when this Symbol is moved to a new Carto file.
Some Symbols hold references to parts of the old file. Get rid of them, and replace them with what they should be int the new context.

Overrides:
importSym in class Symbol

reshape

public void reshape()
Overrides:
reshape in class Sub

stripSurveys

public boolean stripSurveys()
Overrides:
stripSurveys in class Symbol

paintContents

public void paintContents(View view)
Specified by:
paintContents in class Sub

valid

public boolean valid()
Overrides:
valid in class Symbol

recursiveDelete

public boolean recursiveDelete(Symbol old)
Description copied from class: Symbol
Delete all references to the given Symbol held by this one.

Overrides:
recursiveDelete in class Symbol