Package com.levigo.jadice.web.client
Interface ViewComponent
- All Superinterfaces:
com.google.gwt.user.client.ui.IsWidget
,MenuContributor
- All Known Subinterfaces:
JadicePageView
,PageView
,ThumbnailView
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Clean up this view by removing a document currently being displayed.com.levigo.jadice.web.client.viewer.internal.ToolManagerConnection
void
repaint()
Repaints this component.void
Repaint all of the given page.void
repaint
(Page p, Rectangle2D boundsDU) Repaint all of the given page.void
void
Deprecated.use repaint insteadvoid
repaintAnnosAndTools
(Page page) Deprecated.use repaint insteadvoid
repaintAnnosAndTools
(Page page, Rectangle2D boundsDU) Deprecated.use repaint insteadvoid
Deprecated.use repaint insteadvoid
Resets the scroll position to the top left corner.void
scrollRectToVisible
(Rectangle contentRect) Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
Methods inherited from interface com.levigo.jadice.web.client.ui.menu.MenuContributor
contribute
-
Method Details
-
getVisibleRect
Rectangle getVisibleRect()- Returns:
- the current Visible Part of the Component
-
cleanup
void cleanup()Clean up this view by removing a document currently being displayed. This method can be called off-EDT. -
getToolManager
ToolManager getToolManager()- Returns:
- the toolManager
-
getToolMangerConnection
com.levigo.jadice.web.client.viewer.internal.ToolManagerConnection getToolMangerConnection()- Returns:
- the toolManagerConnection
-
getDocument
Document getDocument()- Returns:
- the document
-
repaint
Repaint all of the given page.- Parameters:
p
- the page to repaint
-
repaint
Repaint all of the given page.- Parameters:
p
- the page to repaintboundsDU
- the bounds within the page to repaint.
-
repaint
void repaint()Repaints this component.If this component is a lightweight component, this method causes a call to this component's
paint
method as soon as possible. Otherwise, this method causes a call to this component'supdate
method as soon as possible. -
repaint
-
repaintAnnosAndTools
Deprecated.use repaint insteadTriggers a repaint of the annotations and the tools, without triggering a repaint of the actual page content- Parameters:
page
- the page for which the annotations and tool content should be repainted
-
repaintAnnosAndTools
Deprecated.use repaint insteadTriggers a repaint of the annotations and the tools of the visible area, without triggering a repaint of the actual page content -
repaintAnnosAndTools
Deprecated.use repaint insteadTriggers a repaint of the annotations and the tools, without triggering a repaint of the actual page content- Parameters:
rect
- the rectangle which should be repainted
-
repaintAnnosAndTools
Deprecated.use repaint insteadTriggers a repaint of the annotations and the tools, without triggering a repaint of the actual page content- Parameters:
page
- the page for which the annotations and tool content should be repaintedboundsDU
- the bounds inside the given page which should be repainted in jadice document units
-
scrollRectToVisible
-
resetScrollPosition
void resetScrollPosition()Resets the scroll position to the top left corner.This method is intended to be used when the document is changed.
-