Home /Modules/java/ParagraphView.sleela

ParagraphView.sleela

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

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

class ParagraphView {
  < ---- 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 = 6909;
  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.ParagraphView";
  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) ---- >
  < public and protected instance fields >
  int firstLineIndent;
  < ---- 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 float getAlignment(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getAlignment(int)"); }
  @JavaProtected
  void setJustification(int j) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.setJustification(int)"); }
  public void changedUpdate(javax.swing.event.DocumentEvent changes, java.awt.Shape a, javax.swing.text.ViewFactory f) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)"); }
  public int getFlowSpan(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getFlowSpan(int)"); }
  @JavaProtected
  javax.swing.SizeRequirements calculateMinorAxisRequirements(int axis, javax.swing.SizeRequirements r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)"); }
  @JavaProtected
  void setPropertiesFromAttributes() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.setPropertiesFromAttributes()"); }
  @JavaProtected
  void setLineSpacing(float ls) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.setLineSpacing(float)"); }
  @JavaProtected
  void setFirstLineIndent(float fi) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.setFirstLineIndent(float)"); }
  @JavaProtected
  int getClosestPositionTo(int pos, javax.swing.text.Position.Bias b, java.awt.Shape a, int direction, javax.swing.text.Position.Bias[] biasRet, int rowIndex, int x) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getClosestPositionTo(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[], int, int)"); }
  @JavaProtected
  javax.swing.text.TabSet getTabSet() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getTabSet()"); }
  @JavaProtected
  int findOffsetToCharactersInString(char[] string, int start) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.findOffsetToCharactersInString(char[], int)"); }
  @JavaProtected
  float getPartialSize(int startOffset, int endOffset) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getPartialSize(int, int)"); }
  @JavaProtected
  int getLayoutViewCount() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getLayoutViewCount()"); }
  @JavaProtected
  javax.swing.text.View getLayoutView(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getLayoutView(int)"); }
  public int getBreakWeight(int axis, float len) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getBreakWeight(int, float)"); }
  @JavaProtected
  int getNextNorthSouthVisualPositionFrom(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.ParagraphView.getNextNorthSouthVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])"); }
  @JavaProtected
  boolean flipEastAndWestAtEnds(int position, javax.swing.text.Position.Bias bias) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.flipEastAndWestAtEnds(int, javax.swing.text.Position.Bias)"); }
  public int getFlowStart(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getFlowStart(int)"); }
  @JavaProtected
  javax.swing.text.View createRow() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.createRow()"); }
  public float nextTabStop(float x, int tabOffset) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.nextTabStop(float, int)"); }
  @JavaProtected
  float getTabBase() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.getTabBase()"); }
  public javax.swing.text.View breakView(int axis, float len, java.awt.Shape a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.breakView(int, float, java.awt.Shape)"); }
  public void paint(java.awt.Graphics g, java.awt.Shape a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.paint(java.awt.Graphics, java.awt.Shape)"); }
  < ---- 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 ParagraphView(javax.swing.text.Element elem) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.ParagraphView.<init>(javax.swing.text.Element)"); }
  < ---- END java constructors ---- >
}