jimm.datavision.gui.cmd
Class FieldClipping

java.lang.Object
  extended by jimm.datavision.gui.cmd.FieldClipping
All Implemented Interfaces:
Pasteable

public class FieldClipping
extends java.lang.Object
implements Pasteable

A field clipping gets copied to the clipboard when a field widget is cut. It contains not only a field widget but also the widget's original section area.

Author:
Jim Menard, jimm@io.com

Field Summary
protected  FieldWidget newWidget
           
protected  Field origField
           
protected  SectionWidget origSectionWidget
           
protected  SectionArea sectionArea
           
protected  SectionResizeCommand sectionResizeCommand
           
 
Constructor Summary
FieldClipping(FieldWidget fw)
           
 
Method Summary
 void paste(Designer designer)
           
protected  SectionWidget sectionWidgetBySectionArea(Designer designer)
           
 void undo(Designer designer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origField

protected Field origField

newWidget

protected FieldWidget newWidget

origSectionWidget

protected SectionWidget origSectionWidget

sectionArea

protected SectionArea sectionArea

sectionResizeCommand

protected SectionResizeCommand sectionResizeCommand
Constructor Detail

FieldClipping

public FieldClipping(FieldWidget fw)
Method Detail

paste

public void paste(Designer designer)
Specified by:
paste in interface Pasteable

sectionWidgetBySectionArea

protected SectionWidget sectionWidgetBySectionArea(Designer designer)

undo

public void undo(Designer designer)
Specified by:
undo in interface Pasteable