Home /Modules/java/JEditorPane.sleela

JEditorPane.sleela

lib/java/jdk-25/javax/swing/JEditorPane.sleela · 126 line(s) · sleela

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

class JEditorPane {
  < ---- 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 = 4982;
  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.JEditorPane";
  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 implementation ---- >
  < ---- javax.swing.JEditorPane accessor contract (generated by tools/jdk_api_accessors.py) ---- >
  << State and accessors whose behavior was observed on the JDK by
     tools/ApiAccessorProbe.java: getters returning a constructor argument,
     the initial state of a property, and setter / getter round trips,
     for every probed constructor that determines all of that state.
     Methods beyond these keep their exact-signature stubs. >>
  String heldText;
  String heldUIClassID;
  boolean heldScrollableTracksViewportWidth;
  boolean heldScrollableTracksViewportHeight;
  String heldContentType;
  public JEditorPane(java.lang.String type, java.lang.String text) { this.heldText = text; this.heldUIClassID = "EditorPaneUI"; this.heldScrollableTracksViewportWidth = false; this.heldScrollableTracksViewportHeight = false; this.heldContentType = "text/plain"; }
  public JEditorPane() { this.heldText = ""; this.heldUIClassID = "EditorPaneUI"; this.heldScrollableTracksViewportWidth = false; this.heldScrollableTracksViewportHeight = false; this.heldContentType = "text/plain"; }
  public java.lang.String getText() { return this.heldText; }
  public java.lang.String getUIClassID() { return this.heldUIClassID; }
  public boolean getScrollableTracksViewportWidth() { return this.heldScrollableTracksViewportWidth; }
  public boolean getScrollableTracksViewportHeight() { return this.heldScrollableTracksViewportHeight; }
  public final java.lang.String getContentType() { return this.heldContentType; }
  < ---- END java implementation ---- >

  < ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
  < constants and static fields (values reflected from the JDK) >
  static final String W3C_LENGTH_UNITS = "JEditorPane.w3cLengthUnits";
  static final String HONOR_DISPLAY_PROPERTIES = "JEditorPane.honorDisplayProperties";
  < ---- 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. >>
  @JavaProtected
  java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.paramString()"); }
  public void read(java.io.InputStream in, java.lang.Object desc) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.read(java.io.InputStream, java.lang.Object)"); }
  public void setText(java.lang.String t) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setText(java.lang.String)"); }
  public java.awt.Dimension getPreferredSize() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getPreferredSize()"); }
  public void scrollToReference(java.lang.String reference) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.scrollToReference(java.lang.String)"); }
  @JavaProtected
  javax.swing.text.EditorKit createDefaultEditorKit() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.createDefaultEditorKit()"); }
  public javax.swing.text.EditorKit getEditorKitForContentType(java.lang.String type) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getEditorKitForContentType(java.lang.String)"); }
  public void setEditorKit(javax.swing.text.EditorKit kit) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setEditorKit(javax.swing.text.EditorKit)"); }
  public static javax.swing.text.EditorKit createEditorKitForContentType(java.lang.String type) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.createEditorKitForContentType(java.lang.String)"); }
  public void setEditorKitForContentType(java.lang.String type, javax.swing.text.EditorKit k) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setEditorKitForContentType(java.lang.String, javax.swing.text.EditorKit)"); }
  public static void registerEditorKitForContentType(java.lang.String type, java.lang.String classname) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.registerEditorKitForContentType(java.lang.String, java.lang.String)"); }
  public static void registerEditorKitForContentType(java.lang.String type, java.lang.String classname, java.lang.ClassLoader loader) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.registerEditorKitForContentType(java.lang.String, java.lang.String, java.lang.ClassLoader)"); }
  public synchronized void addHyperlinkListener(javax.swing.event.HyperlinkListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.addHyperlinkListener(javax.swing.event.HyperlinkListener)"); }
  public synchronized void removeHyperlinkListener(javax.swing.event.HyperlinkListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.removeHyperlinkListener(javax.swing.event.HyperlinkListener)"); }
  public synchronized javax.swing.event.HyperlinkListener[] getHyperlinkListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getHyperlinkListeners()"); }
  public void fireHyperlinkUpdate(javax.swing.event.HyperlinkEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.fireHyperlinkUpdate(javax.swing.event.HyperlinkEvent)"); }
  public static java.lang.String getEditorKitClassNameForContentType(java.lang.String type) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getEditorKitClassNameForContentType(java.lang.String)"); }
  public javax.swing.text.EditorKit getEditorKit() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getEditorKit()"); }
  public void replaceSelection(java.lang.String content) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.replaceSelection(java.lang.String)"); }
  @JavaProtected
  java.io.InputStream getStream(java.net.URL page) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getStream(java.net.URL)"); }
  public java.net.URL getPage() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getPage()"); }
  public void setPage(java.lang.String url) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setPage(java.lang.String)"); }
  public void setPage(java.net.URL page) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setPage(java.net.URL)"); }
  public final void setContentType(java.lang.String type) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.setContentType(java.lang.String)"); }
  public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.getAccessibleContext()"); }
  < ---- 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. >>
  public JEditorPane(java.lang.String url) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.<init>(java.lang.String)"); }
  public JEditorPane(java.net.URL initialPage) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JEditorPane.<init>(java.net.URL)"); }
  < ---- END java constructors ---- >
}