Home /Modules/java/JLayer.sleela

JLayer.sleela

lib/java/jdk-25/javax/swing/JLayer.sleela · 120 line(s) · sleela

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

class JLayer<V extends java.awt.Component> {
  < ---- 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 = 4996;
  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.JLayer";
  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.JLayer 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. >>
  boolean heldOptimizedDrawingEnabled;
  boolean heldScrollableTracksViewportWidth;
  boolean heldScrollableTracksViewportHeight;
  long heldLayerEventMask;
  public JLayer() { this.heldOptimizedDrawingEnabled = false; this.heldScrollableTracksViewportWidth = false; this.heldScrollableTracksViewportHeight = false; this.heldLayerEventMask = 0; }
  public boolean isOptimizedDrawingEnabled() { return this.heldOptimizedDrawingEnabled; }
  public boolean getScrollableTracksViewportWidth() { return this.heldScrollableTracksViewportWidth; }
  public boolean getScrollableTracksViewportHeight() { return this.heldScrollableTracksViewportHeight; }
  public long getLayerEventMask() { return this.heldLayerEventMask; }
  < ---- 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 remove(java.awt.Component comp) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.remove(java.awt.Component)"); }
  public void removeAll() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.removeAll()"); }
  public void setBorder(javax.swing.border.Border border) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setBorder(javax.swing.border.Border)"); }
  public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.updateUI()"); }
  public void setUI(javax.swing.plaf.LayerUI<? super V> ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setUI(javax.swing.plaf.LayerUI<? super V>)"); }
  public javax.swing.plaf.LayerUI<? super V> getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getUI()"); }
  public javax.swing.border.Border getBorder() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getBorder()"); }
  @JavaProtected
  void paintComponent(java.awt.Graphics g) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.paintComponent(java.awt.Graphics)"); }
  public void paintImmediately(int x, int y, int w, int h) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.paintImmediately(int, int, int, int)"); }
  @JavaProtected
  boolean isPaintingOrigin() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.isPaintingOrigin()"); }
  public javax.swing.JPanel createGlassPane() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.createGlassPane()"); }
  public void propertyChange(java.beans.PropertyChangeEvent evt) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.propertyChange(java.beans.PropertyChangeEvent)"); }
  public V getView() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getView()"); }
  public void setView(V view) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setView(V)"); }
  public void setLayerEventMask(long layerEventMask) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setLayerEventMask(long)"); }
  public java.awt.Dimension getPreferredScrollableViewportSize() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getPreferredScrollableViewportSize()"); }
  public int getScrollableUnitIncrement(java.awt.Rectangle visibleRect, int orientation, int direction) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getScrollableUnitIncrement(java.awt.Rectangle, int, int)"); }
  public int getScrollableBlockIncrement(java.awt.Rectangle visibleRect, int orientation, int direction) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getScrollableBlockIncrement(java.awt.Rectangle, int, int)"); }
  public boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int w, int h) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.imageUpdate(java.awt.Image, int, int, int, int, int)"); }
  public javax.swing.JPanel getGlassPane() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getGlassPane()"); }
  public void setGlassPane(javax.swing.JPanel glassPane) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setGlassPane(javax.swing.JPanel)"); }
  public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.getAccessibleContext()"); }
  public void setLayout(java.awt.LayoutManager mgr) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.setLayout(java.awt.LayoutManager)"); }
  public void addNotify() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.addNotify()"); }
  @JavaProtected
  void addImpl(java.awt.Component comp, java.lang.Object constraints, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.addImpl(java.awt.Component, java.lang.Object, int)"); }
  public void removeNotify() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.removeNotify()"); }
  public void doLayout() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.doLayout()"); }
  public void paint(java.awt.Graphics g) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.paint(java.awt.Graphics)"); }
  < ---- 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 JLayer(V view, javax.swing.plaf.LayerUI<V> ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.<init>(V, javax.swing.plaf.LayerUI<V>)"); }
  public JLayer(V view) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JLayer.<init>(V)"); }
  < ---- END java constructors ---- >
}