jimm.datavision.gui.cmd
Class NewImageFieldCommand

java.lang.Object
  extended by jimm.datavision.gui.cmd.CommandAdapter
      extended by jimm.datavision.gui.cmd.InsertFieldCommand
          extended by jimm.datavision.gui.cmd.NewImageFieldCommand
All Implemented Interfaces:
Command, Nameable

public class NewImageFieldCommand
extends InsertFieldCommand

Inserts a new image field.

Author:
Jim Menard, jimm@io.com

Field Summary
protected  java.lang.String imageURL
           
 
Fields inherited from class jimm.datavision.gui.cmd.InsertFieldCommand
fieldType, fw, insertLoc, sectionResizeCommand, sw
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
NewImageFieldCommand(SectionWidget sw, java.lang.String url)
           
 
Method Summary
protected  FieldWidget createFieldWidget(Field f)
           
protected  Rectangle initialFieldBounds()
           
protected  java.lang.Object initialFieldValue()
           
 void perform()
          Performs the command.
 
Methods inherited from class jimm.datavision.gui.cmd.InsertFieldCommand
createField, undo
 
Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter
getName, redo, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageURL

protected java.lang.String imageURL
Constructor Detail

NewImageFieldCommand

public NewImageFieldCommand(SectionWidget sw,
                            java.lang.String url)
Method Detail

perform

public void perform()
Description copied from class: CommandAdapter
Performs the command. The default implementation does nothing.

Specified by:
perform in interface Command
Overrides:
perform in class InsertFieldCommand

initialFieldBounds

protected Rectangle initialFieldBounds()
Specified by:
initialFieldBounds in class InsertFieldCommand

initialFieldValue

protected java.lang.Object initialFieldValue()
Specified by:
initialFieldValue in class InsertFieldCommand

createFieldWidget

protected FieldWidget createFieldWidget(Field f)
Specified by:
createFieldWidget in class InsertFieldCommand