Home /Modules/java/GlyphView.GlyphPainter.sleela

GlyphView.GlyphPainter.sleela

lib/java/jdk-25/javax/swing/text/GlyphView.GlyphPainter.sleela · 85 line(s) · sleela

<< lib/java/javax/swing/text/GlyphView.GlyphPainter.sleela
   SLeeLa Java SE/JDK 28 source envelope.
   Definition: Native SLeeLa source declaration for the Java type javax.swing.text.GlyphView.GlyphPainter.

   The Java class name is retained exactly. The SLeeLa declaration is the source
   contract; Java behavior is supplied only through the conformance boundary.
   This is a nested Java type; the file keeps the binary name. Nested types
   are not yet resolved by the library loader (see JDK28-PROCEDURAL-IMPLEMENTATION.md). >>
#sleela 3.0
material;

class GlyphPainter {
  < ---- 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 = 4201;
  String metaAuthor = "Oracle / OpenJDK";
  String metaDate = "2026-11-10";
  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-11-10";
  < 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.GlyphView.GlyphPainter";
  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 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 abstract float getHeight(javax.swing.text.GlyphView v) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.getHeight(javax.swing.text.GlyphView)"); }
  public abstract float getAscent(javax.swing.text.GlyphView v) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.getAscent(javax.swing.text.GlyphView)"); }
  public abstract float getDescent(javax.swing.text.GlyphView v) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.getDescent(javax.swing.text.GlyphView)"); }
  public abstract float getSpan(javax.swing.text.GlyphView v, int p0, int p1, javax.swing.text.TabExpander e, float x) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.getSpan(javax.swing.text.GlyphView, int, int, javax.swing.text.TabExpander, float)"); }
  public int getNextVisualPositionFrom(javax.swing.text.GlyphView v, int pos, javax.swing.text.Position.Bias b, java.awt.Shape a, int direction, javax.swing.text.Position.Bias[] biasRet) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GlyphView.GlyphPainter.getNextVisualPositionFrom(javax.swing.text.GlyphView, int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])"); }
  public javax.swing.text.GlyphView.GlyphPainter getPainter(javax.swing.text.GlyphView v, int p0, int p1) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GlyphView.GlyphPainter.getPainter(javax.swing.text.GlyphView, int, int)"); }
  public abstract int viewToModel(javax.swing.text.GlyphView v, float x, float y, java.awt.Shape a, javax.swing.text.Position.Bias[] biasReturn) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.viewToModel(javax.swing.text.GlyphView, float, float, java.awt.Shape, javax.swing.text.Position.Bias[])"); }
  public abstract java.awt.Shape modelToView(javax.swing.text.GlyphView v, int pos, javax.swing.text.Position.Bias bias, java.awt.Shape a) throws javax.swing.text.BadLocationException { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.modelToView(javax.swing.text.GlyphView, int, javax.swing.text.Position.Bias, java.awt.Shape)"); }
  public abstract int getBoundedPosition(javax.swing.text.GlyphView v, int p0, float x, float len) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.getBoundedPosition(javax.swing.text.GlyphView, int, float, float)"); }
  public abstract void paint(javax.swing.text.GlyphView v, java.awt.Graphics g, java.awt.Shape a, int p0, int p1) { throw new AbstractMethodError("javax.swing.text.GlyphView.GlyphPainter.paint(javax.swing.text.GlyphView, java.awt.Graphics, java.awt.Shape, int, int)"); }
  < ---- 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
  GlyphPainter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GlyphView.GlyphPainter.<init>()"); }
  < ---- END java constructors ---- >
}