Package com.inet.viewer.props
Class DefaultSetting
- java.lang.Object
-
- com.inet.viewer.props.DefaultSetting
-
public class DefaultSetting extends java.lang.Object
Contains the various property values which can be set for the corresponding keys.- Since:
- 9.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSetting.Key
One of the keys which can be set inSwingReportViewer.setDefaultSetting(DefaultSetting.Key, DefaultSetting)
-
Field Summary
Fields Modifier and Type Field Description static DefaultSetting.Key
DEFAULT_DRILLDOWN_ENABLED
Key for the viewer's default of whether to allow drill downsstatic DefaultSetting.Key
DEFAULT_VIEW_MODE
Key for the viewer's default view modestatic DefaultSetting.Key
DEFAULT_ZOOM
Key for the viewer's default zoom levelstatic DefaultSetting
VALUE_DRILLDOWN_DISABLED
Value belonging to DEFAULT_ZOOM: zoom to 100%static DefaultSetting
VALUE_DRILLDOWN_ENABLED
Value belonging to DEFAULT_DRILLDOWN_ENABLED: enabledstatic DefaultSetting
VALUE_VIEW_MODE_DOUBLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show two pages at a timestatic DefaultSetting
VALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as double column continuous streamstatic DefaultSetting
VALUE_VIEW_MODE_SINGLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show only one page at a timestatic DefaultSetting
VALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as single column continuous streamstatic DefaultSetting
VALUE_ZOOM_100_PERCENT
Value belonging to DEFAULT_ZOOM: zoom to 100%static DefaultSetting
VALUE_ZOOM_PAGE_HEIGHT
Value belonging to DEFAULT_ZOOM: zoom to page heightstatic DefaultSetting
VALUE_ZOOM_PAGE_WIDTH
Value belonging to DEFAULT_ZOOM: zoom to page widthstatic DefaultSetting
VALUE_ZOOM_WHOLE_PAGE
Value belonging to DEFAULT_ZOOM: zoom to full page
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultSetting.Key
getKey()
Returns the key belonging to this value.java.lang.String
getName()
Returns the name of the key
-
-
-
Field Detail
-
DEFAULT_VIEW_MODE
public static final DefaultSetting.Key DEFAULT_VIEW_MODE
Key for the viewer's default view mode- See Also:
ReportView.setViewMode(int)
-
DEFAULT_ZOOM
public static final DefaultSetting.Key DEFAULT_ZOOM
Key for the viewer's default zoom level- See Also:
ReportView.setAutomaticZoomType(int)
-
DEFAULT_DRILLDOWN_ENABLED
public static final DefaultSetting.Key DEFAULT_DRILLDOWN_ENABLED
Key for the viewer's default of whether to allow drill downs- See Also:
ReportView.setDrilldownEnabled(boolean)
-
VALUE_VIEW_MODE_SINGLE_PAGE
public static final DefaultSetting VALUE_VIEW_MODE_SINGLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show only one page at a time- See Also:
ReportView.VIEW_SINGLE_PAGE
-
VALUE_VIEW_MODE_DOUBLE_PAGE
public static final DefaultSetting VALUE_VIEW_MODE_DOUBLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show two pages at a time- See Also:
ReportView.VIEW_DOUBLE_PAGE
-
VALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUS
public static final DefaultSetting VALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as single column continuous stream- See Also:
ReportView.VIEW_SINGLE_CONTINUOUS
-
VALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUS
public static final DefaultSetting VALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as double column continuous stream- See Also:
ReportView.VIEW_DOUBLE_CONTINUOUS
-
VALUE_ZOOM_PAGE_WIDTH
public static final DefaultSetting VALUE_ZOOM_PAGE_WIDTH
Value belonging to DEFAULT_ZOOM: zoom to page width- See Also:
ReportView.ZOOM_TO_PAGEWIDTH
-
VALUE_ZOOM_PAGE_HEIGHT
public static final DefaultSetting VALUE_ZOOM_PAGE_HEIGHT
Value belonging to DEFAULT_ZOOM: zoom to page height- See Also:
ReportView.ZOOM_TO_PAGEHEIGHT
-
VALUE_ZOOM_WHOLE_PAGE
public static final DefaultSetting VALUE_ZOOM_WHOLE_PAGE
Value belonging to DEFAULT_ZOOM: zoom to full page- See Also:
ReportView.ZOOM_TO_FULLPAGE
-
VALUE_ZOOM_100_PERCENT
public static final DefaultSetting VALUE_ZOOM_100_PERCENT
Value belonging to DEFAULT_ZOOM: zoom to 100%- See Also:
ReportView.ZOOM_MANUAL
-
VALUE_DRILLDOWN_ENABLED
public static final DefaultSetting VALUE_DRILLDOWN_ENABLED
Value belonging to DEFAULT_DRILLDOWN_ENABLED: enabled
-
VALUE_DRILLDOWN_DISABLED
public static final DefaultSetting VALUE_DRILLDOWN_DISABLED
Value belonging to DEFAULT_ZOOM: zoom to 100%- See Also:
ReportView.ZOOM_MANUAL
-
-
Method Detail
-
getKey
public DefaultSetting.Key getKey()
Returns the key belonging to this value. only this key may be used when setting this value.- Returns:
- key belonging to this value
- Since:
- 9.0
-
getName
public java.lang.String getName()
Returns the name of the key- Returns:
- name of the key
- Since:
- 9.0
-
-