<< lib/java/javax/swing/AbstractButton.sleela SLeeLa Java 28 source envelope. Definition: SLeeLa source declaration for the Java type javax.swing.AbstractButton. Java behavior is supplied through the SLeeLa Java conformance boundary. >> #sleela 3.0 material; class AbstractButton { < ---- 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 = 1037; 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 | | 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.AbstractButton"; 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 declarations (generated by tools/jdk_api_declare.py) ---- > < constants and static fields (values reflected from the JDK) > static final String MODEL_CHANGED_PROPERTY = "model"; static final String TEXT_CHANGED_PROPERTY = "text"; static final String MNEMONIC_CHANGED_PROPERTY = "mnemonic"; static final String MARGIN_CHANGED_PROPERTY = "margin"; static final String VERTICAL_ALIGNMENT_CHANGED_PROPERTY = "verticalAlignment"; static final String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY = "horizontalAlignment"; static final String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY = "verticalTextPosition"; static final String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY = "horizontalTextPosition"; static final String BORDER_PAINTED_CHANGED_PROPERTY = "borderPainted"; static final String FOCUS_PAINTED_CHANGED_PROPERTY = "focusPainted"; static final String ROLLOVER_ENABLED_CHANGED_PROPERTY = "rolloverEnabled"; static final String CONTENT_AREA_FILLED_CHANGED_PROPERTY = "contentAreaFilled"; static final String ICON_CHANGED_PROPERTY = "icon"; static final String PRESSED_ICON_CHANGED_PROPERTY = "pressedIcon"; static final String SELECTED_ICON_CHANGED_PROPERTY = "selectedIcon"; static final String ROLLOVER_ICON_CHANGED_PROPERTY = "rolloverIcon"; static final String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY = "rolloverSelectedIcon"; static final String DISABLED_ICON_CHANGED_PROPERTY = "disabledIcon"; static final String DISABLED_SELECTED_ICON_CHANGED_PROPERTY = "disabledSelectedIcon"; < public and protected instance fields > Any model; Any changeListener; Any actionListener; Any itemListener; 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. >> @JavaProtected void init(java.lang.String text, javax.swing.Icon icon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.init(java.lang.String, javax.swing.Icon)"); } @JavaProtected java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.paramString()"); } public java.lang.String getLabel() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getLabel()"); } public java.lang.String getText() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getText()"); } public void setText(java.lang.String text) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setText(java.lang.String)"); } public void setEnabled(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setEnabled(boolean)"); } public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.updateUI()"); } @JavaProtected void paintBorder(java.awt.Graphics g) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.paintBorder(java.awt.Graphics)"); } public void setUI(javax.swing.plaf.ButtonUI ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setUI(javax.swing.plaf.ButtonUI)"); } public javax.swing.plaf.ButtonUI getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getUI()"); } public boolean isSelected() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.isSelected()"); } public boolean isBorderPainted() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.isBorderPainted()"); } public void setSelected(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setSelected(boolean)"); } public void setBorderPainted(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setBorderPainted(boolean)"); } public void setMargin(java.awt.Insets m) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setMargin(java.awt.Insets)"); } public java.awt.Insets getMargin() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getMargin()"); } public void setLabel(java.lang.String label) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setLabel(java.lang.String)"); } public void addActionListener(java.awt.event.ActionListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.addActionListener(java.awt.event.ActionListener)"); } public void setActionCommand(java.lang.String actionCommand) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setActionCommand(java.lang.String)"); } public void removeActionListener(java.awt.event.ActionListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.removeActionListener(java.awt.event.ActionListener)"); } public java.awt.event.ActionListener[] getActionListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getActionListeners()"); } public void addItemListener(java.awt.event.ItemListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.addItemListener(java.awt.event.ItemListener)"); } public java.lang.Object[] getSelectedObjects() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getSelectedObjects()"); } public void removeItemListener(java.awt.event.ItemListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.removeItemListener(java.awt.event.ItemListener)"); } public java.awt.event.ItemListener[] getItemListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getItemListeners()"); } public javax.swing.Icon getIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getIcon()"); } public javax.swing.Action getAction() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getAction()"); } 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.AbstractButton.imageUpdate(java.awt.Image, int, int, int, int, int)"); } public java.lang.String getActionCommand() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getActionCommand()"); } public int getMnemonic() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getMnemonic()"); } public void doClick() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.doClick()"); } public void doClick(int pressTime) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.doClick(int)"); } public javax.swing.ButtonModel getModel() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getModel()"); } public void setRolloverEnabled(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setRolloverEnabled(boolean)"); } public javax.swing.Icon getDisabledIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getDisabledIcon()"); } public javax.swing.Icon getSelectedIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getSelectedIcon()"); } public javax.swing.Icon getDisabledSelectedIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getDisabledSelectedIcon()"); } @JavaProtected int checkVerticalKey(int key, java.lang.String exception) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.checkVerticalKey(int, java.lang.String)"); } @JavaProtected int checkHorizontalKey(int key, java.lang.String exception) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.checkHorizontalKey(int, java.lang.String)"); } public boolean isRolloverEnabled() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.isRolloverEnabled()"); } @JavaProtected void configurePropertiesFromAction(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.configurePropertiesFromAction(javax.swing.Action)"); } @JavaProtected java.beans.PropertyChangeListener createActionPropertyChangeListener(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.createActionPropertyChangeListener(javax.swing.Action)"); } public boolean getHideActionText() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getHideActionText()"); } public void setHideActionText(boolean hideActionText) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setHideActionText(boolean)"); } public void setDisplayedMnemonicIndex(int index) throws java.lang.IllegalArgumentException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setDisplayedMnemonicIndex(int)"); } public void setMnemonic(char mnemonic) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setMnemonic(char)"); } public void setMnemonic(int mnemonic) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setMnemonic(int)"); } public void setIcon(javax.swing.Icon defaultIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setIcon(javax.swing.Icon)"); } public void removeChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.removeChangeListener(javax.swing.event.ChangeListener)"); } @JavaProtected javax.swing.event.ChangeListener createChangeListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.createChangeListener()"); } @JavaProtected java.awt.event.ActionListener createActionListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.createActionListener()"); } @JavaProtected java.awt.event.ItemListener createItemListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.createItemListener()"); } public void addChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.addChangeListener(javax.swing.event.ChangeListener)"); } public void setDisabledIcon(javax.swing.Icon disabledIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setDisabledIcon(javax.swing.Icon)"); } public void setDisabledSelectedIcon(javax.swing.Icon disabledSelectedIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setDisabledSelectedIcon(javax.swing.Icon)"); } public void setAction(javax.swing.Action a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setAction(javax.swing.Action)"); } public javax.swing.Icon getPressedIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getPressedIcon()"); } public javax.swing.Icon getRolloverSelectedIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getRolloverSelectedIcon()"); } public javax.swing.Icon getRolloverIcon() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getRolloverIcon()"); } public void setIconTextGap(int iconTextGap) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setIconTextGap(int)"); } public void setContentAreaFilled(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setContentAreaFilled(boolean)"); } public void setPressedIcon(javax.swing.Icon pressedIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setPressedIcon(javax.swing.Icon)"); } public void setSelectedIcon(javax.swing.Icon selectedIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setSelectedIcon(javax.swing.Icon)"); } public void setRolloverIcon(javax.swing.Icon rolloverIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setRolloverIcon(javax.swing.Icon)"); } public void setRolloverSelectedIcon(javax.swing.Icon rolloverSelectedIcon) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setRolloverSelectedIcon(javax.swing.Icon)"); } public int getVerticalAlignment() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getVerticalAlignment()"); } public void setVerticalAlignment(int alignment) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setVerticalAlignment(int)"); } public int getHorizontalAlignment() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getHorizontalAlignment()"); } public void setHorizontalAlignment(int alignment) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setHorizontalAlignment(int)"); } public int getVerticalTextPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getVerticalTextPosition()"); } public void setVerticalTextPosition(int textPosition) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setVerticalTextPosition(int)"); } public int getHorizontalTextPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getHorizontalTextPosition()"); } public void setHorizontalTextPosition(int textPosition) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setHorizontalTextPosition(int)"); } public int getIconTextGap() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getIconTextGap()"); } @JavaProtected void actionPropertyChanged(javax.swing.Action action, java.lang.String propertyName) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.actionPropertyChanged(javax.swing.Action, java.lang.String)"); } public boolean isFocusPainted() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.isFocusPainted()"); } public void setFocusPainted(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setFocusPainted(boolean)"); } public boolean isContentAreaFilled() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.isContentAreaFilled()"); } public int getDisplayedMnemonicIndex() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getDisplayedMnemonicIndex()"); } public void setMultiClickThreshhold(long threshold) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setMultiClickThreshhold(long)"); } public long getMultiClickThreshhold() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getMultiClickThreshhold()"); } public void setModel(javax.swing.ButtonModel newModel) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setModel(javax.swing.ButtonModel)"); } public javax.swing.event.ChangeListener[] getChangeListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.getChangeListeners()"); } @JavaProtected void fireStateChanged() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.fireStateChanged()"); } @JavaProtected void fireActionPerformed(java.awt.event.ActionEvent event) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)"); } @JavaProtected void fireItemStateChanged(java.awt.event.ItemEvent event) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.fireItemStateChanged(java.awt.event.ItemEvent)"); } public void setLayout(java.awt.LayoutManager mgr) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.setLayout(java.awt.LayoutManager)"); } @JavaProtected void addImpl(java.awt.Component comp, java.lang.Object constraints, int index) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.addImpl(java.awt.Component, java.lang.Object, int)"); } public void removeNotify() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.removeNotify()"); } < ---- 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. >> @JavaProtected AbstractButton() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.AbstractButton.()"); } < ---- END java constructors ---- > }