Class LongTextClassFieldEditPane


  • public class LongTextClassFieldEditPane
    extends ClassFieldEditPane
    Represents the pane used to edit a 'Long Text' class field.
    Since:
    4.2M1
    Version:
    $Id: 2a8ccad00f1d31eaa6a8f2e5decc218a853f4c87 $
    • Constructor Detail

      • LongTextClassFieldEditPane

        public LongTextClassFieldEditPane​(String fieldName)
        Creates a new instance.
        Parameters:
        fieldName - the name of the long text field
    • Method Detail

      • setRows

        public void setRows​(int rows)
        Sets the number of rows.
        Parameters:
        rows - the new number of rows
      • setEditor

        public void setEditor​(String editor)
        Sets the editor to be used to edit the value of the long text field.
        Parameters:
        editor - the editor to be used to edit the value of this field
      • getPreviewRows

        public int getPreviewRows()
        Returns:
        the value of the "rows" attribute on the text area used to input the default field value