|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.render.AbstractListenableRenderSettings com.levigo.jadice.swing.pageview.PageViewSettings
public class PageViewSettings
An implementation RenderSettings
pertaining and particular to the rendering within
PageView
s.
Field Summary | |
---|---|
static String |
DYNAMIC_ZOOM_MODE
A property key for the dynamic zoom mode. |
static int |
START_OF_USER_ZOOM_MODES
User-specific zoom modes bay be allocated starting from this constant. |
static int |
ZOOM_MODE_FIT_BOTH
Dynamically fit pages vertical and horizontal. |
static int |
ZOOM_MODE_FIT_HEIGHT
Dynamically fit pages vertical. |
static int |
ZOOM_MODE_FIT_WIDTH
Dynamically fit pages horizontal. |
static int |
ZOOM_MODE_NONE
No dynamic zoom. |
Constructor Summary | |
---|---|
PageViewSettings()
|
Method Summary | |
---|---|
ProcessingSettings |
createSnapshot()
Create a snapshot of the current ProcessingSettings. |
boolean |
equals(Object obj)
|
void |
fitBoth()
Dynamically zoom pages so that they fit completely into the page view. |
void |
fitHeight()
Dynamically zoom pages so that they fill the page view vertically. |
void |
fitWidth()
Dynamically zoom pages so that they fill the page view horizontally. |
int |
getDynamicZoomMode()
|
int |
hashCode()
|
void |
setDynamicZoomMode(int dynamicZoomMode)
|
void |
update(String propertyName,
RenderSettings other,
Object... details)
Updates this instance property specified by given property name with the value provided by the other processing setting. |
Methods inherited from class com.levigo.jadice.document.render.AbstractListenableRenderSettings |
---|
fireChanged, getSettingsChangeHandler, setSettingsChangeHandler |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DYNAMIC_ZOOM_MODE
setDynamicZoomMode(int)
,
getDynamicZoomMode()
,
Constant Field Valuespublic static final int ZOOM_MODE_NONE
setDynamicZoomMode(int)
,
Constant Field Valuespublic static final int ZOOM_MODE_FIT_WIDTH
setDynamicZoomMode(int)
,
Constant Field Valuespublic static final int ZOOM_MODE_FIT_HEIGHT
setDynamicZoomMode(int)
,
Constant Field Valuespublic static final int ZOOM_MODE_FIT_BOTH
setDynamicZoomMode(int)
,
Constant Field Valuespublic static final int START_OF_USER_ZOOM_MODES
Constructor Detail |
---|
public PageViewSettings()
Method Detail |
---|
public void update(String propertyName, RenderSettings other, Object... details)
RenderSettings
propertyName
- the name of the property to update. Update supported properties have unique
property identifier provided by the specific render settings implementation.other
- the processing setting which provide the new property value. Therefore the other
processing setting have to be of the same type as this instance.details
- (optional) if some describing details are necessary to do a specific update, the
details parameter will transport this informationspublic ProcessingSettings createSnapshot()
ProcessingSettings
public int getDynamicZoomMode()
public void setDynamicZoomMode(int dynamicZoomMode)
public void fitWidth()
ZOOM_MODE_FIT_WIDTH
public void fitHeight()
ZOOM_MODE_FIT_HEIGHT
public void fitBoth()
ZOOM_MODE_FIT_BOTH
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2017 levigo holding gmbh. All rights reserved. |