Home /Modules/java/JTextComponent.sleela

JTextComponent.sleela

lib/java/jdk-25/javax/swing/text/JTextComponent.sleela · 161 line(s) · sleela

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

class JTextComponent {
  < ---- 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 = 5092;
  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.JTextComponent";
  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 FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey";
  static final String DEFAULT_KEYMAP = "default";
  < ---- 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 copy() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.copy()"); }
  public void write(java.io.Writer out) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.write(java.io.Writer)"); }
  @JavaProtected
  java.lang.String paramString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.paramString()"); }
  public void read(java.io.Reader in, java.lang.Object desc) throws java.io.IOException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.read(java.io.Reader, java.lang.Object)"); }
  public java.lang.String getText(int offs, int len) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getText(int, int)"); }
  public java.lang.String getText() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getText()"); }
  public void select(int selectionStart, int selectionEnd) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.select(int, int)"); }
  public void cut() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.cut()"); }
  public void setText(java.lang.String t) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setText(java.lang.String)"); }
  public void paste() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.paste()"); }
  @JavaProtected
  void processInputMethodEvent(java.awt.event.InputMethodEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.processInputMethodEvent(java.awt.event.InputMethodEvent)"); }
  public void addInputMethodListener(java.awt.event.InputMethodListener l) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.addInputMethodListener(java.awt.event.InputMethodListener)"); }
  public void setComponentOrientation(java.awt.ComponentOrientation o) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setComponentOrientation(java.awt.ComponentOrientation)"); }
  public void updateUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.updateUI()"); }
  public void setUI(javax.swing.plaf.TextUI ui) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setUI(javax.swing.plaf.TextUI)"); }
  public javax.swing.plaf.TextUI getUI() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getUI()"); }
  public void setMargin(java.awt.Insets m) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setMargin(java.awt.Insets)"); }
  public java.awt.Insets getMargin() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getMargin()"); }
  public java.lang.String getToolTipText(java.awt.event.MouseEvent event) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getToolTipText(java.awt.event.MouseEvent)"); }
  public java.lang.String getSelectedText() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getSelectedText()"); }
  public javax.swing.text.Caret getCaret() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getCaret()"); }
  public void setDocument(javax.swing.text.Document doc) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setDocument(javax.swing.text.Document)"); }
  public void setDragEnabled(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setDragEnabled(boolean)"); }
  public static javax.swing.text.Keymap addKeymap(java.lang.String nm, javax.swing.text.Keymap parent) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.addKeymap(java.lang.String, javax.swing.text.Keymap)"); }
  @JavaProtected
  boolean saveComposedText(int pos) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.saveComposedText(int)"); }
  @JavaProtected
  void restoreComposedText() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.restoreComposedText()"); }
  public java.awt.geom.Rectangle2D modelToView2D(int pos) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.modelToView2D(int)"); }
  public int viewToModel2D(java.awt.geom.Point2D pt) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.viewToModel2D(java.awt.geom.Point2D)"); }
  public void moveCaretPosition(int pos) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.moveCaretPosition(int)"); }
  public void replaceSelection(java.lang.String content) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.replaceSelection(java.lang.String)"); }
  public javax.swing.text.Keymap getKeymap() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getKeymap()"); }
  public static javax.swing.text.Keymap getKeymap(java.lang.String nm) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getKeymap(java.lang.String)"); }
  public void setCaret(javax.swing.text.Caret c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setCaret(javax.swing.text.Caret)"); }
  public void addCaretListener(javax.swing.event.CaretListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.addCaretListener(javax.swing.event.CaretListener)"); }
  public void removeCaretListener(javax.swing.event.CaretListener listener) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.removeCaretListener(javax.swing.event.CaretListener)"); }
  public javax.swing.event.CaretListener[] getCaretListeners() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getCaretListeners()"); }
  @JavaProtected
  void fireCaretUpdate(javax.swing.event.CaretEvent e) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.fireCaretUpdate(javax.swing.event.CaretEvent)"); }
  public void setNavigationFilter(javax.swing.text.NavigationFilter filter) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setNavigationFilter(javax.swing.text.NavigationFilter)"); }
  public javax.swing.text.NavigationFilter getNavigationFilter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getNavigationFilter()"); }
  public javax.swing.text.Highlighter getHighlighter() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getHighlighter()"); }
  public void setHighlighter(javax.swing.text.Highlighter h) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setHighlighter(javax.swing.text.Highlighter)"); }
  public void setKeymap(javax.swing.text.Keymap map) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setKeymap(javax.swing.text.Keymap)"); }
  public boolean getDragEnabled() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getDragEnabled()"); }
  public final void setDropMode(javax.swing.DropMode dropMode) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setDropMode(javax.swing.DropMode)"); }
  public final javax.swing.DropMode getDropMode() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getDropMode()"); }
  public final javax.swing.text.JTextComponent.DropLocation getDropLocation() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getDropLocation()"); }
  public static javax.swing.text.Keymap removeKeymap(java.lang.String nm) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.removeKeymap(java.lang.String)"); }
  public static void loadKeymap(javax.swing.text.Keymap map, javax.swing.text.JTextComponent.KeyBinding[] bindings, javax.swing.Action[] actions) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.loadKeymap(javax.swing.text.Keymap, javax.swing.text.JTextComponent.KeyBinding[], javax.swing.Action[])"); }
  public java.awt.Color getCaretColor() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getCaretColor()"); }
  public void setCaretColor(java.awt.Color c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setCaretColor(java.awt.Color)"); }
  public java.awt.Color getSelectionColor() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getSelectionColor()"); }
  public void setSelectionColor(java.awt.Color c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setSelectionColor(java.awt.Color)"); }
  public java.awt.Color getSelectedTextColor() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getSelectedTextColor()"); }
  public void setSelectedTextColor(java.awt.Color c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setSelectedTextColor(java.awt.Color)"); }
  public java.awt.Color getDisabledTextColor() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getDisabledTextColor()"); }
  public void setDisabledTextColor(java.awt.Color c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setDisabledTextColor(java.awt.Color)"); }
  public void setFocusAccelerator(char aKey) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setFocusAccelerator(char)"); }
  public char getFocusAccelerator() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getFocusAccelerator()"); }
  public java.awt.Dimension getPreferredScrollableViewportSize() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getPreferredScrollableViewportSize()"); }
  public int getScrollableUnitIncrement(java.awt.Rectangle visibleRect, int orientation, int direction) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getScrollableUnitIncrement(java.awt.Rectangle, int, int)"); }
  public int getScrollableBlockIncrement(java.awt.Rectangle visibleRect, int orientation, int direction) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getScrollableBlockIncrement(java.awt.Rectangle, int, int)"); }
  public boolean getScrollableTracksViewportWidth() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getScrollableTracksViewportWidth()"); }
  public boolean getScrollableTracksViewportHeight() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getScrollableTracksViewportHeight()"); }
  public int getSelectionStart() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getSelectionStart()"); }
  public int getSelectionEnd() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getSelectionEnd()"); }
  public void setEditable(boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setEditable(boolean)"); }
  public void setCaretPosition(int position) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setCaretPosition(int)"); }
  public int getCaretPosition() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getCaretPosition()"); }
  public boolean isEditable() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.isEditable()"); }
  public void setSelectionStart(int selectionStart) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setSelectionStart(int)"); }
  public void setSelectionEnd(int selectionEnd) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.setSelectionEnd(int)"); }
  public void selectAll() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.selectAll()"); }
  public java.awt.im.InputMethodRequests getInputMethodRequests() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getInputMethodRequests()"); }
  public int viewToModel(java.awt.Point pt) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.viewToModel(java.awt.Point)"); }
  public java.awt.Rectangle modelToView(int pos) throws javax.swing.text.BadLocationException { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.modelToView(int)"); }
  public javax.swing.text.Document getDocument() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getDocument()"); }
  public java.awt.print.Printable getPrintable(java.text.MessageFormat headerFormat, java.text.MessageFormat footerFormat) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getPrintable(java.text.MessageFormat, java.text.MessageFormat)"); }
  public javax.swing.Action[] getActions() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getActions()"); }
  public javax.accessibility.AccessibleContext getAccessibleContext() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.getAccessibleContext()"); }
  public void removeNotify() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.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. >>
  public JTextComponent() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.JTextComponent.<init>()"); }
  < ---- END java constructors ---- >
}