public class RecordFieldOptions extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
Modifier and Type | Field and Description |
---|---|
static int |
FIELD_NAME_ALIGNMENT_LEFT |
static int |
FIELD_NAME_ALIGNMENT_RIGHT |
static int |
LABEL_COLOR_BACKGROUND_MODE_OPTION_ENTIRE_RECORD |
static int |
LABEL_COLOR_BACKGROUND_MODE_OPTION_RECORD_NAME_IF_AVAILABLE |
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowDynamicLanguageSwitchForFieldsSupportingMultipleLanguages()
Returns whether this view should allow the user to select another language for display for all fields supporting multiple languages.
|
int |
getBackgroundColor()
Returns the RGB value representing the background color in the default sRGB
ColorModel . |
int |
getBackgroundColorForAlternateRows()
Returns the RGB value representing the background color in the default sRGB
ColorModel . |
int |
getFieldNameAlignment()
Returns the alignment for field names.
|
FontDetail |
getFont()
This returns the font configuration for the field names for the current platform.
|
FontDetail |
getFont2()
This returns the second font configuration for the current platform.
|
FontDetail |
getFont3()
This returns the third font configuration for the current platform.
|
FontDetail |
getFontMac()
This returns the font configuration for the field names for the Mac platform.
|
FontDetail |
getFontMac2()
This returns the second font configuration for the Mac platform.
|
FontDetail |
getFontMac3()
This returns the third font configuration for the Mac platform.
|
FontDetail |
getFontWin()
This returns the font configuration for the field names for the Windows platform.
|
FontDetail |
getFontWin2()
This returns the second font configuration for the Windows platform.
|
FontDetail |
getFontWin3()
This returns the third font configuration for the Windows platform.
|
java.lang.String |
getLabelColorBackgroundField()
Returns the field UID of the label field being used for rendering the background color.
|
int |
getLabelColorBackgroundMode()
Returns the mode which specified how the color of a label field should be used as a background color.
|
RecordFieldList |
getRecordFieldList()
Returns the instance managing settings of individual fields.
|
boolean |
getShowEmbeddedMetadataTags()
Returns whether the thumbnail shown in the report view will be extended with the content of the
GUID.UID_EMBEDDED_METADATA_TAGS
field. |
boolean |
getShowFieldNames()
Returns whether the field names should be shown.
|
boolean |
getShowFieldValues()
This specifies in case of a record view of type
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN whether field values should be
shown. |
boolean |
getShowFrame()
Returns whether a frame should be drawn around the record when rendering a record views of type
RecordView.RECORD_VIEW_TYPE_THUMBNAIL
or RecordView.RECORD_VIEW_TYPE_PALETTE . |
boolean |
getShowReportThumbnail()
Returns whether the report view should show a thumbnail.
|
int |
getSpacing()
Returns the space around the image when rendering a record view of type
RecordView.RECORD_VIEW_TYPE_THUMBNAIL , RecordView.RECORD_VIEW_TYPE_DETAILS and RecordView.RECORD_VIEW_TYPE_PALETTE . |
boolean |
getUseFieldFontsForFieldNames()
Returns whether this view should use the field value font definitions for displaying the field names.
|
boolean |
getUseFieldValuesOverlay()
This specifies in case of a record view of type
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN whether field values should be
shown below the preview or overlay the preview. |
boolean |
getUseLabelColorAsBackground()
Returns whether the field value of a label field should be used as a background color.
|
boolean |
getUseSecondColorForAlternateRows()
Returns whether this view should use a different background color for every second row.
|
void |
setAllowDynamicLanguageSwitchForFieldsSupportingMultipleLanguages(boolean value)
Configures whether this view should allow the user to select another language for display for all fields supporting multiple languages.
|
void |
setBackgroundColor(int color)
Sets the background color as RGB value representing the color.
|
void |
setBackgroundColorForAlternateRows(int color)
Sets the background color as RGB value representing the color.
|
void |
setFieldNameAlignment(int value)
Specifies the alignment for field names.
|
void |
setLabelColorBackgroundField(java.lang.String guid)
Sets the field UID of the label field being used for rendering the background color.
|
void |
setLabelColorBackgroundMode(int mode)
Configures the mode which specified how the color of a label field should be used as a background color.
|
void |
setShowEmbeddedMetadataTags(boolean value)
Specifies whether the thumbnail shown in the report view will be extended with the content of the
GUID.UID_EMBEDDED_METADATA_TAGS field. |
void |
setShowFieldNames(boolean value)
Configures whether the field names should be shown.
|
void |
setShowFieldValues(boolean value)
Configures in case of a record view of type
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN whether field values should be
shown. |
void |
setShowFrame(boolean value)
Configures whether a frame should be drawn around the record when rendering a record views of type
RecordView.RECORD_VIEW_TYPE_THUMBNAIL or RecordView.RECORD_VIEW_TYPE_PALETTE . |
void |
setShowReportThumbnail(boolean value)
Specifies whether the report view should show a thumbnail.
|
void |
setSpacing(int value)
Configures the space around the image when rendering a record view of type
RecordView.RECORD_VIEW_TYPE_THUMBNAIL , RecordView.RECORD_VIEW_TYPE_DETAILS and RecordView.RECORD_VIEW_TYPE_PALETTE . |
void |
setUseFieldFontsForFieldNames(boolean value)
Specifies whether this view should use the field value font definitions for displaying the field names.
|
void |
setUseFieldNamesOverlay(boolean value)
Specifies in case of a record view of type
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN whether field values should be shown
below the preview or overlay the preview. |
void |
setUseLabelColorAsBackground(boolean value)
Configures whether the field value of a label field should be used as a background color.
|
void |
setUseSecondColorForAlternateRows(boolean value)
Specifies whether this view should use a different background color for every second row.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public static final int LABEL_COLOR_BACKGROUND_MODE_OPTION_ENTIRE_RECORD
public static final int LABEL_COLOR_BACKGROUND_MODE_OPTION_RECORD_NAME_IF_AVAILABLE
public static final int FIELD_NAME_ALIGNMENT_LEFT
public static final int FIELD_NAME_ALIGNMENT_RIGHT
public int getBackgroundColor()
ColorModel
. (Bits 24-31 are alpha, 16-23 are red, 8-15
are green, 0-7 are blue).ColorModel
.public void setBackgroundColor(int color)
color
- the combined RGB componentspublic boolean getUseSecondColorForAlternateRows()
public boolean getAllowDynamicLanguageSwitchForFieldsSupportingMultipleLanguages()
public void setAllowDynamicLanguageSwitchForFieldsSupportingMultipleLanguages(boolean value)
value
- true if this view should allow the user to select another language for display for all fields supporting multiple languages, otherwise
falsepublic boolean getShowEmbeddedMetadataTags()
GUID.UID_EMBEDDED_METADATA_TAGS
field.public void setShowEmbeddedMetadataTags(boolean value)
GUID.UID_EMBEDDED_METADATA_TAGS
field.value
- true if the picture should be extendedpublic void setUseSecondColorForAlternateRows(boolean value)
value
- true if this view should use a different background color for every second rowpublic int getBackgroundColorForAlternateRows()
ColorModel
. (Bits 24-31 are alpha, 16-23 are red, 8-15
are green, 0-7 are blue).ColorModel
.public void setBackgroundColorForAlternateRows(int color)
color
- the combined RGB componentspublic boolean getShowReportThumbnail()
public void setShowReportThumbnail(boolean value)
value
- true if a thumbnail should be shownpublic boolean getUseLabelColorAsBackground()
getLabelColorBackgroundMode()
setting. This option is only used for record views of type RecordView.RECORD_VIEW_TYPE_THUMBNAIL
,
RecordView.RECORD_VIEW_TYPE_DETAILS
and RecordView.RECORD_VIEW_TYPE_PALETTE
.public void setUseLabelColorAsBackground(boolean value)
getLabelColorBackgroundMode()
setting. This option is only used for record views of type RecordView.RECORD_VIEW_TYPE_THUMBNAIL
,
RecordView.RECORD_VIEW_TYPE_DETAILS
and RecordView.RECORD_VIEW_TYPE_PALETTE
.value
- set to true if the label color of a specific field should be used as background colorpublic int getLabelColorBackgroundMode()
LABEL_COLOR_BACKGROUND_MODE_OPTION_ENTIRE_RECORD
and LABEL_COLOR_BACKGROUND_MODE_OPTION_RECORD_NAME_IF_AVAILABLE
. Defaults to LABEL_COLOR_BACKGROUND_MODE_OPTION_ENTIRE_RECORD
.public void setLabelColorBackgroundMode(int mode)
LABEL_COLOR_BACKGROUND_MODE_OPTION_ENTIRE_RECORD
and LABEL_COLOR_BACKGROUND_MODE_OPTION_RECORD_NAME_IF_AVAILABLE
.mode
- specifies how the color of a label field should be used as a background colorpublic java.lang.String getLabelColorBackgroundField()
public void setLabelColorBackgroundField(java.lang.String guid)
guid
- field UIDpublic int getSpacing()
RecordView.RECORD_VIEW_TYPE_THUMBNAIL
, RecordView.RECORD_VIEW_TYPE_DETAILS
and RecordView.RECORD_VIEW_TYPE_PALETTE
. Defaults to 0.public void setSpacing(int value)
RecordView.RECORD_VIEW_TYPE_THUMBNAIL
, RecordView.RECORD_VIEW_TYPE_DETAILS
and RecordView.RECORD_VIEW_TYPE_PALETTE
.value
- space around imagepublic boolean getShowFrame()
RecordView.RECORD_VIEW_TYPE_THUMBNAIL
or RecordView.RECORD_VIEW_TYPE_PALETTE
.public void setShowFrame(boolean value)
RecordView.RECORD_VIEW_TYPE_THUMBNAIL
or RecordView.RECORD_VIEW_TYPE_PALETTE
.value
- true if a frame should be drawn around the recordpublic boolean getShowFieldNames()
public void setShowFieldNames(boolean value)
value
- set to true if the field names should be shownpublic int getFieldNameAlignment()
RecordView.RECORD_VIEW_TYPE_REPORT
. The
supported alignments are FIELD_NAME_ALIGNMENT_LEFT
and FIELD_NAME_ALIGNMENT_RIGHT
. Defaults to FIELD_NAME_ALIGNMENT_LEFT
.public void setFieldNameAlignment(int value)
RecordView.RECORD_VIEW_TYPE_REPORT
.
The supported alignments are FIELD_NAME_ALIGNMENT_LEFT
and FIELD_NAME_ALIGNMENT_RIGHT
.value
- alignment for field namespublic boolean getUseFieldFontsForFieldNames()
public void setUseFieldFontsForFieldNames(boolean value)
value
- true if this view should use the field value font definitions for displaying the field namespublic boolean getShowFieldValues()
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN
whether field values should be
shown.public void setShowFieldValues(boolean value)
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN
whether field values should be
shown.value
- set to true if field values should be shownpublic boolean getUseFieldValuesOverlay()
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN
whether field values should be
shown below the preview or overlay the preview.public void setUseFieldNamesOverlay(boolean value)
RecordView.RECORD_VIEW_TYPE_PREVIEW_WIN
whether field values should be shown
below the preview or overlay the preview.value
- true if field values should be overlay the previewpublic RecordFieldList getRecordFieldList()
public FontDetail getFontMac()
public FontDetail getFontWin()
public FontDetail getFontMac2()
public FontDetail getFontWin2()
public FontDetail getFontMac3()
public FontDetail getFontWin3()
public FontDetail getFont()
public FontDetail getFont2()
public FontDetail getFont3()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.