pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.adminui
Class FCKEditorResult

java.lang.Object
  extended by org.torweg.pulse.util.adminui.FCKEditorResult
All Implemented Interfaces:
JDOMable, Result

public class FCKEditorResult
extends java.lang.Object
implements Result

the Result to use with "ajax.FCKEditor.xsl".

Version:
$Revision: 1506 $
Author:
Daniel Dietz

Constructor Summary
FCKEditorResult()
           
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          this will deserialize the state of the JDOMable as a JDOM Element.
 void setContentLocale(java.util.Locale l)
          sets a Locale for the result (which is being used as locale for file/link-browser).
 void setFCKContent(java.lang.String s)
          sets a given AbstractBasicContent for the result.
 void setPanelReloadContent(org.jdom.Element asElement)
          sets the text which is used for panel-refreshes after e.g. successful save.
 void setPanelReloadContent(java.lang.String asString)
          sets the text which is used for panel-refreshes after e.g. successful save.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FCKEditorResult

public FCKEditorResult()
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
Description copied from interface: JDOMable
this will deserialize the state of the JDOMable as a JDOM Element.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
a result that contains the content to init the FCKEditor with.
See Also:
JDOMable.deserializeToJDOM()

setFCKContent

public void setFCKContent(java.lang.String s)
sets a given AbstractBasicContent for the result.

Parameters:
s - AbstractBasicContent to set

setContentLocale

public final void setContentLocale(java.util.Locale l)
sets a Locale for the result (which is being used as locale for file/link-browser).

Parameters:
l - the Locale to set

setPanelReloadContent

public final void setPanelReloadContent(org.jdom.Element asElement)
sets the text which is used for panel-refreshes after e.g. successful save.

Parameters:
asElement - the new stuff

setPanelReloadContent

public final void setPanelReloadContent(java.lang.String asString)
sets the text which is used for panel-refreshes after e.g. successful save.

Parameters:
asString - the new stuff