org.nakedobjects.plugins.dnd.viewer.border
Class LineBorder
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
org.nakedobjects.plugins.dnd.viewer.border.LineBorder
- All Implemented Interfaces:
- java.lang.Cloneable, View
public class LineBorder
- extends AbstractBorder
A line border draws a simple box around a view of a given width and color.
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
contentArea, dragFrom, dragIn, dragOut, dragStart, drop, drop, exited, firstClick, getBaseline, getBottom, getLeft, getPadding, getRequiredSize, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseMoved, mouseUp, overBorder, overContent, pickupContent, pickupView, secondClick, setBounds, setMaximumSize, setSize, thirdClick, 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, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LineBorder
public LineBorder(View wrappedView)
LineBorder
public LineBorder(int size,
View wrappedView)
LineBorder
public LineBorder(int size,
int arcRadius,
View wrappedView)
LineBorder
public LineBorder(Color color,
View wrappedView)
LineBorder
public LineBorder(int width,
Color color,
View wrappedView)
LineBorder
public LineBorder(int width,
int arcRadius,
Color color,
View wrappedView)
debugDetails
protected void debugDetails(DebugString debug)
- Overrides:
debugDetails 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
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractViewDecorator
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.