|
||||||||||
| 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.basic.PopupMenuContainer
public class PopupMenuContainer
| Field Summary |
|---|
| Fields inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
HPADDING, VPADDING |
| Constructor Summary | |
|---|---|
PopupMenuContainer(View target,
Location at)
|
|
| Method Summary | |
|---|---|
void |
addMenuOptions(MenuOptions options)
|
void |
debug(DebugString debug)
Returns debug details about this view. |
void |
dispose()
Called when a view is no longer needed and its resources can be disposed of. |
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
void |
firstClick(Click click)
Called when the user clicks the mouse buttone within this view. |
Size |
getMaximumSize()
|
void |
invalidateLayout()
Flags that the views are possibly not displaying the content fully - too small, wrong place etc - although views exists for all the content. |
void |
keyPressed(KeyboardAction key)
Called when the user presses any key on the keyboard while this view has the focus. |
void |
layout(Size maximumSize)
|
void |
mouseMoved(Location at)
Called as the mouse is moved around within this view. |
void |
show(boolean forView,
boolean includeDebug,
boolean includeExploration)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PopupMenuContainer(View target,
Location at)
| Method Detail |
|---|
public void debug(DebugString debug)
AbstractView
debug in interface Viewdebug in class AbstractViewpublic void dispose()
View
dispose in interface Viewdispose in class AbstractViewView.removeView(View)public Size getMaximumSize()
getMaximumSize in interface ViewgetMaximumSize in class AbstractViewpublic void layout(Size maximumSize)
layout in interface Viewlayout in class AbstractViewpublic void mouseMoved(Location at)
View
mouseMoved in interface ViewmouseMoved in class AbstractViewat - the position relative to the top-left of this view
public void show(boolean forView,
boolean includeDebug,
boolean includeExploration)
public void addMenuOptions(MenuOptions options)
public void keyPressed(KeyboardAction key)
View
keyPressed in interface ViewkeyPressed in class AbstractViewkey - TODOpublic void invalidateLayout()
View
invalidateLayout in interface ViewinvalidateLayout in class AbstractViewView.invalidateContent()public void draw(Canvas canvas)
View
draw in interface Viewdraw 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 place
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||