GapContent.sleela
lib/java/jdk-25/javax/swing/text/GapContent.sleela · 95 line(s) · sleela
<< lib/java/javax/swing/text/GapContent.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.swing.text.GapContent.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class GapContent {
< ---- 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 = 4162;
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.GapContent";
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 javax.swing.undo.UndoableEdit remove(int where, int nitems) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.remove(int, int)"); }
public int length() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.length()"); }
public void getChars(int where, int len, javax.swing.text.Segment chars) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.getChars(int, int, javax.swing.text.Segment)"); }
public java.lang.String getString(int where, int len) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.getString(int, int)"); }
public javax.swing.undo.UndoableEdit insertString(int where, java.lang.String str) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.insertString(int, java.lang.String)"); }
public javax.swing.text.Position createPosition(int offset) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.createPosition(int)"); }
@JavaProtected
java.lang.Object allocateArray(int len) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.allocateArray(int)"); }
@JavaProtected
int getArrayLength() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.getArrayLength()"); }
@JavaProtected
void shiftEnd(int newSize) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.shiftEnd(int)"); }
@JavaProtected
void shiftGap(int newGapStart) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.shiftGap(int)"); }
@JavaProtected
void resetMarksAtZero() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.resetMarksAtZero()"); }
@JavaProtected
void shiftGapStartDown(int newGapStart) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.shiftGapStartDown(int)"); }
@JavaProtected
void shiftGapEndUp(int newGapEnd) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.shiftGapEndUp(int)"); }
@JavaProtected
java.util.Vector getPositionsInRange(java.util.Vector v, int offset, int length) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.getPositionsInRange(java.util.Vector, int, int)"); }
@JavaProtected
void updateUndoPositions(java.util.Vector positions, int offset, int length) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.updateUndoPositions(java.util.Vector, 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. >>
public GapContent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.<init>()"); }
public GapContent(int initialLength) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.GapContent.<init>(int)"); }
< ---- END java constructors ---- >
}