JComboBox.sleela
lib/java/jdk-25/javax/swing/JComboBox.sleela · 183 line(s) · sleela
<< lib/java/javax/swing/JComboBox.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.swing.JComboBox.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class JComboBox<E> {
< ---- 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 = 4967;
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.JComboBox";
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.JComboBox 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;
boolean heldLightWeightPopupEnabled;
int heldItemCount;
boolean heldEditable;
boolean heldPopupVisible;
int heldMaximumRowCount;
String heldActionCommand;
int heldSelectedIndex;
public JComboBox() { this.heldUIClassID = "ComboBoxUI"; this.heldLightWeightPopupEnabled = true; this.heldItemCount = 0; this.heldEditable = false; this.heldPopupVisible = false; this.heldMaximumRowCount = 8; this.heldActionCommand = "comboBoxChanged"; this.heldSelectedIndex = -1; }
public java.lang.String getUIClassID() { return this.heldUIClassID; }
public boolean isLightWeightPopupEnabled() { return this.heldLightWeightPopupEnabled; }
public int getItemCount() { return this.heldItemCount; }
public boolean isEditable() { return this.heldEditable; }
public boolean isPopupVisible() { return this.heldPopupVisible; }
public int getMaximumRowCount() { return this.heldMaximumRowCount; }
public java.lang.String getActionCommand() { return this.heldActionCommand; }
public int getSelectedIndex() { return this.heldSelectedIndex; }
< ---- END java implementation ---- >
< ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
< public and protected instance fields >
Any dataModel;
Any renderer;
Any editor;
int maximumRowCount;
boolean isEditable;
Any keySelectionManager;
String actionCommand;
boolean lightWeightPopupEnabled;
Any selectedItemReminder;
< ---- 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. >>
@JavaProtected
java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.paramString()"); }
public E getItemAt(int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getItemAt(int)"); }
public void setEnabled(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setEnabled(boolean)"); }
public void processKeyEvent(java.awt.event.KeyEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.processKeyEvent(java.awt.event.KeyEvent)"); }
public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.updateUI()"); }
public void setUI(javax.swing.plaf.ComboBoxUI ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setUI(javax.swing.plaf.ComboBoxUI)"); }
public javax.swing.plaf.ComboBoxUI getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getUI()"); }
@JavaProtected
boolean processKeyBinding(javax.swing.KeyStroke ks, java.awt.event.KeyEvent e, int condition, boolean pressed) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.processKeyBinding(javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean)"); }
public void addActionListener(java.awt.event.ActionListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.addActionListener(java.awt.event.ActionListener)"); }
public void setActionCommand(java.lang.String aCommand) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setActionCommand(java.lang.String)"); }
public void removeActionListener(java.awt.event.ActionListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removeActionListener(java.awt.event.ActionListener)"); }
public java.awt.event.ActionListener[] getActionListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getActionListeners()"); }
public void addItemListener(java.awt.event.ItemListener aListener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.addItemListener(java.awt.event.ItemListener)"); }
public java.lang.Object[] getSelectedObjects() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getSelectedObjects()"); }
public void removeItemListener(java.awt.event.ItemListener aListener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removeItemListener(java.awt.event.ItemListener)"); }
public java.awt.event.ItemListener[] getItemListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getItemListeners()"); }
public void addItem(E item) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.addItem(E)"); }
public java.lang.Object getSelectedItem() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getSelectedItem()"); }
public void setSelectedIndex(int anIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setSelectedIndex(int)"); }
public javax.swing.Action getAction() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getAction()"); }
@JavaProtected
void installAncestorListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.installAncestorListener()"); }
public javax.swing.ListCellRenderer<? super E> getRenderer() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getRenderer()"); }
public javax.swing.ComboBoxEditor getEditor() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getEditor()"); }
@JavaProtected
void selectedItemChanged() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.selectedItemChanged()"); }
@JavaProtected
void fireActionEvent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.fireActionEvent()"); }
public void setPopupVisible(boolean v) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setPopupVisible(boolean)"); }
@JavaProtected
javax.swing.JComboBox.KeySelectionManager createDefaultKeySelectionManager() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.createDefaultKeySelectionManager()"); }
public void hidePopup() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.hidePopup()"); }
public void setLightWeightPopupEnabled(boolean aFlag) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setLightWeightPopupEnabled(boolean)"); }
public void setMaximumRowCount(int count) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setMaximumRowCount(int)"); }
public void setRenderer(javax.swing.ListCellRenderer<? super E> aRenderer) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setRenderer(javax.swing.ListCellRenderer<? super E>)"); }
public void setEditor(javax.swing.ComboBoxEditor anEditor) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setEditor(javax.swing.ComboBoxEditor)"); }
public E getPrototypeDisplayValue() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getPrototypeDisplayValue()"); }
public void setPrototypeDisplayValue(E prototypeDisplayValue) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setPrototypeDisplayValue(E)"); }
public void insertItemAt(E item, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.insertItemAt(E, int)"); }
public void removeItem(java.lang.Object anObject) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removeItem(java.lang.Object)"); }
public void removeItemAt(int anIndex) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removeItemAt(int)"); }
public void removeAllItems() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removeAllItems()"); }
public void showPopup() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.showPopup()"); }
public void addPopupMenuListener(javax.swing.event.PopupMenuListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.addPopupMenuListener(javax.swing.event.PopupMenuListener)"); }
public void removePopupMenuListener(javax.swing.event.PopupMenuListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.removePopupMenuListener(javax.swing.event.PopupMenuListener)"); }
public javax.swing.event.PopupMenuListener[] getPopupMenuListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getPopupMenuListeners()"); }
public void firePopupMenuWillBecomeVisible() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.firePopupMenuWillBecomeVisible()"); }
public void firePopupMenuWillBecomeInvisible() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.firePopupMenuWillBecomeInvisible()"); }
public void firePopupMenuCanceled() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.firePopupMenuCanceled()"); }
public boolean selectWithKeyChar(char keyChar) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.selectWithKeyChar(char)"); }
public void configureEditor(javax.swing.ComboBoxEditor anEditor, java.lang.Object anItem) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.configureEditor(javax.swing.ComboBoxEditor, java.lang.Object)"); }
public void setKeySelectionManager(javax.swing.JComboBox.KeySelectionManager aManager) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setKeySelectionManager(javax.swing.JComboBox.KeySelectionManager)"); }
public javax.swing.JComboBox.KeySelectionManager getKeySelectionManager() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getKeySelectionManager()"); }
public void setEditable(boolean aFlag) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setEditable(boolean)"); }
public void actionPerformed(java.awt.event.ActionEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.actionPerformed(java.awt.event.ActionEvent)"); }
public javax.swing.ComboBoxModel<E> getModel() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getModel()"); }
@JavaProtected
void configurePropertiesFromAction(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.configurePropertiesFromAction(javax.swing.Action)"); }
@JavaProtected
java.beans.PropertyChangeListener createActionPropertyChangeListener(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.createActionPropertyChangeListener(javax.swing.Action)"); }
public void setAction(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setAction(javax.swing.Action)"); }
@JavaProtected
void actionPropertyChanged(javax.swing.Action action, java.lang.String propertyName) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.actionPropertyChanged(javax.swing.Action, java.lang.String)"); }
public void setModel(javax.swing.ComboBoxModel<E> aModel) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setModel(javax.swing.ComboBoxModel<E>)"); }
@JavaProtected
void fireItemStateChanged(java.awt.event.ItemEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.fireItemStateChanged(java.awt.event.ItemEvent)"); }
public void contentsChanged(javax.swing.event.ListDataEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.contentsChanged(javax.swing.event.ListDataEvent)"); }
public void intervalAdded(javax.swing.event.ListDataEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.intervalAdded(javax.swing.event.ListDataEvent)"); }
public void intervalRemoved(javax.swing.event.ListDataEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.intervalRemoved(javax.swing.event.ListDataEvent)"); }
public void setSelectedItem(java.lang.Object anObject) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.setSelectedItem(java.lang.Object)"); }
public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.getAccessibleContext()"); }
< ---- 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 JComboBox(java.util.Vector<E> items) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.<init>(java.util.Vector<E>)"); }
public JComboBox(E[] items) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JComboBox.<init>(E[])"); }
< ---- END java constructors ---- >
}