Home /Modules/java/AbstractDocument.sleela

AbstractDocument.sleela

lib/java/jdk-25/javax/swing/text/AbstractDocument.sleela · 145 line(s) · sleela

<< lib/java/javax/swing/text/AbstractDocument.sleela
   SLeeLa Java 28 source envelope.
   Definition: SLeeLa source declaration for the Java type javax.swing.text.AbstractDocument.
   Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;

class AbstractDocument {
  < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
  << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
     or catalog can read and (where appropriate) override this record.
     Values are faithful to the subject's real origin where publicly known. >>
  String metaVersion = "1.0.0";
  int metaId = 1048;
  String metaAuthor = "Oracle / OpenJDK";
  String metaDate = "2026-10-16";
  String metaCopyright = "GPLv2 with Classpath Exception (OpenJDK)";
  String metaTrademark = "Java";
  String metaCorporation = "Oracle Corporation";
  < metaOrigin: National | <nation> | International | Galactic >
  String metaOrigin = "International";
  String metaBirthDate = "2026-09-29";
  < metaScienceRating: maturity/robustness on a 1..10 scale >
  int metaScienceRating = 9;
  < metaNationalSchedule: a real, citable instrument or "none" >
  String metaNationalSchedule = "OpenJDK (JDK 28 API)";

  String getMetaVersion() { return metaVersion; }
  void setMetaVersion(String v) { metaVersion = v; }
  int getMetaId() { return metaId; }
  void setMetaId(int v) { metaId = v; }
  String getAuthor() { return metaAuthor; }
  void setAuthor(String v) { metaAuthor = v; }
  String getDate() { return metaDate; }
  void setDate(String v) { metaDate = v; }
  String getCopyright() { return metaCopyright; }
  void setCopyright(String v) { metaCopyright = v; }
  String getTrademark() { return metaTrademark; }
  void setTrademark(String v) { metaTrademark = v; }
  String getCorporation() { return metaCorporation; }
  void setCorporation(String v) { metaCorporation = v; }
  String getOrigin() { return metaOrigin; }
  void setOrigin(String v) { metaOrigin = v; }
  String getBirthDate() { return metaBirthDate; }
  void setBirthDate(String v) { metaBirthDate = v; }
  int getScienceRating() { return metaScienceRating; }
  void setScienceRating(int v) { metaScienceRating = v; }
  String getNationalSchedule() { return metaNationalSchedule; }
  void setNationalSchedule(String v) { metaNationalSchedule = v; }
  String javaType = "javax.swing.text.AbstractDocument";
  String typeName() { return javaType; }
  boolean available() { return javaType != ""; }
  String construct() { return "java.construct:" + javaType; }
  String invoke(String operation) { return "java.invoke:" + javaType + ":" + operation; }
  String invokeStatic(String operation) { return "java.static:" + javaType + ":" + operation; }

  < ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
  < constants and static fields (values reflected from the JDK) >
  static String BAD_LOCATION = null;
  static final String ParagraphElementName = "paragraph";
  static final String ContentElementName = "content";
  static final String SectionElementName = "section";
  static final String BidiElementName = "bidi level";
  static final String ElementNameAttribute = "$ename";
  < public and protected instance fields >
  Any listenerList;
  < ---- END java declarations ---- >

  < ---- BEGIN java signatures (generated by tools/jdk_api_signatures.py) ---- >
  << Exact Java signatures (from the JDK). A method body that is not yet
     SLeeLa logic throws: AbstractMethodError for an abstract method, else
     UnsupportedOperationException naming the Java signature. >>
  public void remove(int offs, int len) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.remove(int, int)"); }
  public final java.lang.Object getProperty(java.lang.Object key) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getProperty(java.lang.Object)"); }
  public int getLength() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getLength()"); }
  public void replace(int offset, int length, java.lang.String text, javax.swing.text.AttributeSet attrs) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.replace(int, int, java.lang.String, javax.swing.text.AttributeSet)"); }
  public void dump(java.io.PrintStream out) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.dump(java.io.PrintStream)"); }
  @JavaProtected
  final javax.swing.text.AbstractDocument.Content getContent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getContent()"); }
  public java.lang.String getText(int offset, int length) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getText(int, int)"); }
  public void getText(int offset, int length, javax.swing.text.Segment txt) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getText(int, int, javax.swing.text.Segment)"); }
  public final synchronized void readLock() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.readLock()"); }
  @JavaProtected
  final synchronized void writeLock() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.writeLock()"); }
  public javax.swing.text.Element[] getRootElements() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getRootElements()"); }
  public void setAsynchronousLoadPriority(int p) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.setAsynchronousLoadPriority(int)"); }
  @JavaProtected
  void fireRemoveUpdate(javax.swing.event.DocumentEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.fireRemoveUpdate(javax.swing.event.DocumentEvent)"); }
  @JavaProtected
  void postRemoveUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent chng) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.postRemoveUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent)"); }
  @JavaProtected
  void fireChangedUpdate(javax.swing.event.DocumentEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.fireChangedUpdate(javax.swing.event.DocumentEvent)"); }
  @JavaProtected
  void fireUndoableEditUpdate(javax.swing.event.UndoableEditEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.fireUndoableEditUpdate(javax.swing.event.UndoableEditEvent)"); }
  @JavaProtected
  final synchronized void writeUnlock() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.writeUnlock()"); }
  @JavaProtected
  final javax.swing.text.AbstractDocument.AttributeContext getAttributeContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getAttributeContext()"); }
  @JavaProtected
  javax.swing.text.Element createLeafElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet a, int p0, int p1) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.createLeafElement(javax.swing.text.Element, javax.swing.text.AttributeSet, int, int)"); }
  @JavaProtected
  javax.swing.text.Element createBranchElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.createBranchElement(javax.swing.text.Element, javax.swing.text.AttributeSet)"); }
  @JavaProtected
  void fireInsertUpdate(javax.swing.event.DocumentEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.fireInsertUpdate(javax.swing.event.DocumentEvent)"); }
  public int getAsynchronousLoadPriority() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getAsynchronousLoadPriority()"); }
  public void addUndoableEditListener(javax.swing.event.UndoableEditListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.addUndoableEditListener(javax.swing.event.UndoableEditListener)"); }
  public void removeUndoableEditListener(javax.swing.event.UndoableEditListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.removeUndoableEditListener(javax.swing.event.UndoableEditListener)"); }
  public abstract javax.swing.text.Element getDefaultRootElement() { throw new AbstractMethodError("javax.swing.text.AbstractDocument.getDefaultRootElement()"); }
  public void render(java.lang.Runnable r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.render(java.lang.Runnable)"); }
  public abstract javax.swing.text.Element getParagraphElement(int pos) { throw new AbstractMethodError("javax.swing.text.AbstractDocument.getParagraphElement(int)"); }
  @JavaProtected
  void insertUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent chng, javax.swing.text.AttributeSet attr) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.insertUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AttributeSet)"); }
  @JavaProtected
  void removeUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent chng) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.removeUpdate(javax.swing.text.AbstractDocument.DefaultDocumentEvent)"); }
  public javax.swing.text.DocumentFilter getDocumentFilter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getDocumentFilter()"); }
  public void setDocumentFilter(javax.swing.text.DocumentFilter filter) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.setDocumentFilter(javax.swing.text.DocumentFilter)"); }
  public final void putProperty(java.lang.Object key, java.lang.Object value) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.putProperty(java.lang.Object, java.lang.Object)"); }
  public void removeDocumentListener(javax.swing.event.DocumentListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.removeDocumentListener(javax.swing.event.DocumentListener)"); }
  public final synchronized void readUnlock() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.readUnlock()"); }
  public void addDocumentListener(javax.swing.event.DocumentListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.addDocumentListener(javax.swing.event.DocumentListener)"); }
  public void insertString(int offs, java.lang.String str, javax.swing.text.AttributeSet a) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.insertString(int, java.lang.String, javax.swing.text.AttributeSet)"); }
  public synchronized javax.swing.text.Position createPosition(int offs) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.createPosition(int)"); }
  public java.util.Dictionary<java.lang.Object, java.lang.Object> getDocumentProperties() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getDocumentProperties()"); }
  public javax.swing.text.Element getBidiRootElement() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getBidiRootElement()"); }
  public void setDocumentProperties(java.util.Dictionary<java.lang.Object, java.lang.Object> x) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.setDocumentProperties(java.util.Dictionary<java.lang.Object, java.lang.Object>)"); }
  public javax.swing.event.DocumentListener[] getDocumentListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getDocumentListeners()"); }
  public javax.swing.event.UndoableEditListener[] getUndoableEditListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getUndoableEditListeners()"); }
  @JavaProtected
  final synchronized java.lang.Thread getCurrentWriter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getCurrentWriter()"); }
  public final javax.swing.text.Position getStartPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getStartPosition()"); }
  public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T> listenerType) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getListeners(java.lang.Class<T>)"); }
  public final javax.swing.text.Position getEndPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.getEndPosition()"); }
  < ---- END java signatures ---- >

  < ---- BEGIN java constructors (generated by tools/jdk_api_signatures.py) ---- >
  << Exact Java constructor signatures (from the JDK). Overload resolution binds a
     call by arity, then best type match. Each body throws
     UnsupportedOperationException until its SLeeLa logic is written. >>
  @JavaProtected
  AbstractDocument(javax.swing.text.AbstractDocument.Content data) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.<init>(javax.swing.text.AbstractDocument.Content)"); }
  @JavaProtected
  AbstractDocument(javax.swing.text.AbstractDocument.Content data, javax.swing.text.AbstractDocument.AttributeContext context) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.AbstractDocument.<init>(javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.AttributeContext)"); }
  < ---- END java constructors ---- >
}