public interface InlinePreviewConstraints
project specific inline preview constraints
.Project.getInlinePreviewConstraints()
Modifier and Type | Interface and Description |
---|---|
static class |
InlinePreviewConstraints.DefaultAppFileExtensions
The default application engines file name extensions used for (bound to) a specific engine type.
|
static class |
InlinePreviewConstraints.InlinePreviewControlOption
Inline preview control option
|
Modifier and Type | Method and Description |
---|---|
String |
getBrowserEngineFileExtensions()
Returns a comma separated list file name extensions.
|
String |
getBrowserEngineType()
Returns the currently set browser engine.
|
Pair<String,String> |
getGDataAPiCredentials()
Get the store google api user credentials.
|
String |
getGraphicsEngineFileExtensions()
Returns a comma separated list file name extensions.
|
GraphicsEngineType |
getGraphicsEngineType()
Get the per default enabled graphics engine type.
|
InlinePreviewConstraints.InlinePreviewControlOption |
getInlinePreviewControlOption()
Returns the default respectively fixed
content highlighting mode ,
depending on return value of isInlinePreviewControlAdjustable() . |
String |
getMediaPlayerFileExtensions()
Returns a comma separated list file name extensions.
|
String |
getOfficeEngineFileExtensions()
Returns a comma separated list file name extensions.
|
OfficeEngineType |
getOfficeEngineType()
Returns the per default enabled office engine type.
|
String |
getTextEditorFileExtensions()
Returns a comma separated list file name extensions.
|
float |
getZoomFactor()
Returns the browsers default respectively fixed zoom factor,
depending on return value of
isZoomFactorAdjustable() . |
boolean |
isBrowserEngineActive()
Indicated whether the internal browser engine is activated.
|
boolean |
isBrowserEngineControlAdjustable()
Returns
true if the user is able to choose a browser engine otherwise false . |
boolean |
isGraphicsEngineActive()
Indicated the activation state of the graphics engine for this project.
|
boolean |
isGraphicsEngineControlAdjustable()
The the control option which allows the user to adjust/switch the graphics engine to use.
|
boolean |
isInlineMediaPreviewEnabled()
Returns
true if inline preview for media is enabled, false otherwise. |
boolean |
isInlinePreviewControlAdjustable()
Returns
true if the content highlighting mode is adjustable by user, false otherwise. |
boolean |
isInlinePreviewEnabled()
Returns
true if inline preview for contents is enabled, false otherwise. |
boolean |
isOfficeEngineActive()
Indicates whether the office engine is enabled.
|
boolean |
isOfficeEngineControlAdjustable()
Indicated whether the user is allowed to switch between the available office engines.
|
boolean |
isZoomFactorAdjustable()
Returns
true if the browsers zoom factor is adjustable by user, false otherwise. |
void |
setBrowserEngineActive(boolean active)
Activate the internal browser engine.
|
void |
setBrowserEngineControlAdjustable(boolean adjustable)
Provides
true if the browser engine selection is adjustable by the user otherwise false . |
void |
setBrowserEngineFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setBrowserEngineType(String type)
Set the browser engine type to use.
|
void |
setGDataApiCredentials(Pair<String,String> credentials)
The google api user credentials used for uploading, downloading, locking remote documents.
|
void |
setGraphicsEngineActive(boolean activate)
Activate the internal graphics engine.
|
void |
setGraphicsEngineControlAdjustable(boolean adjustable)
Provide
true if the graphics engine selection is selectable by user, false otherwise. |
void |
setGraphicsEngineFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setGraphicsEngineType(GraphicsEngineType engineType)
Set the per default activated graphics engine.
|
void |
setInlineMediaPreviewEnabled(boolean enable)
Provide
true if inline preview for media should be enabled, false otherwise. |
void |
setInlinePreviewControlAdjustable(boolean adjustable)
Provide
true if the content highlighting mode should be adjustable by user, false otherwise. |
void |
setInlinePreviewControlOption(InlinePreviewConstraints.InlinePreviewControlOption option)
Provide the default respectively fixed
content highlighting mode . |
void |
setInlinePreviewEnabled(boolean enable)
Provide
true if inline preview for contents should be enabled, false otherwise. |
void |
setMediaPlayerFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setOfficeEngineActive(boolean activate)
Activate the internal office engine.
|
void |
setOfficeEngineControlAdjustable(boolean adjustable)
The the control option which allows the user to adjust/switch the office engine to use.
|
void |
setOfficeEngineFileExtensions(String fileExtensions)
Set the file name extensions bound to the integrated office application engine.
|
void |
setOfficeEngineType(OfficeEngineType engineType)
Set the per default enabled office engine type.
|
void |
setTextEditorFileExtensions(String fileExtensions)
"png,jpg,jpeg,bmp,gif,psd"
Set the file name extensions bound to the integrated office application engine.
|
void |
setZoomFactor(float zoomFactor)
Provide the browsers default respectively fixed zoom factor.
|
void |
setZoomFactorAdjustable(boolean adjustable)
Provide
true if the browsers zoom factor should be adjustable by user, false otherwise. |
boolean isInlinePreviewEnabled()
true
if inline preview for contents is enabled, false
otherwise.true
if enabled otherwise false
void setInlinePreviewEnabled(boolean enable)
true
if inline preview for contents should be enabled, false
otherwise.enable
- boolean isInlineMediaPreviewEnabled()
true
if inline preview for media is enabled, false
otherwise.true
if enabled otherwise false
void setInlineMediaPreviewEnabled(boolean enable)
true
if inline preview for media should be enabled, false
otherwise.enable
- boolean isZoomFactorAdjustable()
true
if the browsers zoom factor is adjustable by user, false
otherwise.true
if enabled otherwise false
void setZoomFactorAdjustable(boolean adjustable)
true
if the browsers zoom factor should be adjustable by user, false
otherwise.adjustable
- float getZoomFactor()
isZoomFactorAdjustable()
.true
if enabled otherwise false
void setZoomFactor(float zoomFactor)
isZoomFactorAdjustable()
.zoomFactor
- boolean isInlinePreviewControlAdjustable()
true
if the content highlighting mode is adjustable by user, false
otherwise.true
if enabled otherwise false
HighlightingMode
void setInlinePreviewControlAdjustable(boolean adjustable)
true
if the content highlighting mode should be adjustable by user, false
otherwise.adjustable
- HighlightingMode
InlinePreviewConstraints.InlinePreviewControlOption getInlinePreviewControlOption()
content highlighting mode
,
depending on return value of isInlinePreviewControlAdjustable()
.boolean isBrowserEngineControlAdjustable()
true
if the user is able to choose a browser engine otherwise false
.true
if enabled otherwise false
void setBrowserEngineControlAdjustable(boolean adjustable)
true
if the browser engine selection is adjustable by the user otherwise false
.adjustable
- set the browser engineboolean isBrowserEngineActive()
true
if activated otherwise false
void setBrowserEngineActive(boolean active)
active
- true
for activate otherwise false
void setBrowserEngineType(String type)
type
- the browser engine type to setString getBrowserEngineType()
void setInlinePreviewControlOption(InlinePreviewConstraints.InlinePreviewControlOption option)
content highlighting mode
.isInlinePreviewControlAdjustable()
.option
- void setOfficeEngineFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getOfficeEngineFileExtensions()
void setBrowserEngineFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getBrowserEngineFileExtensions()
void setTextEditorFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getTextEditorFileExtensions()
void setMediaPlayerFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getMediaPlayerFileExtensions()
void setGraphicsEngineFileExtensions(String fileExtensions)
fileExtensions
- a comma separated list of file name extension.String getGraphicsEngineFileExtensions()
boolean isOfficeEngineActive()
true
if activated otherwise false
boolean isOfficeEngineControlAdjustable()
true
if adjustable otherwise false
OfficeEngineType getOfficeEngineType()
OfficeEngineType.MSOFFICE
,
OfficeEngineType.OPENOFFICE
void setOfficeEngineActive(boolean activate)
activate
- true
for activate otherwise false
void setOfficeEngineType(OfficeEngineType engineType)
engineType
- OfficeEngineType.MSOFFICE
,
OfficeEngineType.OPENOFFICE
void setOfficeEngineControlAdjustable(boolean adjustable)
adjustable
- true
to allow adjust otherwise false
void setGDataApiCredentials(Pair<String,String> credentials)
username
- the api user namepassword
- the api user passwordPair<String,String> getGDataAPiCredentials()
boolean isGraphicsEngineActive()
true
if activated otherwise false
boolean isGraphicsEngineControlAdjustable()
true
if adjustable otherwise false
GraphicsEngineType getGraphicsEngineType()
GraphicsEngineType.PICMONKEY
,
GraphicsEngineType.PIXLR
void setGraphicsEngineActive(boolean activate)
activate
- true
for activate otherwise false
void setGraphicsEngineType(GraphicsEngineType engineType)
engineType
- the engine type to setGraphicsEngineType.PICMONKEY
,
GraphicsEngineType.PIXLR
void setGraphicsEngineControlAdjustable(boolean adjustable)
true
if the graphics engine selection is selectable by user, false
otherwise.adjustable
- true
if adjustable otherwise false
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408