|
||||||||||
| 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.ObjectBorder
public class ObjectBorder
A border for objects providing
| 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 | |
|---|---|
ObjectBorder(int size,
View wrappedView)
|
|
ObjectBorder(View wrappedView)
|
|
| Method Summary | |
|---|---|
protected void |
debugDetails(DebugString debug)
|
Drag |
dragStart(DragStart drag)
|
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
void |
entered()
Called as the mouse crosses the bounds, and ends up inside, of this view. |
void |
exited()
Called as the mouse crosses the bounds, and ends up outside, of this view. |
void |
firstClick(Click click)
Called when the user clicks the mouse buttone within this view. |
void |
keyPressed(KeyboardAction key)
Called when the user presses any key on the keyboard while this view has the focus. |
java.lang.String |
toString()
|
void |
viewMenuOptions(UserActionSet options)
Called when the popup menu is being populated for this view. |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
|---|
contentArea, dragFrom, dragIn, dragOut, drop, drop, 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, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getParent, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, invalidateContent, invalidateLayout, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, objectActionResult, print, refresh, removeView, replaceView, setFocusManager, setLocation, setParent, setView, subviewFor, update, updateView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectBorder(int size,
View wrappedView)
public ObjectBorder(View wrappedView)
| Method Detail |
|---|
protected void debugDetails(DebugString debug)
debugDetails in class AbstractBorderpublic Drag dragStart(DragStart drag)
dragStart in interface ViewdragStart in class AbstractBorderpublic void draw(Canvas canvas)
View
draw in interface Viewdraw in class AbstractBorderpublic void entered()
View
entered in interface Viewentered in class AbstractViewDecoratorpublic void exited()
View
exited in interface Viewexited in class AbstractBorderpublic void keyPressed(KeyboardAction key)
View
keyPressed in interface ViewkeyPressed in class AbstractViewDecoratorkey - TODOpublic void firstClick(Click click)
View
firstClick in interface ViewfirstClick in class AbstractBorderclick - the location within the current view where the mouse click took placepublic void viewMenuOptions(UserActionSet options)
ViewmenuOptions object.
viewMenuOptions in interface ViewviewMenuOptions in class AbstractViewDecoratorpublic java.lang.String toString()
toString in class AbstractViewDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||