|
||||||||||
| 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
org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView
org.nakedobjects.plugins.dnd.viewer.view.simple.CompositeViewUsingBuilder
org.nakedobjects.plugins.dnd.viewer.basic.ApplicationWorkspace
public final class ApplicationWorkspace
| Field Summary | |
|---|---|
protected java.util.Vector<View> |
iconViews
|
protected java.util.Vector<View> |
serviceViews
|
| Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView |
|---|
views |
| Fields inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
HPADDING, VPADDING |
| Constructor Summary | |
|---|---|
ApplicationWorkspace(Content content,
CompositeViewSpecification specification,
ViewAxis axis)
|
|
| Method Summary | |
|---|---|
void |
addDialog(View dialogContent)
|
View |
addIconFor(NakedObject object,
Location at)
|
void |
addServiceIconFor(NakedObject service)
|
void |
addView(View view)
|
void |
addWindow(View containedView)
|
View |
addWindowFor(NakedObject object,
Location at)
|
void |
clearServiceViews()
|
View |
createSubviewFor(NakedObject object,
boolean asIcon)
|
Drag |
dragStart(DragStart drag)
|
void |
drop(ContentDrag drag)
Called when a dragged object is dropped onto this view. |
void |
drop(ViewDrag drag)
No default behaviour, views can only be dropped on workspace |
void |
entered()
Called as the mouse crosses the bounds, and ends up inside, of this view. |
protected View[] |
getObjectIconViews()
|
Padding |
getPadding()
|
protected View[] |
getServiceIconViews()
|
protected View[] |
getWindowViews()
|
Workspace |
getWorkspace()
|
void |
lower(View view)
Lower the specified view so it is below all the other views. |
void |
raise(View view)
Raise the specified view so it is above all the other views. |
void |
removeView(View view)
Removes the specifed view from the subviews contained by this view. |
void |
removeViewsFor(NakedObject object)
Close all views for the specified object. |
void |
replaceView(View toReplace,
View replacement)
|
void |
secondClick(Click click)
Called when the user double-clicked this view. |
protected View[] |
subviews()
|
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.view.simple.CompositeViewUsingBuilder |
|---|
buildView, debugStructure, doLayout, getMaximumSize |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView |
|---|
add, canDragView, debug, dispose, draw, getBaseline, getFocusManager, getSubviews, invalidateContent, invalidateLayout, isLayoutInvalid, layout, pickupView, refresh, setCanDragView, setFocusManager, subviewFor, update, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.ObjectView |
|---|
contentMenuOptions, dragIn, dragOut, firstClick |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView |
|---|
assignId, canChangeValue, canFocus, contains, containsFocus, drag, drag, dragCancel, dragFrom, dragTo, editComplete, exited, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getId, getLocation, getParent, getRequiredSize, getSize, getSpecification, getState, getView, getViewAxis, getViewManager, hasFocus, identify, keyPressed, keyReleased, keyTyped, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, print, replaceOptions, setBounds, setContent, setLocation, setMaximumSize, setParent, setSize, setSpecification, setView, setViewAxis, thirdClick, updateView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.plugins.dnd.View |
|---|
canChangeValue, canFocus, contains, containsFocus, contentMenuOptions, debug, debugStructure, dispose, drag, drag, dragCancel, dragFrom, dragIn, dragOut, dragTo, draw, editComplete, exited, firstClick, focusLost, focusReceived, getAbsoluteLocation, getBaseline, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getParent, getRequiredSize, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, hasFocus, identify, invalidateContent, invalidateLayout, keyPressed, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, setBounds, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setView, subviewFor, thirdClick, update, updateView, viewAreaType |
| Field Detail |
|---|
protected java.util.Vector<View> serviceViews
protected java.util.Vector<View> iconViews
| Constructor Detail |
|---|
public ApplicationWorkspace(Content content,
CompositeViewSpecification specification,
ViewAxis axis)
| Method Detail |
|---|
public void addDialog(View dialogContent)
addDialog in interface Workspacepublic void addWindow(View containedView)
addWindow in interface Workspacepublic void addView(View view)
addView in interface ViewaddView in class AbstractCompositeView
public void replaceView(View toReplace,
View replacement)
replaceView in interface ViewreplaceView in class AbstractCompositeView
public View addWindowFor(NakedObject object,
Location at)
addWindowFor in interface Workspace
public View addIconFor(NakedObject object,
Location at)
addIconFor in interface Workspacepublic void addServiceIconFor(NakedObject service)
public Drag dragStart(DragStart drag)
dragStart in interface ViewdragStart in class ObjectViewpublic void drop(ContentDrag drag)
ObjectView
drop in interface Viewdrop in class ObjectViewpublic void entered()
View
entered in interface Viewentered in class AbstractView
public View createSubviewFor(NakedObject object,
boolean asIcon)
createSubviewFor in interface Workspacepublic void drop(ViewDrag drag)
AbstractView
drop in interface Viewdrop in class AbstractViewpublic Padding getPadding()
getPadding in interface ViewgetPadding in class AbstractViewpublic Workspace getWorkspace()
getWorkspace in interface ViewgetWorkspace in class AbstractViewpublic void lower(View view)
Workspace
lower in interface Workspacepublic void raise(View view)
Workspace
raise in interface Workspacepublic void removeView(View view)
View
removeView in interface ViewremoveView in class AbstractCompositeViewpublic void removeViewsFor(NakedObject object)
Workspace
removeViewsFor in interface Workspacepublic void secondClick(Click click)
Viewclick.
secondClick in interface ViewsecondClick in class ObjectViewpublic java.lang.String toString()
toString in class AbstractCompositeViewpublic void viewMenuOptions(UserActionSet options)
ViewmenuOptions object.
viewMenuOptions in interface ViewviewMenuOptions in class AbstractViewprotected View[] subviews()
subviews in class AbstractCompositeViewpublic void clearServiceViews()
protected View[] getWindowViews()
protected View[] getServiceIconViews()
protected View[] getObjectIconViews()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||