org.nakedobjects.plugins.dnd.viewer.border
Class DroppableLabelBorder
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
org.nakedobjects.plugins.dnd.viewer.border.LabelBorder
org.nakedobjects.plugins.dnd.viewer.border.DroppableLabelBorder
- All Implemented Interfaces:
- java.lang.Cloneable, View
public class DroppableLabelBorder
- extends LabelBorder
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
contentArea, dragFrom, dragStart, drop, exited, firstClick, getBaseline, getBottom, getPadding, getRequiredSize, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseMoved, mouseUp, overBorder, overContent, pickupContent, pickupView, secondClick, setBounds, setMaximumSize, setSize, thirdClick |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator |
addView, canChangeValue, canFocus, contains, containsFocus, contentMenuOptions, debug, debugStructure, dispose, drag, dragTo, editComplete, entered, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getParent, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, invalidateContent, invalidateLayout, keyPressed, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, objectActionResult, print, refresh, removeView, replaceView, setFocusManager, setLocation, setParent, setView, subviewFor, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DroppableLabelBorder
public DroppableLabelBorder(FieldContent fieldContent,
View wrappedView)
DroppableLabelBorder
public DroppableLabelBorder(ParameterContent fieldContent,
View wrappedView)
createObjectFieldLabelBorder
public static View createObjectFieldLabelBorder(View wrappedView)
createObjectParameterLabelBorder
public static View createObjectParameterLabelBorder(View wrappedView)
viewAreaType
public ViewAreaType viewAreaType(Location location)
- Description copied from interface:
View
- Determines if the user is invoking an action relating to this view, rather than to whatever this view
represents.
- Specified by:
viewAreaType in interface View- Overrides:
viewAreaType in class AbstractBorder
- Returns:
- true if the user is targeting the view itself, false if the user is targeting what is being
represented
dragCancel
public void dragCancel(InternalDrag drag)
- Specified by:
dragCancel in interface View- Overrides:
dragCancel in class AbstractViewDecorator
drag
public void drag(ContentDrag drag)
- Specified by:
drag in interface View- Overrides:
drag in class AbstractViewDecorator
dragIn
public void dragIn(ContentDrag drag)
- Description copied from interface:
View
- Called as the content being dragged is dragged into this view. This only occurs when view contents are
being dragged, and not when views themselves are being dragged.
- Specified by:
dragIn in interface View- Overrides:
dragIn in class AbstractBorder
dragOut
public void dragOut(ContentDrag drag)
- Description copied from interface:
View
- Called as the content being dragged is dragged out of this view. This only occurs when view contents
are being dragged, and not when views themselves are being dragged.
- Specified by:
dragOut in interface View- Overrides:
dragOut in class AbstractBorder
drop
public void drop(ContentDrag drag)
- Description copied from interface:
View
- Called as another view's contents (the source) is dropped on this view's contents (the target). The
source view can be obtained from the ViewDrag object.
- Specified by:
drop in interface View- Overrides:
drop in class AbstractBorder
canDrop
protected Consent canDrop(Content dropContent)
drop
protected void drop(Content dropContent)
textColor
protected Color textColor()
- Overrides:
textColor in class LabelBorder
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.