org.nakedobjects.plugins.dnd.viewer
Class XViewer
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.XViewer
- All Implemented Interfaces:
- Viewer
public class XViewer
- extends java.lang.Object
- implements Viewer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
updateNotifier
protected ViewUpdateNotifier updateNotifier
XViewer
public XViewer()
addSpyAction
public void addSpyAction(java.lang.String actionMessage)
addToNotificationList
public void addToNotificationList(View view)
- Specified by:
addToNotificationList in interface Viewer
selectFilePath
public java.lang.String selectFilePath(java.lang.String title,
java.lang.String directory)
- Specified by:
selectFilePath in interface Viewer
setKeyboardFocus
public void setKeyboardFocus(View view)
- Specified by:
setKeyboardFocus in interface Viewer
clearOverlayView
public void clearOverlayView()
- Specified by:
clearOverlayView in interface Viewer
clearOverlayView
public void clearOverlayView(View view)
- Specified by:
clearOverlayView in interface Viewer
quit
public void quit()
disposeOverlayView
public void disposeOverlayView()
disposeUnneededViews
public void disposeUnneededViews()
- Specified by:
disposeUnneededViews in interface Viewer
dragFrom
public View dragFrom(Location location)
dragStart
public Drag dragStart(DragStart start)
firstClick
public void firstClick(Click click)
getOverlayBounds
public Bounds getOverlayBounds()
getOverlayView
public View getOverlayView()
getSpy
public InteractionSpy getSpy()
- Specified by:
getSpy in interface Viewer
getUndoStack
public UndoStack getUndoStack()
- Specified by:
getUndoStack in interface Viewer
hasFocus
public boolean hasFocus(View view)
- Specified by:
hasFocus in interface Viewer
identifyView
public View identifyView(Location location,
boolean includeOverlay)
init
public void init()
isRunningAsExploration
public boolean isRunningAsExploration()
- Specified by:
isRunningAsExploration in interface Viewer
isShowingMouseSpy
public boolean isShowingMouseSpy()
markDamaged
public void markDamaged(Bounds bounds)
- Specified by:
markDamaged in interface Viewer
menuOptions
public void menuOptions(UserActionSet options)
mouseDown
public void mouseDown(Click click)
mouseMoved
public void mouseMoved(Location location)
mouseUp
public void mouseUp(Click click)
paint
public void paint(java.awt.Graphics graphic)
pickupContent
public View pickupContent(Location location)
pickupView
public View pickupView(Location location)
popupMenu
public void popupMenu(View over,
Location at,
boolean forView,
boolean includeExploration,
boolean includeDebug)
removeFromNotificationList
public void removeFromNotificationList(View view)
- Specified by:
removeFromNotificationList in interface Viewer
scheduleRepaint
public void scheduleRepaint()
- Force a repaint of the damaged area of the viewer.
- Specified by:
scheduleRepaint in interface Viewer
saveCurrentFieldEntry
public void saveCurrentFieldEntry()
- Specified by:
saveCurrentFieldEntry in interface Viewer
secondClick
public void secondClick(Click click)
setBackground
public void setBackground(Background background)
- Specified by:
setBackground in interface Viewer
setExploration
public void setExploration(boolean asExploration)
setListener
public void setListener(ShutdownListener listener)
setOverlayView
public void setOverlayView(View view)
- Specified by:
setOverlayView in interface Viewer
getOverlaySize
public Size getOverlaySize()
- Specified by:
getOverlaySize in interface Viewer
showInOverlay
public void showInOverlay(Content content,
Location location)
- Specified by:
showInOverlay in interface Viewer
setRenderingArea
public void setRenderingArea(RenderingArea renderingArea)
setRootView
public void setRootView(View rootView)
setHelpViewer
public void setHelpViewer(HelpViewer helpViewer)
setShowMouseSpy
public void setShowMouseSpy(boolean showDeveloperStatus)
setUpdateNotifier
public void setUpdateNotifier(ViewUpdateNotifier updateNotifier)
showSpy
public void showSpy()
sizeChange
public void sizeChange()
initSize
public void initSize()
thirdClick
public void thirdClick(Click click)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
translate
public void translate(java.awt.event.MouseEvent me)
viewAreaType
public ViewAreaType viewAreaType(Location location)
isOverlayAvailable
public boolean isOverlayAvailable()
makeRootFocus
public void makeRootFocus()
openHelp
public void openHelp(View forView)
getClipboard
public java.lang.Object getClipboard(java.lang.Class<?> cls)
- Specified by:
getClipboard in interface Viewer
setClipboard
public void setClipboard(java.lang.String clip,
java.lang.Class<?> class1)
- Specified by:
setClipboard in interface Viewer
forcePaintOfStatusBar
public void forcePaintOfStatusBar()
showDialog
public void showDialog(MessageContent content)
clearAction
public void clearAction()
- Specified by:
clearAction in interface Viewer
setFeedbackManager
public void setFeedbackManager(XFeedbackManager feedbackManager)
close
public void close()
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.