|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
org.nakedobjects.plugins.dnd.viewer.border.BackgroundBorder
public class BackgroundBorder
A background border provides a coloured background to a view of a specified colour.
| Field Summary |
|---|
| Fields inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
|---|
bottom, left, right, top |
| Fields inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator |
|---|
wrappedView |
| Fields inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
HPADDING, VPADDING |
| Constructor Summary | |
|---|---|
BackgroundBorder(Color background,
View wrappedView)
|
|
BackgroundBorder(View wrappedView)
Creates a background border with a default colour of white. |
|
| Method Summary | |
|---|---|
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
void |
setBackground(Color color)
|
java.lang.String |
toString()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
|---|
contentArea, debugDetails, 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 |
| Constructor Detail |
|---|
public BackgroundBorder(View wrappedView)
public BackgroundBorder(Color background,
View wrappedView)
| Method Detail |
|---|
public void draw(Canvas canvas)
View
draw in interface Viewdraw in class AbstractBorderpublic void setBackground(Color color)
public java.lang.String toString()
toString in class AbstractViewDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||