Module org.autogui

Class GuiReprValueDocumentEditor

java.lang.Object
org.autogui.base.mapping.GuiReprValue
org.autogui.swing.mapping.GuiReprValueDocumentEditor
All Implemented Interfaces:
GuiRepresentation

public class GuiReprValueDocumentEditor extends GuiReprValue
a GUI representation for a property holding a Document, AbstractDocument.Content, or a StringBuilder. the representation depends on some Swing classes(java.desktop module)
      StyledDocument doc;
      @GuiIncluded public StyledDocument getDoc() {
          if (doc == null) {
              doc = new DefaultStyledDocument();
          }
          return doc;
      }

      @GuiIncluded public StringContent content = new StringContent();

      @GuiIncluded public StringBuilder builder = new StringBuilder();