public class FCKeditor extends Object
| Constructor and Description |
|---|
FCKeditor(javax.servlet.http.HttpServletRequest req)
Initialize the object setting all value to the default ones.
|
FCKeditor(javax.servlet.http.HttpServletRequest req,
String parInstanceName)
Initialize the object setting the unique name and then all value to the default ones.
|
FCKeditor(javax.servlet.http.HttpServletRequest req,
String parInstanceName,
String parWidth,
String parHeight,
String parToolbarSet,
String parValue)
Initialize the object setting all basic configurations.
The basePath is context root + "/FCKeditor/" |
| Modifier and Type | Method and Description |
|---|---|
String |
create()
Generate the HTML Code for the editor.
|
String |
getBasePath()
Get the dir where the FCKeditor files reside on the server
|
FCKeditorConfigurations |
getConfig()
Get the advanced configuation set.
Adding element to this collection you can override the settings specified in the config.js file. |
String |
getHeight()
Get the height of the textarea
|
String |
getInstanceName()
Get the unique name of the editor
|
String |
getToolbarSet()
Get the name of the toolbar to display
|
String |
getUserAgent() |
String |
getValue()
Get the initial value to be edited.
In HTML code |
String |
getWidth()
Get the width of the textarea
|
void |
setBasePath(String value)
Set the dir where the FCKeditor files reside on the server.
Remarks: Avoid using relative paths. |
void |
setConfig(FCKeditorConfigurations value)
Set the advanced configuation set.
|
void |
setHeight(String value)
Set the height of the textarea
|
void |
setInstanceName(String value)
Set the unique name of the editor
|
void |
setToolbarSet(String value)
Set the name of the toolbar to display
|
void |
setUserAgent(String userAgent) |
void |
setValue(String value)
Set the initial value to be edited.
In HTML code |
void |
setWidth(String value)
Set the width of the textarea
|
public FCKeditor(javax.servlet.http.HttpServletRequest req)
req - request objectpublic FCKeditor(javax.servlet.http.HttpServletRequest req,
String parInstanceName)
req - request objectparInstanceName - unique namepublic FCKeditor(javax.servlet.http.HttpServletRequest req,
String parInstanceName,
String parWidth,
String parHeight,
String parToolbarSet,
String parValue)
req - request objectparInstanceName - unique nameparWidth - widthparHeight - heightparToolbarSet - toolbarSet nameparValue - initial valuepublic String getInstanceName()
public void setInstanceName(String value)
value - namepublic String getValue()
public void setValue(String value)
value - valuepublic String getBasePath()
public void setBasePath(String value)
value - pathpublic String getToolbarSet()
public void setToolbarSet(String value)
value - toolbar namepublic String getWidth()
public void setWidth(String value)
value - widthpublic String getHeight()
public void setHeight(String value)
value - heightpublic FCKeditorConfigurations getConfig()
public void setConfig(FCKeditorConfigurations value)
value - configuration collectionpublic String create()
public String getUserAgent()
public void setUserAgent(String userAgent)
userAgent - the userAgent to setCopyright © 2016 eXo Platform SAS. All Rights Reserved.