DefaultCaret.sleela
lib/java/jdk-25/javax/swing/text/DefaultCaret.sleela · 143 line(s) · sleela
<< lib/java/javax/swing/text/DefaultCaret.sleela
SLeeLa Java 28 source envelope.
Definition: SLeeLa source declaration for the Java type javax.swing.text.DefaultCaret.
Java behavior is supplied through the SLeeLa Java conformance boundary. >>
#sleela 3.0
material;
class DefaultCaret {
< ---- 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 = 3060;
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.text.DefaultCaret";
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.text.DefaultCaret 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 heldActive;
int heldUpdatePolicy;
boolean heldSelectionVisible;
boolean heldVisible;
int heldMark;
int heldDot;
int heldBlinkRate;
public DefaultCaret() { this.heldActive = false; this.heldUpdatePolicy = 0; this.heldSelectionVisible = false; this.heldVisible = false; this.heldMark = 0; this.heldDot = 0; this.heldBlinkRate = 0; }
public boolean isActive() { return this.heldActive; }
public int getUpdatePolicy() { return this.heldUpdatePolicy; }
public boolean isSelectionVisible() { return this.heldSelectionVisible; }
public boolean isVisible() { return this.heldVisible; }
public int getMark() { return this.heldMark; }
public int getDot() { return this.heldDot; }
public int getBlinkRate() { return this.heldBlinkRate; }
public void setSelectionVisible(boolean vis) { this.heldSelectionVisible = vis; }
public void setUpdatePolicy(int policy) { this.heldUpdatePolicy = policy; }
public void setVisible(boolean e) { this.heldVisible = e; }
public void setBlinkRate(int rate) { this.heldBlinkRate = rate; }
< ---- 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 UPDATE_WHEN_ON_EDT = 0;
static final int NEVER_UPDATE = 1;
static final int ALWAYS_UPDATE = 2;
< public and protected instance fields >
Any listenerList;
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 boolean equals(java.lang.Object obj) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.equals(java.lang.Object)"); }
public java.lang.String toString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.toString()"); }
@JavaProtected
final javax.swing.text.JTextComponent getComponent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getComponent()"); }
public void install(javax.swing.text.JTextComponent c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.install(javax.swing.text.JTextComponent)"); }
@JavaProtected
final synchronized void repaint() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.repaint()"); }
public void focusGained(java.awt.event.FocusEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.focusGained(java.awt.event.FocusEvent)"); }
public void focusLost(java.awt.event.FocusEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.focusLost(java.awt.event.FocusEvent)"); }
public void mousePressed(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)"); }
public void mouseReleased(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseReleased(java.awt.event.MouseEvent)"); }
public void mouseClicked(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseClicked(java.awt.event.MouseEvent)"); }
public void mouseExited(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseExited(java.awt.event.MouseEvent)"); }
public void mouseEntered(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseEntered(java.awt.event.MouseEvent)"); }
public void mouseMoved(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseMoved(java.awt.event.MouseEvent)"); }
public void mouseDragged(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.mouseDragged(java.awt.event.MouseEvent)"); }
public java.awt.Point getMagicCaretPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getMagicCaretPosition()"); }
public void deinstall(javax.swing.text.JTextComponent c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.deinstall(javax.swing.text.JTextComponent)"); }
public void setDot(int dot) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.setDot(int)"); }
public void setDot(int dot, javax.swing.text.Position.Bias dotBias) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.setDot(int, javax.swing.text.Position.Bias)"); }
public void moveDot(int dot, javax.swing.text.Position.Bias dotBias) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.moveDot(int, javax.swing.text.Position.Bias)"); }
public void moveDot(int dot) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.moveDot(int)"); }
public javax.swing.text.Position.Bias getMarkBias() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getMarkBias()"); }
public javax.swing.text.Position.Bias getDotBias() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getDotBias()"); }
public void removeChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.removeChangeListener(javax.swing.event.ChangeListener)"); }
public void addChangeListener(javax.swing.event.ChangeListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.addChangeListener(javax.swing.event.ChangeListener)"); }
public javax.swing.event.ChangeListener[] getChangeListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getChangeListeners()"); }
@JavaProtected
void fireStateChanged() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.fireStateChanged()"); }
public void setMagicCaretPosition(java.awt.Point p) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.setMagicCaretPosition(java.awt.Point)"); }
@JavaProtected
void moveCaret(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.moveCaret(java.awt.event.MouseEvent)"); }
@JavaProtected
void positionCaret(java.awt.event.MouseEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.positionCaret(java.awt.event.MouseEvent)"); }
@JavaProtected
synchronized void damage(java.awt.Rectangle r) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.damage(java.awt.Rectangle)"); }
@JavaProtected
javax.swing.text.Highlighter.HighlightPainter getSelectionPainter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getSelectionPainter()"); }
@JavaProtected
void adjustVisibility(java.awt.Rectangle nloc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.adjustVisibility(java.awt.Rectangle)"); }
public void paint(java.awt.Graphics g) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.paint(java.awt.Graphics)"); }
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T> listenerType) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.DefaultCaret.getListeners(java.lang.Class<T>)"); }
< ---- END java signatures ---- >
}