Class DefaultFloatUIEditor

All Implemented Interfaces:
UIEditor

public class DefaultFloatUIEditor extends AbstractTextBasedUIEditor
  • Constructor Details

    • DefaultFloatUIEditor

      public DefaultFloatUIEditor()
  • Method Details

    • createViewComponent

      public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
      Description copied from interface: UIEditor
      Creates a new editor component and attaches it to the specified Page page.
      Parameters:
      initialValue - editor's initial value
      parameters - parameters passed via configuration for particular editor
      listener - the EditorListener that will receive events when the editor's value is changed
      Returns:
      the editor component
    • getTestId

      protected String getTestId(Map<String,? extends Object> parameters)
    • setValue

      public void setValue(Object value)
      Description copied from interface: UIEditor
      Sets the value of this editor to value.

      Note: Does not have anything to do with value persistence, it is only for setting the value to be displayed. However, depending on the view component implementation and the specified EditorListener the underlying view component might generate an event which causes the EditorListener.valueChanged(Object) method to be called.

      Specified by:
      setValue in interface UIEditor
      Overrides:
      setValue in class AbstractUIEditor
      Parameters:
      value - the value to set
    • isInline

      public boolean isInline()
      Description copied from interface: UIEditor
      Returns whether this editor is an inline editor or not.
      Returns:
      true, if inline
    • getEditorType

      public String getEditorType()