jimm.datavision.gui
Class ImageFieldWidget

java.lang.Object
  extended by jimm.datavision.gui.FieldWidget
      extended by jimm.datavision.gui.ImageFieldWidget
All Implemented Interfaces:
java.awt.dnd.DropTargetListener, java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, java.util.Observer, javax.swing.event.MouseInputListener

public class ImageFieldWidget
extends FieldWidget


Field Summary
 
Fields inherited from class jimm.datavision.gui.FieldWidget
action, ACTION_INACTION, ACTION_MOVE, ACTION_POPPING_UP_MENU, ACTION_STRETCH_BOTTOM, ACTION_STRETCH_LEFT, ACTION_STRETCH_RIGHT, ACTION_STRETCH_TOP, actionStartedYet, aggregatesMenuItem, alignSubmenu, componentMap, formatMenuItem, GRAB_EDGE_WIDTH, MIN_SIZE, mouseChangedSelectedState, nameItem, popup, POPUP_FONT, preMoveInfo, preStretchInfo, sectionWidget, selected, showOrHide, sizeSubmenu, swingField
 
Constructor Summary
ImageFieldWidget(SectionWidget sw, ImageField image)
          Constructor.
 
Method Summary
(package private)  void doSelect(boolean makeSelected)
          Performs whatever is necessary to select or deselct self.
 void update(java.util.Observable obj, java.lang.Object arg)
           
 boolean usesFormat()
          Returns true if this field can be formatted.
 
Methods inherited from class jimm.datavision.gui.FieldWidget
actionFromPosition, actionPerformed, addCustomPopupItems, align, buildPopupMenu, cursorForPosition, delete, doDelete, doDrag, doSetVisibility, dragEnter, dragExit, dragOver, drop, dropActionChanged, enableMenuItems, finalize, findFieldWidgetOwning, getColor, getComponent, getField, getPopupNameText, getPreMoveInfo, getSectionWidget, isSelected, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mousePressReleaseCommon, mouseReleased, moveToSection, pickUp, putDown, resetCursor, select, setVisibilityLook, showPopupMenu, size, snapBack, startStretching, stopStretching, toggleVisibility, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageFieldWidget

public ImageFieldWidget(SectionWidget sw,
                        ImageField image)
Constructor.

Parameters:
sw - section widget in which the field's new widget will reside
image - a report image field
Method Detail

update

public void update(java.util.Observable obj,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer
Overrides:
update in class FieldWidget

usesFormat

public boolean usesFormat()
Description copied from class: FieldWidget
Returns true if this field can be formatted.

Overrides:
usesFormat in class FieldWidget
Returns:
true if this field can be formatted

doSelect

void doSelect(boolean makeSelected)
Performs whatever is necessary to select or deselct self. Called by Designer.select(jimm.datavision.gui.FieldWidget, boolean, boolean).

Overrides:
doSelect in class FieldWidget
Parameters:
makeSelected - new selection state