Home /Modules/java/Box.sleela

Box.sleela

lib/java/jdk-25/javax/swing/Box.sleela · 82 line(s) · sleela

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

class Box {
  < ---- 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 = 1909;
  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.Box";
  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. >>
  @JavaProtected
  void paintComponent(java.awt.Graphics g) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.paintComponent(java.awt.Graphics)"); }
  public static javax.swing.Box createHorizontalBox() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createHorizontalBox()"); }
  public static javax.swing.Box createVerticalBox() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createVerticalBox()"); }
  public static java.awt.Component createRigidArea(java.awt.Dimension d) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createRigidArea(java.awt.Dimension)"); }
  public static java.awt.Component createHorizontalStrut(int width) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createHorizontalStrut(int)"); }
  public static java.awt.Component createVerticalStrut(int height) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createVerticalStrut(int)"); }
  public static java.awt.Component createGlue() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createGlue()"); }
  public static java.awt.Component createHorizontalGlue() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createHorizontalGlue()"); }
  public static java.awt.Component createVerticalGlue() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.createVerticalGlue()"); }
  public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.getAccessibleContext()"); }
  public void setLayout(java.awt.LayoutManager l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.setLayout(java.awt.LayoutManager)"); }
  < ---- 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 Box(int axis) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.Box.<init>(int)"); }
  < ---- END java constructors ---- >
}