net.sf.jzeno.echo.components
Class DynaHtmlEditor

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by net.sf.jzeno.echo.components.CustomComponent
          extended by net.sf.jzeno.echo.components.DynaHtmlEditor
All Implemented Interfaces:
java.io.Serializable, BindingTarget, PropertyComponent, RebindableComponent, EventSink, EventSource, Precreation, Component, FastComponent, FastComponentContainer

public class DynaHtmlEditor
extends CustomComponent
implements Precreation

See Also:
Serialized Form

Field Summary
static int PERCENT_UNITS
           
static int PIXEL_UNITS
           
static int TOOLBAR_BASIC
           
static int TOOLBAR_DEFAULT
           
 
Fields inherited from interface nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
DynaHtmlEditor()
           
DynaHtmlEditor(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
           
 
Method Summary
 void applyContext()
           
 int getHeight()
           
 int getHeightUnits()
           
 java.lang.String getHtml()
           
 int getToolbarStyle()
           
 int getWidth()
           
 int getWidthUnits()
           
 void rebind()
           This operation causes the component to reset it's content to that of the domain model.
 void setHeight(int height)
           
 void setHeightUnits(int heightUnits)
           
 void setHtml(java.lang.String html)
           
 void setToolbarStyle(int toolbarStyle)
           
 void setWidth(int width)
           
 void setWidthUnits(int widthUnits)
           
 
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue, validate
 
Methods inherited from class nextapp.echo.AbstractComponent
add, add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, setVisible, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIXEL_UNITS

public static final int PIXEL_UNITS
See Also:
Constant Field Values

PERCENT_UNITS

public static final int PERCENT_UNITS
See Also:
Constant Field Values

TOOLBAR_DEFAULT

public static final int TOOLBAR_DEFAULT
See Also:
Constant Field Values

TOOLBAR_BASIC

public static final int TOOLBAR_BASIC
See Also:
Constant Field Values
Constructor Detail

DynaHtmlEditor

public DynaHtmlEditor()

DynaHtmlEditor

public DynaHtmlEditor(java.lang.Class beanClass,
                      java.lang.String property,
                      java.lang.String constructionHints)
Method Detail

rebind

public void rebind()
Description copied from interface: RebindableComponent

This operation causes the component to reset it's content to that of the domain model.

Specified by:
rebind in interface RebindableComponent
Overrides:
rebind in class CustomComponent

getHtml

public java.lang.String getHtml()

setHtml

public void setHtml(java.lang.String html)

applyContext

public void applyContext()
Specified by:
applyContext in interface Precreation

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getHeightUnits

public int getHeightUnits()

setHeightUnits

public void setHeightUnits(int heightUnits)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getWidthUnits

public int getWidthUnits()

setWidthUnits

public void setWidthUnits(int widthUnits)

getToolbarStyle

public int getToolbarStyle()

setToolbarStyle

public void setToolbarStyle(int toolbarStyle)