|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
org.nakedobjects.plugins.dnd.viewer.view.simple.ObjectView
public abstract class ObjectView
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
HPADDING, VPADDING |
| Constructor Summary | |
|---|---|
ObjectView(Content content,
ViewSpecification specification,
ViewAxis axis)
|
|
| Method Summary | |
|---|---|
void |
contentMenuOptions(UserActionSet options)
Called when the popup menu is being populated for this view. |
void |
dragIn(ContentDrag drag)
Called as the content being dragged is dragged into this view. |
void |
dragOut(ContentDrag drag)
Called as the content being dragged is dragged out of this view. |
Drag |
dragStart(DragStart drag)
|
void |
drop(ContentDrag drag)
Called when a dragged object is dropped onto this view. |
void |
firstClick(Click click)
Called when the user clicks the mouse buttone within this view. |
void |
invalidateContent()
Flags that the views do not properly represent the content, and hence it needs rebuilding. |
void |
secondClick(Click click)
Called when the user double-clicked this view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectView(Content content,
ViewSpecification specification,
ViewAxis axis)
| Method Detail |
|---|
public void dragIn(ContentDrag drag)
View
dragIn in interface ViewdragIn in class AbstractViewpublic void dragOut(ContentDrag drag)
View
dragOut in interface ViewdragOut in class AbstractViewpublic Drag dragStart(DragStart drag)
dragStart in interface ViewdragStart in class AbstractViewpublic void drop(ContentDrag drag)
drop in interface Viewdrop in class AbstractViewpublic void firstClick(Click click)
View
firstClick in interface ViewfirstClick in class AbstractViewclick - the location within the current view where the mouse click took placepublic void invalidateContent()
View
invalidateContent in interface ViewinvalidateContent in class AbstractViewView.invalidateLayout()public void secondClick(Click click)
Viewclick.
secondClick in interface ViewsecondClick in class AbstractViewpublic void contentMenuOptions(UserActionSet options)
ViewmenuOptions object.
contentMenuOptions in interface ViewcontentMenuOptions in class AbstractView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||