|
||||||||||
| 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.lookup.OpenDropDownBorder
public abstract class OpenDropDownBorder
Field border that provides a drop-down list.
| 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 | |
|---|---|
OpenDropDownBorder(View wrappedView)
|
|
| Method Summary | |
|---|---|
boolean |
canFocus()
Determines whether this view accepts keyboard focus. |
protected abstract View |
createOverlay()
|
void |
draw(Canvas canvas)
Called by the frame, or the parent view, when this view must redraw itself. |
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. |
Size |
getRequiredSize(Size maximumSize)
|
protected boolean |
isAvailable()
|
void |
keyPressed(KeyboardAction key)
Called when the user presses any key on the keyboard while this view has the focus. |
void |
mouseMoved(Location at)
Called as the mouse is moved around within this view. |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder |
|---|
contentArea, debugDetails, dragFrom, dragIn, dragOut, dragStart, drop, drop, getBaseline, getBottom, getLeft, getPadding, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseUp, overBorder, overContent, pickupContent, pickupView, secondClick, setBounds, setMaximumSize, setSize, thirdClick, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator |
|---|
addView, canChangeValue, 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, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, objectActionResult, print, refresh, removeView, replaceView, setFocusManager, setLocation, setParent, setView, subviewFor, toString, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OpenDropDownBorder(View wrappedView)
| Method Detail |
|---|
protected abstract View createOverlay()
public void draw(Canvas canvas)
View
draw in interface Viewdraw in class AbstractBorderpublic 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 Size getRequiredSize(Size maximumSize)
getRequiredSize in interface ViewgetRequiredSize in class AbstractBorderprotected boolean isAvailable()
public boolean canFocus()
View
canFocus in interface ViewcanFocus in class AbstractViewDecoratorpublic void keyPressed(KeyboardAction key)
View
keyPressed in interface ViewkeyPressed in class AbstractViewDecoratorkey - TODOpublic void mouseMoved(Location at)
View
mouseMoved in interface ViewmouseMoved in class AbstractBorderat - the position relative to the top-left of this view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||