|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fredck.FCKeditor.FCKeditor
public class FCKeditor
The main class of the class lib.
It's the container for all properties and the class that generate the output based on browser capabilities and configurations passed by the developer.
Constructor Summary | |
---|---|
FCKeditor(javax.servlet.http.HttpServletRequest req)
Initialize the object setting all value to the default ones. |
|
FCKeditor(javax.servlet.http.HttpServletRequest req,
java.lang.String parInstanceName)
Initialize the object setting the unique name and then all value to the default ones. |
|
FCKeditor(javax.servlet.http.HttpServletRequest req,
java.lang.String parInstanceName,
java.lang.String parWidth,
java.lang.String parHeight,
java.lang.String parToolbarSet,
java.lang.String parValue)
Initialize the object setting all basic configurations. The basePath is context root + "/FCKeditor/" |
Method Summary | |
---|---|
java.lang.String |
create()
Generate the HTML Code for the editor. |
java.lang.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. |
java.lang.String |
getHeight()
Get the height of the textarea |
java.lang.String |
getInstanceName()
Get the unique name of the editor |
java.lang.String |
getToolbarSet()
Get the name of the toolbar to display |
java.lang.String |
getValue()
Get the initial value to be edited. In HTML code |
java.lang.String |
getWidth()
Get the width of the textarea |
void |
setBasePath(java.lang.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(java.lang.String value)
Set the height of the textarea |
void |
setInstanceName(java.lang.String value)
Set the unique name of the editor |
void |
setToolbarSet(java.lang.String value)
Set the name of the toolbar to display |
void |
setValue(java.lang.String value)
Set the initial value to be edited. In HTML code |
void |
setWidth(java.lang.String value)
Set the width of the textarea |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FCKeditor(javax.servlet.http.HttpServletRequest req)
req
- request objectpublic FCKeditor(javax.servlet.http.HttpServletRequest req, java.lang.String parInstanceName)
req
- request objectparInstanceName
- unique namepublic FCKeditor(javax.servlet.http.HttpServletRequest req, java.lang.String parInstanceName, java.lang.String parWidth, java.lang.String parHeight, java.lang.String parToolbarSet, java.lang.String parValue)
req
- request objectparInstanceName
- unique nameparWidth
- widthparHeight
- heightparToolbarSet
- toolbarSet nameparValue
- initial valueMethod Detail |
---|
public java.lang.String getInstanceName()
public void setInstanceName(java.lang.String value)
value
- namepublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- valuepublic java.lang.String getBasePath()
public void setBasePath(java.lang.String value)
value
- pathpublic java.lang.String getToolbarSet()
public void setToolbarSet(java.lang.String value)
value
- toolbar namepublic java.lang.String getWidth()
public void setWidth(java.lang.String value)
value
- widthpublic java.lang.String getHeight()
public void setHeight(java.lang.String value)
value
- heightpublic FCKeditorConfigurations getConfig()
public void setConfig(FCKeditorConfigurations value)
value
- configuration collectionpublic java.lang.String create()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |