org.nakedobjects.plugins.dnd.viewer.view.field
Class ImageField
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
org.nakedobjects.plugins.dnd.viewer.view.field.ImageField
- All Implemented Interfaces:
- java.lang.Cloneable, View
public class ImageField
- extends AbstractField
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField |
cantClear, clear, copyToClipboard, drag, dragCancel, dragFrom, dragTo, entered, exited, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, initiateSave, isEmpty, keyReleased, keyTyped, provideClearCopyPaste, toString, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView |
addView, assignId, canChangeValue, contains, containsFocus, debug, debugStructure, dispose, drag, dragIn, dragOut, dragStart, drop, drop, editComplete, firstClick, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getParent, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, identify, invalidateContent, invalidateLayout, layout, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, removeView, replaceOptions, replaceView, secondClick, setBounds, setContent, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setSpecification, setView, setViewAxis, subviewFor, thirdClick, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ImageField
public ImageField(Content content,
ViewSpecification specification,
ViewAxis axis)
canFocus
public boolean canFocus()
- Description copied from interface:
View
- Determines whether this view accepts keyboard focus. If so focusLost and focusReceived will be called.
- Specified by:
canFocus in interface View- Overrides:
canFocus in class AbstractField
contentMenuOptions
public void contentMenuOptions(UserActionSet options)
- Description copied from interface:
View
- Called when the popup menu is being populated for this view. Any content options that need to appear on
the menu should be added to the
menuOptions object.
- Specified by:
contentMenuOptions in interface View- Overrides:
contentMenuOptions in class AbstractField
draw
public void draw(Canvas canvas)
- Description copied from interface:
View
- Called by the frame, or the parent view, when this view must redraw itself.
- Specified by:
draw in interface View- Overrides:
draw in class AbstractField
getBaseline
public int getBaseline()
- Specified by:
getBaseline in interface View- Overrides:
getBaseline in class AbstractField
getMaximumSize
public Size getMaximumSize()
- Specified by:
getMaximumSize in interface View- Overrides:
getMaximumSize in class AbstractView
getRequiredSize
public Size getRequiredSize(Size maximumSize)
- Specified by:
getRequiredSize in interface View- Overrides:
getRequiredSize in class AbstractView
keyPressed
public void keyPressed(KeyboardAction key)
- Description copied from class:
AbstractField
- Called when the user presses any key on the keyboard while this view has the focus.
- Specified by:
keyPressed in interface View- Overrides:
keyPressed in class AbstractField
- Parameters:
key - TODO
pasteFromClipboard
protected void pasteFromClipboard()
- Overrides:
pasteFromClipboard in class AbstractField
save
protected void save()
- Specified by:
save in class AbstractField
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.