EchoPoint API - 3.0.0b5
App Webcontainer

echopoint
Class Fckeditor

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by echopoint.Fckeditor
All Implemented Interfaces:
Serializable, RenderIdSupport

public class Fckeditor
extends Component

See Also:
Serialized Form

Field Summary
static String PROPERTY_AUTOCOLLAPSE_TOOLBAR
           
static String PROPERTY_CONFIG
           
static String PROPERTY_DEBUG
           
static String PROPERTY_FCKEDITOR_CONFIG_URL
           
static String PROPERTY_FCKEDITOR_CSS_URL
           
static String PROPERTY_FCKEDITOR_URL
           
static String PROPERTY_HEIGHT
           
static String PROPERTY_TOOLBAR
           
static String PROPERTY_TOOLBAR_COLLAPSED
           
static String PROPERTY_WIDTH
           
static String TEXT_CHANGED_PROPERTY
           
static String Version
           
 
Fields inherited from class nextapp.echo.app.Component
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
Fckeditor()
          Works (at least) with Fckeditor versions 2.6.4 and 2.6.5
 
Method Summary
 String getText()
          Get content of editor
 void processInput(String inputName, Object inputValue)
          This is the method which received updates from the client and stores it on the local object
 void setConfig(Properties newValue)
          Set editor configuration options
 void setDebug(boolean newValue)
          When turned on we write many log messages to the client side log window.
 void setFckeditorConfigURL(String newValue)
           
 void setFckeditorCssURL(String newValue)
           
 void setFckeditorURL(String newValue)
           
 void setHeight(Extent height)
          Set the height of the editor
 void setText(String newValue)
          Set content of editor
 void setToolbar(String newValue)
          Use the toolbar with this name
 void setToolbarAutocollapse(boolean newValue)
          When set to true the toolbar is collapsed when the editor does NOT have the focus.
 void setToolbarCollapsed(boolean newValue)
          Should the toolbar be shown in collapsed mode or not
 void setWidth(Extent width)
          Set the width of the editor
 
Methods inherited from class nextapp.echo.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_FCKEDITOR_URL

public static final String PROPERTY_FCKEDITOR_URL
See Also:
Constant Field Values

PROPERTY_FCKEDITOR_CONFIG_URL

public static final String PROPERTY_FCKEDITOR_CONFIG_URL
See Also:
Constant Field Values

PROPERTY_FCKEDITOR_CSS_URL

public static final String PROPERTY_FCKEDITOR_CSS_URL
See Also:
Constant Field Values

PROPERTY_WIDTH

public static final String PROPERTY_WIDTH
See Also:
Constant Field Values

PROPERTY_HEIGHT

public static final String PROPERTY_HEIGHT
See Also:
Constant Field Values

PROPERTY_CONFIG

public static final String PROPERTY_CONFIG
See Also:
Constant Field Values

PROPERTY_TOOLBAR

public static final String PROPERTY_TOOLBAR
See Also:
Constant Field Values

PROPERTY_DEBUG

public static final String PROPERTY_DEBUG
See Also:
Constant Field Values

PROPERTY_TOOLBAR_COLLAPSED

public static final String PROPERTY_TOOLBAR_COLLAPSED
See Also:
Constant Field Values

PROPERTY_AUTOCOLLAPSE_TOOLBAR

public static final String PROPERTY_AUTOCOLLAPSE_TOOLBAR
See Also:
Constant Field Values

TEXT_CHANGED_PROPERTY

public static final String TEXT_CHANGED_PROPERTY
See Also:
Constant Field Values

Version

public static final String Version
See Also:
Constant Field Values
Constructor Detail

Fckeditor

public Fckeditor()
Works (at least) with Fckeditor versions 2.6.4 and 2.6.5

Method Detail

setFckeditorURL

public void setFckeditorURL(String newValue)

setFckeditorConfigURL

public void setFckeditorConfigURL(String newValue)

setFckeditorCssURL

public void setFckeditorCssURL(String newValue)

setWidth

public void setWidth(Extent width)
Set the width of the editor

Parameters:
width -

setHeight

public void setHeight(Extent height)
Set the height of the editor

Parameters:
height -

setText

public void setText(String newValue)
Set content of editor

Parameters:
newValue -

getText

public String getText()
Get content of editor

Returns:

processInput

public void processInput(String inputName,
                         Object inputValue)
This is the method which received updates from the client and stores it on the local object

Overrides:
processInput in class Component
See Also:
Component.processInput(java.lang.String, java.lang.Object)

setConfig

public void setConfig(Properties newValue)
Set editor configuration options

Parameters:
newValue -

setToolbar

public void setToolbar(String newValue)
Use the toolbar with this name

Parameters:
newValue -

setDebug

public void setDebug(boolean newValue)
When turned on we write many log messages to the client side log window. To see the window just add ?debug to the url

Parameters:
newValue -

setToolbarCollapsed

public void setToolbarCollapsed(boolean newValue)
Should the toolbar be shown in collapsed mode or not

Parameters:
newValue - True = Toolbar collapsed

setToolbarAutocollapse

public void setToolbarAutocollapse(boolean newValue)
When set to true the toolbar is collapsed when the editor does NOT have the focus. When the editor receives the focus the toolbar is expanded (and on loss of focus collapsed again)

Parameters:
newValue -

EchoPoint API - 3.0.0b5
App Webcontainer