|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fckeditor.FCKeditor
public class FCKeditor
FCKeditor control class.
It creates the html code for the FCKeditor based on the following things:
PropertiesLoader
Constructor Summary | |
---|---|
FCKeditor(javax.servlet.http.HttpServletRequest request,
java.lang.String instanceName)
Just a wrapper to FCKeditor . |
|
FCKeditor(javax.servlet.http.HttpServletRequest request,
java.lang.String instanceName,
java.lang.String width,
java.lang.String height,
java.lang.String toolbarSet,
java.lang.String value,
java.lang.String basePath)
Main constructor. All important settings are done here and will be preset by there defaults taken from PropertiesLoader . |
Method Summary | |
---|---|
java.lang.String |
create()
Minimum implementation, see ticket #27 for detailed information. |
java.lang.String |
createHtml()
Generate the HTML Code for the editor. |
FCKeditorConfig |
getConfig()
Get the advanced configuation set. Adding element to this collection you can override the settings specified in the config.js file. |
void |
setBasePath(java.lang.String value)
Set the dir where the FCKeditor files reside on the server. Remarks: Avoid using relative paths. |
void |
setConfig(FCKeditorConfig 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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FCKeditor(javax.servlet.http.HttpServletRequest request, java.lang.String instanceName, java.lang.String width, java.lang.String height, java.lang.String toolbarSet, java.lang.String value, java.lang.String basePath)
PropertiesLoader
.
request
- request objectinstanceName
- unique namewidth
- widthheight
- heighttoolbarSet
- toolbarSet namepublic FCKeditor(javax.servlet.http.HttpServletRequest request, java.lang.String instanceName)
FCKeditor
.
request
- request objectinstanceName
- unique nameMethod Detail |
---|
public void setInstanceName(java.lang.String value)
value
- namepublic void setValue(java.lang.String value)
value
- valuepublic void setBasePath(java.lang.String value)
value
- pathpublic void setToolbarSet(java.lang.String value)
value
- toolbar namepublic void setWidth(java.lang.String value)
value
- widthpublic void setHeight(java.lang.String value)
value
- heightpublic FCKeditorConfig getConfig()
public void setConfig(FCKeditorConfig value)
value
- configuration collectionpublic java.lang.String create()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String createHtml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |