org.nakedobjects.plugins.dnd.viewer.border
Class AbstractWindowBorder
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
org.nakedobjects.plugins.dnd.viewer.border.AbstractWindowBorder
- All Implemented Interfaces:
- java.lang.Cloneable, View
- Direct Known Subclasses:
- DialogBorder, WindowBorder
public abstract class AbstractWindowBorder
- extends AbstractBorder
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
contentArea, dragFrom, dragIn, dragOut, drop, drop, exited, getBaseline, getBottom, getLeft, getPadding, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseUp, overBorder, overContent, pickupContent, pickupView, setMaximumSize, viewAreaType |
| 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, 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, toString, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
borderRender
protected BorderDrawing borderRender
controls
protected WindowControl[] controls
AbstractWindowBorder
public AbstractWindowBorder(View enclosedView)
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
setControls
protected void setControls(WindowControl[] controls)
setSize
public void setSize(Size size)
- Specified by:
setSize in interface View- Overrides:
setSize in class AbstractBorder
setBounds
public void setBounds(Bounds bounds)
- Specified by:
setBounds in interface View- Overrides:
setBounds 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
title
protected abstract java.lang.String title()
getRequiredSize
public Size getRequiredSize(Size maximumSize)
- Specified by:
getRequiredSize in interface View- Overrides:
getRequiredSize 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
thirdClick
public void thirdClick(Click click)
- Description copied from interface:
View
- Called when the user triple-clicks the mouse buttone within this view. This method will have been
preceded by a call to
doubleClick.
- Specified by:
thirdClick in interface View- Overrides:
thirdClick in class AbstractBorder
firstClick
public void firstClick(Click click)
- Description copied from interface:
View
- Called when the user clicks the mouse buttone within this view.
- Specified by:
firstClick in interface View- Overrides:
firstClick in class AbstractBorder
- Parameters:
click - the location within the current view where the mouse click took place
mouseMoved
public void mouseMoved(Location at)
- Description copied from interface:
View
- Called as the mouse is moved around within this view. Does nothing; should be overriden when needed.
- Specified by:
mouseMoved in interface View- Overrides:
mouseMoved in class AbstractBorder
- Parameters:
at - the position relative to the top-left of this view
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.