|
||||||||||
| 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.tree.TreeNodeBorder
public class TreeNodeBorder
| 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 | |
|---|---|
TreeNodeBorder(View wrappedView,
ViewSpecification replaceWith)
|
|
| Method Summary | |
|---|---|
protected Bounds |
contentArea()
|
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. |
int |
getBaseline()
|
Size |
getRequiredSize(Size maximumSize)
|
void |
objectActionResult(NakedObject result,
Location at)
Called when an action generates a result, allowing this view to decide what to do with it. |
void |
secondClick(Click click)
Called when the user double-clicked this view. |
java.lang.String |
toString()
|
ViewAreaType |
viewAreaType(Location mouseLocation)
Determines if the user is invoking an action relating to this view, rather than to whatever this view represents. |
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 |
|---|
dragFrom, dragIn, dragOut, drop, drop, getBottom, getLeft, getPadding, 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, 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 TreeNodeBorder(View wrappedView,
ViewSpecification replaceWith)
| Method Detail |
|---|
protected Bounds contentArea()
contentArea in class AbstractBorderpublic 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 firstClick(Click click)
View
firstClick in interface ViewfirstClick in class AbstractBorderclick - the location within the current view where the mouse click took placepublic int getBaseline()
getBaseline in interface ViewgetBaseline in class AbstractBorderpublic Size getRequiredSize(Size maximumSize)
getRequiredSize in interface ViewgetRequiredSize in class AbstractBorder
public void objectActionResult(NakedObject result,
Location at)
View
objectActionResult in interface ViewobjectActionResult in class AbstractViewDecoratorat - the location where the action took placepublic void secondClick(Click click)
Viewclick.
secondClick in interface ViewsecondClick in class AbstractBorderpublic java.lang.String toString()
toString in class AbstractViewDecoratorpublic ViewAreaType viewAreaType(Location mouseLocation)
View
viewAreaType in interface ViewviewAreaType in class AbstractBorderpublic void viewMenuOptions(UserActionSet options)
ViewmenuOptions object.
viewMenuOptions in interface ViewviewMenuOptions in class AbstractViewDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||