|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public EmbeddingGenerator
This class allows to generate single line script include for the embedding feature
Field Summary | |
---|---|
unknown |
widgetDefinition
|
unknown |
pid
|
unknown |
width
|
unknown |
height
|
unknown |
scrollbar
|
unknown |
sandboxed
|
unknown |
framework
|
unknown |
preferences
|
Constructor Summary | |
---|---|
constructor(String widgetDef,
String pid)
This is the constructor for EmbeddingGenerator, which allows to instantiate the EmbeddingGenerator with the default settings for widget / page embedding. |
Method Summary | |
---|---|
unknown |
_getSecureHostAlias()
This method will get a hostname, in sandboxed mode it will be a magic host name. |
unknown |
toString()
Creates the single script include with the current attribute settings of this class. |
String |
getWidgetDefinition()
gets the current widget definition path for this embedding generator. |
unknown |
setWidgetDefinition(String value)
sets the current widget definition path for this embedding generator |
String |
getPid()
gets the current page id for this embedding generator. |
unknown |
setPid(String value)
sets the pid for this embedding generator |
int |
getWidth()
gets the current width for this embedding generator. |
unknown |
setWidth(int value)
sets the current width for this embedding generator |
int |
getHeight()
gets the current height for this embedding generator. |
unknown |
setHeight(int value)
sets the current height for this embedding generator |
boolean |
getScrollbar()
gets the current state of scrollbar for this embedding generator. |
unknown |
setScrollbar(boolean value)
sets whether the scrollbar should be enabled or not |
boolean |
getSandboxed()
gets whether the widget should be sandboxed or not |
unknown |
setSandboxed(boolean value)
sets whether the widget should be sandboxed |
String |
getFramework()
gets the current framework typefor this embedding generator. |
unknown |
setFramework(String value)
sets the current framework for this embedding generator |
ItemSet |
getPreferences()
gets the current framework typefor this embedding generator. |
unknown |
setPreferences(ItemSet value)
sets the preferences for this embedding generator |
Field Detail |
---|
unknown widgetDefinition
unknown pid
unknown width
unknown height
unknown scrollbar
unknown sandboxed
unknown framework
unknown preferences
Constructor Detail |
---|
public constructor(String widgetDef, String pid)
widgetDef
-
the path to the widget definition (either absolute or relative to the embedding server). In case of page embedding widgetDef points to the layout widget to use for page embeddingpid
-
the page ID of the page to include. If only widget embedding is needed, this parameter can be left empty.Method Detail |
---|
unknown _getSecureHostAlias()
unknown toString()
String getWidgetDefinition()
unknown setWidgetDefinition(String value)
value
-
the widget definition urlString getPid()
unknown setPid(String value)
value
-
the pidint getWidth()
unknown setWidth(int value)
value
-
the widthint getHeight()
unknown setHeight(int value)
value
-
the heightboolean getScrollbar()
unknown setScrollbar(boolean value)
value
-
true when the scrollbar should be enabled, default: falseboolean getSandboxed()
unknown setSandboxed(boolean value)
value
-
true when the widget should be sandboxed, default: falseString getFramework()
unknown setFramework(String value)
value
-
the framework to use for the widget (not used in page mode), default: to falseItemSet getPreferences()
unknown setPreferences(ItemSet value)
value
-
the preferences
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |