Home /Modules/java/JTabbedPane.sleela

JTabbedPane.sleela

lib/java/jdk-25/javax/swing/JTabbedPane.sleela · 166 line(s) · sleela

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

class JTabbedPane {
  < ---- 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 = 5084;
  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.JTabbedPane";
  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.JTabbedPane 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. >>
  String heldUIClassID;
  int heldTabCount;
  int heldTabRunCount;
  int heldTabPlacement;
  int heldTabLayoutPolicy;
  int heldSelectedIndex;
  public JTabbedPane(int tabPlacement) { this.heldUIClassID = "TabbedPaneUI"; this.heldTabCount = 0; this.heldTabRunCount = 0; this.heldTabPlacement = tabPlacement; this.heldTabLayoutPolicy = 0; this.heldSelectedIndex = -1; }
  public JTabbedPane() { this.heldUIClassID = "TabbedPaneUI"; this.heldTabCount = 0; this.heldTabRunCount = 0; this.heldTabPlacement = 1; this.heldTabLayoutPolicy = 0; this.heldSelectedIndex = -1; }
  public java.lang.String getUIClassID() { return this.heldUIClassID; }
  public int getTabCount() { return this.heldTabCount; }
  public int getTabRunCount() { return this.heldTabRunCount; }
  public int getTabPlacement() { return this.heldTabPlacement; }
  public int getTabLayoutPolicy() { return this.heldTabLayoutPolicy; }
  public int getSelectedIndex() { return this.heldSelectedIndex; }
  < ---- END java implementation ---- >

  < ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
  < constants and static fields (values reflected from the JDK) >
  static final int WRAP_TAB_LAYOUT = 0;
  static final int SCROLL_TAB_LAYOUT = 1;
  < public and protected instance fields >
  int tabPlacement;
  Any model;
  Any changeListener;
  Any changeEvent;
  < ---- 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 void remove(java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.remove(java.awt.Component)"); }
  public void remove(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.remove(int)"); }
  public void add(java.awt.Component component, java.lang.Object constraints) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.add(java.awt.Component, java.lang.Object)"); }
  public java.awt.Component add(java.lang.String title, java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.add(java.lang.String, java.awt.Component)"); }
  public java.awt.Component add(java.awt.Component component, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.add(java.awt.Component, int)"); }
  public void add(java.awt.Component component, java.lang.Object constraints, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.add(java.awt.Component, java.lang.Object, int)"); }
  public java.awt.Component add(java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.add(java.awt.Component)"); }
  @JavaProtected
  java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.paramString()"); }
  public void removeAll() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.removeAll()"); }
  public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.updateUI()"); }
  public void setUI(javax.swing.plaf.TabbedPaneUI ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setUI(javax.swing.plaf.TabbedPaneUI)"); }
  public javax.swing.plaf.TabbedPaneUI getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getUI()"); }
  public java.lang.String getToolTipText(java.awt.event.MouseEvent event) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getToolTipText(java.awt.event.MouseEvent)"); }
  public int indexOfComponent(java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.indexOfComponent(java.awt.Component)"); }
  public void removeTabAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.removeTabAt(int)"); }
  public void insertTab(java.lang.String title, javax.swing.Icon icon, java.awt.Component component, java.lang.String tip, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.insertTab(java.lang.String, javax.swing.Icon, java.awt.Component, java.lang.String, int)"); }
  public void setTabComponentAt(int index, java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setTabComponentAt(int, java.awt.Component)"); }
  public java.awt.Component getSelectedComponent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getSelectedComponent()"); }
  public boolean isEnabledAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.isEnabledAt(int)"); }
  public java.awt.Rectangle getBoundsAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getBoundsAt(int)"); }
  public java.awt.Component getTabComponentAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getTabComponentAt(int)"); }
  public int indexOfTabComponent(java.awt.Component tabComponent) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.indexOfTabComponent(java.awt.Component)"); }
  public void setSelectedComponent(java.awt.Component c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setSelectedComponent(java.awt.Component)"); }
  public javax.swing.Icon getDisabledIconAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getDisabledIconAt(int)"); }
  public java.lang.String getToolTipTextAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getToolTipTextAt(int)"); }
  public java.awt.Color getBackgroundAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getBackgroundAt(int)"); }
  public java.awt.Color getForegroundAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getForegroundAt(int)"); }
  public int getMnemonicAt(int tabIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getMnemonicAt(int)"); }
  public int getDisplayedMnemonicIndexAt(int tabIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getDisplayedMnemonicIndexAt(int)"); }
  public void setTitleAt(int index, java.lang.String title) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setTitleAt(int, java.lang.String)"); }
  public void setIconAt(int index, javax.swing.Icon icon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setIconAt(int, javax.swing.Icon)"); }
  public void setToolTipTextAt(int index, java.lang.String toolTipText) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setToolTipTextAt(int, java.lang.String)"); }
  public void setBackgroundAt(int index, java.awt.Color background) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setBackgroundAt(int, java.awt.Color)"); }
  public void setForegroundAt(int index, java.awt.Color foreground) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setForegroundAt(int, java.awt.Color)"); }
  public void setEnabledAt(int index, boolean enabled) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setEnabledAt(int, boolean)"); }
  public void setComponentAt(int index, java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setComponentAt(int, java.awt.Component)"); }
  public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setDisplayedMnemonicIndexAt(int, int)"); }
  public void setMnemonicAt(int tabIndex, int mnemonic) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setMnemonicAt(int, int)"); }
  public int indexOfTab(javax.swing.Icon icon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.indexOfTab(javax.swing.Icon)"); }
  public int indexOfTab(java.lang.String title) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.indexOfTab(java.lang.String)"); }
  public int indexAtLocation(int x, int y) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.indexAtLocation(int, int)"); }
  public void setSelectedIndex(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setSelectedIndex(int)"); }
  public void setTabPlacement(int tabPlacement) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setTabPlacement(int)"); }
  public void setTabLayoutPolicy(int tabLayoutPolicy) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setTabLayoutPolicy(int)"); }
  public void setDisabledIconAt(int index, javax.swing.Icon disabledIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setDisabledIconAt(int, javax.swing.Icon)"); }
  public javax.swing.SingleSelectionModel getModel() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getModel()"); }
  public void removeChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.removeChangeListener(javax.swing.event.ChangeListener)"); }
  @JavaProtected
  javax.swing.event.ChangeListener createChangeListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.createChangeListener()"); }
  public void addChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.addChangeListener(javax.swing.event.ChangeListener)"); }
  public void setModel(javax.swing.SingleSelectionModel model) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.setModel(javax.swing.SingleSelectionModel)"); }
  public javax.swing.event.ChangeListener[] getChangeListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getChangeListeners()"); }
  @JavaProtected
  void fireStateChanged() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.fireStateChanged()"); }
  public void addTab(java.lang.String title, java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.addTab(java.lang.String, java.awt.Component)"); }
  public void addTab(java.lang.String title, javax.swing.Icon icon, java.awt.Component component) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.addTab(java.lang.String, javax.swing.Icon, java.awt.Component)"); }
  public void addTab(java.lang.String title, javax.swing.Icon icon, java.awt.Component component, java.lang.String tip) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.addTab(java.lang.String, javax.swing.Icon, java.awt.Component, java.lang.String)"); }
  public java.lang.String getTitleAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getTitleAt(int)"); }
  public javax.swing.Icon getIconAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getIconAt(int)"); }
  public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getAccessibleContext()"); }
  public java.awt.Component getComponentAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.getComponentAt(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 JTabbedPane(int tabPlacement, int tabLayoutPolicy) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JTabbedPane.<init>(int, int)"); }
  < ---- END java constructors ---- >
}