BoxView.sleela
lib/java/jdk-25/javax/swing/text/BoxView.sleela · 127 line(s) · sleela
<< lib/java/javax/swing/text/BoxView.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.swing.text.BoxView.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class BoxView {
< ---- 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 = 1914;
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.BoxView";
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.text.BoxView 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. >>
int heldAxis;
public BoxView(javax.swing.text.Element elem, int axis) { this.heldAxis = axis; }
public int getAxis() { return this.heldAxis; }
public void setAxis(int axis) { this.heldAxis = axis; }
< ---- END java implementation ---- >
< ---- 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 replace(int index, int length, javax.swing.text.View[] elems) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.replace(int, int, javax.swing.text.View[])"); }
@JavaProtected
int getOffset(int axis, int childIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getOffset(int, int)"); }
@JavaProtected
boolean isAfter(int x, int y, java.awt.Rectangle innerAlloc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.isAfter(int, int, java.awt.Rectangle)"); }
@JavaProtected
boolean isBefore(int x, int y, java.awt.Rectangle innerAlloc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.isBefore(int, int, java.awt.Rectangle)"); }
public void setSize(float width, float height) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.setSize(float, float)"); }
public float getAlignment(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getAlignment(int)"); }
public int getHeight() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getHeight()"); }
@JavaProtected
void baselineLayout(int targetSpan, int axis, int[] offsets, int[] spans) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.baselineLayout(int, int, int[], int[])"); }
@JavaProtected
void layout(int width, int height) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.layout(int, int)"); }
@JavaProtected
javax.swing.SizeRequirements calculateMinorAxisRequirements(int axis, javax.swing.SizeRequirements r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)"); }
public float getPreferredSpan(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getPreferredSpan(int)"); }
public java.awt.Shape getChildAllocation(int index, java.awt.Shape a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getChildAllocation(int, java.awt.Shape)"); }
@JavaProtected
int getSpan(int axis, int childIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getSpan(int, int)"); }
@JavaProtected
void paintChild(java.awt.Graphics g, java.awt.Rectangle alloc, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.paintChild(java.awt.Graphics, java.awt.Rectangle, int)"); }
public float getMinimumSpan(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getMinimumSpan(int)"); }
public float getMaximumSpan(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getMaximumSpan(int)"); }
public void layoutChanged(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.layoutChanged(int)"); }
@JavaProtected
boolean flipEastAndWestAtEnds(int position, javax.swing.text.Position.Bias bias) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.flipEastAndWestAtEnds(int, javax.swing.text.Position.Bias)"); }
@JavaProtected
boolean isLayoutValid(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.isLayoutValid(int)"); }
public void preferenceChanged(javax.swing.text.View child, boolean width, boolean height) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.preferenceChanged(javax.swing.text.View, boolean, boolean)"); }
@JavaProtected
void forwardUpdate(javax.swing.event.DocumentEvent.ElementChange ec, javax.swing.event.DocumentEvent e, java.awt.Shape a, javax.swing.text.ViewFactory f) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)"); }
@JavaProtected
void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.layoutMajorAxis(int, int, int[], int[])"); }
@JavaProtected
void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.layoutMinorAxis(int, int, int[], int[])"); }
@JavaProtected
boolean isAllocationValid() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.isAllocationValid()"); }
@JavaProtected
void childAllocation(int index, java.awt.Rectangle alloc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.childAllocation(int, java.awt.Rectangle)"); }
@JavaProtected
javax.swing.SizeRequirements calculateMajorAxisRequirements(int axis, javax.swing.SizeRequirements r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.calculateMajorAxisRequirements(int, javax.swing.SizeRequirements)"); }
public int getResizeWeight(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getResizeWeight(int)"); }
@JavaProtected
javax.swing.text.View getViewAtPoint(int x, int y, java.awt.Rectangle alloc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getViewAtPoint(int, int, java.awt.Rectangle)"); }
@JavaProtected
javax.swing.SizeRequirements baselineRequirements(int axis, javax.swing.SizeRequirements r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.baselineRequirements(int, javax.swing.SizeRequirements)"); }
public int getWidth() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.getWidth()"); }
public int viewToModel(float x, float y, java.awt.Shape a, javax.swing.text.Position.Bias[] bias) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])"); }
public java.awt.Shape modelToView(int pos, java.awt.Shape a, javax.swing.text.Position.Bias b) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)"); }
public void paint(java.awt.Graphics g, java.awt.Shape allocation) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.BoxView.paint(java.awt.Graphics, java.awt.Shape)"); }
< ---- END java signatures ---- >
}