Interface PresentationRule
- All Known Implementing Classes:
AbstractPresentationRule
,ApplyDynamicZoomRule
,ZoomMinMaxRule
public interface PresentationRule
PresentationRules allow
PageView
reactions to events.
All of the methods react to a different event: 1. changes in RenderSettings (e.g. Zoom factor),
2. resize of the PageView, 3. changing the current page, 4. changes in the PageLayout.
A couple of predefined implementations are part of the jadice web toolkit distribution:
ApplyDynamicZoomRule
and ZoomMinMaxRule
.
Note to implementors: you will most likely not want to directly implement this interface, but
extend AbstractPresentationRule
instead.-
Method Summary
Modifier and TypeMethodDescriptionvoid
currentPageChanged
(PageView view, Page page) void
pageLayoutStyleChanged
(PageView view, PageLayout pageLayoutStyle) void
renderSettingChanged
(PageView view, RenderSettingsEvent evt) void
viewResized
(PageView view)
-
Method Details
-
renderSettingChanged
-
viewResized
-
currentPageChanged
-
pageLayoutStyleChanged
-