org.nakedobjects.plugins.dnd.viewer.table
Class TableRowBorder
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
org.nakedobjects.plugins.dnd.viewer.table.TableRowBorder
- All Implemented Interfaces:
- java.lang.Cloneable, View
public class TableRowBorder
- extends AbstractBorder
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
contentArea, dragFrom, dragIn, dragOut, drop, drop, firstClick, getBottom, getPadding, getRequiredSize, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseMoved, mouseUp, overBorder, overContent, pickupContent, pickupView, 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, drag, dragCancel, dragTo, editComplete, 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 |
TableRowBorder
public TableRowBorder(View wrappedRow)
debugDetails
public void debugDetails(DebugString debug)
- Overrides:
debugDetails in class AbstractBorder
dragStart
public Drag dragStart(DragStart drag)
- Specified by:
dragStart in interface View- Overrides:
dragStart in class AbstractBorder
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 AbstractBorder
getBaseline
public int getBaseline()
- Specified by:
getBaseline in interface View- Overrides:
getBaseline in class AbstractBorder
getLeft
protected int getLeft()
- Overrides:
getLeft in class AbstractBorder
requiredTitleWidth
protected int requiredTitleWidth()
entered
public void entered()
- Description copied from interface:
View
- Called as the mouse crosses the bounds, and ends up inside, of this view. Is also called as the mouse
returns into this view from a contained view.
- Specified by:
entered in interface View- Overrides:
entered in class AbstractViewDecorator
exited
public void exited()
- Description copied from interface:
View
- Called as the mouse crosses the bounds, and ends up outside, of this view.
- Specified by:
exited in interface View- Overrides:
exited in class AbstractBorder
secondClick
public void secondClick(Click click)
- Description copied from interface:
View
- Called when the user double-clicked this view. This method will have been preceded by a call to
click.
- Specified by:
secondClick in interface View- Overrides:
secondClick in class AbstractBorder
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractViewDecorator
viewAreaType
public ViewAreaType viewAreaType(Location mouseLocation)
- 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
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.