<< lib/java/javax/swing/text/StyleConstants.sleela SLeeLa Java 28 source envelope. Definition: SLeeLa source declaration for the Java type javax.swing.text.StyleConstants. Java behavior is supplied through the SLeeLa Java conformance boundary. >> #sleela 3.0 material; class StyleConstants { < ---- 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 = 8702; 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.text.StyleConstants"; 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 ComponentElementName = "component"; static final String IconElementName = "icon"; static Any NameAttribute = null; static Any ResolveAttribute = null; static Any ModelAttribute = null; static Any BidiLevel = null; static Any FontFamily = null; static Any Family = null; static Any FontSize = null; static Any Size = null; static Any Bold = null; static Any Italic = null; static Any Underline = null; static Any StrikeThrough = null; static Any Superscript = null; static Any Subscript = null; static Any Foreground = null; static Any Background = null; static Any ComponentAttribute = null; static Any IconAttribute = null; static Any ComposedTextAttribute = null; static Any FirstLineIndent = null; static Any LeftIndent = null; static Any RightIndent = null; static Any LineSpacing = null; static Any SpaceAbove = null; static Any SpaceBelow = null; static Any Alignment = null; static Any TabSet = null; static Any Orientation = null; static final int ALIGN_LEFT = 0; static final int ALIGN_CENTER = 1; static final int ALIGN_RIGHT = 2; static final int ALIGN_JUSTIFIED = 3; < ---- 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 java.lang.String toString() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.toString()"); } public static java.awt.Component getComponent(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getComponent(javax.swing.text.AttributeSet)"); } public static void setAlignment(javax.swing.text.MutableAttributeSet a, int align) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setAlignment(javax.swing.text.MutableAttributeSet, int)"); } public static int getAlignment(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getAlignment(javax.swing.text.AttributeSet)"); } public static void setSuperscript(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setSuperscript(javax.swing.text.MutableAttributeSet, boolean)"); } public static void setUnderline(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setUnderline(javax.swing.text.MutableAttributeSet, boolean)"); } public static void setComponent(javax.swing.text.MutableAttributeSet a, java.awt.Component c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setComponent(javax.swing.text.MutableAttributeSet, java.awt.Component)"); } public static java.awt.Color getForeground(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getForeground(javax.swing.text.AttributeSet)"); } public static void setForeground(javax.swing.text.MutableAttributeSet a, java.awt.Color fg) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setForeground(javax.swing.text.MutableAttributeSet, java.awt.Color)"); } public static java.awt.Color getBackground(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getBackground(javax.swing.text.AttributeSet)"); } public static void setBackground(javax.swing.text.MutableAttributeSet a, java.awt.Color fg) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setBackground(javax.swing.text.MutableAttributeSet, java.awt.Color)"); } public static void setFontFamily(javax.swing.text.MutableAttributeSet a, java.lang.String fam) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setFontFamily(javax.swing.text.MutableAttributeSet, java.lang.String)"); } public static void setFontSize(javax.swing.text.MutableAttributeSet a, int s) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setFontSize(javax.swing.text.MutableAttributeSet, int)"); } public static void setBold(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setBold(javax.swing.text.MutableAttributeSet, boolean)"); } public static void setItalic(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setItalic(javax.swing.text.MutableAttributeSet, boolean)"); } public static java.lang.String getFontFamily(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getFontFamily(javax.swing.text.AttributeSet)"); } public static int getFontSize(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getFontSize(javax.swing.text.AttributeSet)"); } public static boolean isSuperscript(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isSuperscript(javax.swing.text.AttributeSet)"); } public static boolean isSubscript(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isSubscript(javax.swing.text.AttributeSet)"); } public static void setBidiLevel(javax.swing.text.MutableAttributeSet a, int o) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setBidiLevel(javax.swing.text.MutableAttributeSet, int)"); } public static void setRightIndent(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setRightIndent(javax.swing.text.MutableAttributeSet, float)"); } public static void setLeftIndent(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setLeftIndent(javax.swing.text.MutableAttributeSet, float)"); } public static void setSpaceAbove(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setSpaceAbove(javax.swing.text.MutableAttributeSet, float)"); } public static void setSpaceBelow(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setSpaceBelow(javax.swing.text.MutableAttributeSet, float)"); } public static void setTabSet(javax.swing.text.MutableAttributeSet a, javax.swing.text.TabSet tabs) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setTabSet(javax.swing.text.MutableAttributeSet, javax.swing.text.TabSet)"); } public static boolean isBold(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isBold(javax.swing.text.AttributeSet)"); } public static boolean isItalic(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isItalic(javax.swing.text.AttributeSet)"); } public static float getLineSpacing(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getLineSpacing(javax.swing.text.AttributeSet)"); } public static void setLineSpacing(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setLineSpacing(javax.swing.text.MutableAttributeSet, float)"); } public static float getFirstLineIndent(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getFirstLineIndent(javax.swing.text.AttributeSet)"); } public static void setFirstLineIndent(javax.swing.text.MutableAttributeSet a, float i) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setFirstLineIndent(javax.swing.text.MutableAttributeSet, float)"); } public static javax.swing.text.TabSet getTabSet(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getTabSet(javax.swing.text.AttributeSet)"); } public static float getSpaceAbove(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getSpaceAbove(javax.swing.text.AttributeSet)"); } public static float getLeftIndent(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getLeftIndent(javax.swing.text.AttributeSet)"); } public static float getSpaceBelow(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getSpaceBelow(javax.swing.text.AttributeSet)"); } public static float getRightIndent(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getRightIndent(javax.swing.text.AttributeSet)"); } public static javax.swing.Icon getIcon(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getIcon(javax.swing.text.AttributeSet)"); } public static boolean isUnderline(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isUnderline(javax.swing.text.AttributeSet)"); } public static boolean isStrikeThrough(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.isStrikeThrough(javax.swing.text.AttributeSet)"); } public static int getBidiLevel(javax.swing.text.AttributeSet a) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.getBidiLevel(javax.swing.text.AttributeSet)"); } public static void setIcon(javax.swing.text.MutableAttributeSet a, javax.swing.Icon c) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setIcon(javax.swing.text.MutableAttributeSet, javax.swing.Icon)"); } public static void setStrikeThrough(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setStrikeThrough(javax.swing.text.MutableAttributeSet, boolean)"); } public static void setSubscript(javax.swing.text.MutableAttributeSet a, boolean b) { throw new UnsupportedOperationException("not yet implemented in SLeeLa: javax.swing.text.StyleConstants.setSubscript(javax.swing.text.MutableAttributeSet, boolean)"); } < ---- END java signatures ---- > }