JSlider.sleela
lib/java/jdk-25/javax/swing/JSlider.sleela · 159 line(s) · sleela
<< lib/java/javax/swing/JSlider.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.swing.JSlider.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class JSlider {
< ---- 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 = 5078;
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.JSlider";
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.JSlider 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. >>
int heldValue;
int heldMaximum;
int heldMinimum;
String heldUIClassID;
int heldOrientation;
int heldMajorTickSpacing;
boolean heldPaintLabels;
boolean heldPaintTicks;
boolean heldInverted;
int heldMinorTickSpacing;
boolean heldSnapToTicks;
boolean heldPaintTrack;
int heldExtent;
boolean heldValueIsAdjusting;
public JSlider() { this.heldValue = 50; this.heldMaximum = 100; this.heldMinimum = 0; this.heldUIClassID = "SliderUI"; this.heldOrientation = 0; this.heldMajorTickSpacing = 0; this.heldPaintLabels = false; this.heldPaintTicks = false; this.heldInverted = false; this.heldMinorTickSpacing = 0; this.heldSnapToTicks = false; this.heldPaintTrack = true; this.heldExtent = 0; this.heldValueIsAdjusting = false; }
public int getValue() { return this.heldValue; }
public int getMaximum() { return this.heldMaximum; }
public int getMinimum() { return this.heldMinimum; }
public java.lang.String getUIClassID() { return this.heldUIClassID; }
public int getOrientation() { return this.heldOrientation; }
public int getMajorTickSpacing() { return this.heldMajorTickSpacing; }
public boolean getPaintLabels() { return this.heldPaintLabels; }
public boolean getPaintTicks() { return this.heldPaintTicks; }
public boolean getInverted() { return this.heldInverted; }
public int getMinorTickSpacing() { return this.heldMinorTickSpacing; }
public boolean getSnapToTicks() { return this.heldSnapToTicks; }
public boolean getPaintTrack() { return this.heldPaintTrack; }
public int getExtent() { return this.heldExtent; }
public boolean getValueIsAdjusting() { return this.heldValueIsAdjusting; }
< ---- END java implementation ---- >
< ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
< public and protected instance fields >
Any sliderModel;
int majorTickSpacing;
int minorTickSpacing;
boolean snapToTicks;
int orientation;
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 setValue(int n) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setValue(int)"); }
@JavaProtected
java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.paramString()"); }
public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.updateUI()"); }
public void setUI(javax.swing.plaf.SliderUI ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setUI(javax.swing.plaf.SliderUI)"); }
public javax.swing.plaf.SliderUI getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.getUI()"); }
public void setMinimum(int minimum) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setMinimum(int)"); }
public void setMaximum(int maximum) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setMaximum(int)"); }
public void setValueIsAdjusting(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setValueIsAdjusting(boolean)"); }
public void setOrientation(int orientation) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setOrientation(int)"); }
@JavaProtected
void updateLabelUIs() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.updateLabelUIs()"); }
public java.util.Dictionary getLabelTable() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.getLabelTable()"); }
public java.util.Hashtable<java.lang.Integer, javax.swing.JComponent> createStandardLabels(int increment) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.createStandardLabels(int)"); }
public java.util.Hashtable<java.lang.Integer, javax.swing.JComponent> createStandardLabels(int increment, int start) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.createStandardLabels(int, int)"); }
public void setLabelTable(java.util.Dictionary labels) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setLabelTable(java.util.Dictionary)"); }
public void setInverted(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setInverted(boolean)"); }
public void setMajorTickSpacing(int n) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setMajorTickSpacing(int)"); }
public void setMinorTickSpacing(int n) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setMinorTickSpacing(int)"); }
public void setSnapToTicks(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setSnapToTicks(boolean)"); }
public void setPaintTicks(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setPaintTicks(boolean)"); }
public void setPaintTrack(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setPaintTrack(boolean)"); }
public void setPaintLabels(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setPaintLabels(boolean)"); }
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.JSlider.imageUpdate(java.awt.Image, int, int, int, int, int)"); }
public javax.swing.BoundedRangeModel getModel() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.getModel()"); }
public void removeChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.removeChangeListener(javax.swing.event.ChangeListener)"); }
@JavaProtected
javax.swing.event.ChangeListener createChangeListener() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.createChangeListener()"); }
public void addChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.addChangeListener(javax.swing.event.ChangeListener)"); }
public void setModel(javax.swing.BoundedRangeModel newModel) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setModel(javax.swing.BoundedRangeModel)"); }
public javax.swing.event.ChangeListener[] getChangeListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.getChangeListeners()"); }
@JavaProtected
void fireStateChanged() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.fireStateChanged()"); }
public void setExtent(int extent) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setExtent(int)"); }
public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.getAccessibleContext()"); }
public void setFont(java.awt.Font font) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.setFont(java.awt.Font)"); }
< ---- 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 JSlider(int orientation, int min, int max, int value) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.<init>(int, int, int, int)"); }
public JSlider(int min, int max, int value) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.<init>(int, int, int)"); }
public JSlider(int min, int max) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.<init>(int, int)"); }
public JSlider(javax.swing.BoundedRangeModel brm) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.<init>(javax.swing.BoundedRangeModel)"); }
public JSlider(int orientation) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.JSlider.<init>(int)"); }
< ---- END java constructors ---- >
}