📄 styleconstants.html
字号:
<PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>FontSize</B></PRE><DL><DD>Name of the font size.</DL><HR><A NAME="Bold"><!-- --></A><H3>Bold</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Bold</B></PRE><DL><DD>Name of the bold attribute.</DL><HR><A NAME="Italic"><!-- --></A><H3>Italic</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Italic</B></PRE><DL><DD>Name of the italic attribute.</DL><HR><A NAME="Underline"><!-- --></A><H3>Underline</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Underline</B></PRE><DL><DD>Name of the underline attribute.</DL><HR><A NAME="StrikeThrough"><!-- --></A><H3>StrikeThrough</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>StrikeThrough</B></PRE><DL><DD>Name of the Strikethrough attribute.</DL><HR><A NAME="Superscript"><!-- --></A><H3>Superscript</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Superscript</B></PRE><DL><DD>Name of the Superscript attribute.</DL><HR><A NAME="Subscript"><!-- --></A><H3>Subscript</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Subscript</B></PRE><DL><DD>Name of the Subscript attribute.</DL><HR><A NAME="Foreground"><!-- --></A><H3>Foreground</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Foreground</B></PRE><DL><DD>Name of the foreground color attribute.</DL><HR><A NAME="Background"><!-- --></A><H3>Background</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Background</B></PRE><DL><DD>Name of the background color attribute.</DL><HR><A NAME="ComponentAttribute"><!-- --></A><H3>ComponentAttribute</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>ComponentAttribute</B></PRE><DL><DD>Name of the component attribute.</DL><HR><A NAME="IconAttribute"><!-- --></A><H3>IconAttribute</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>IconAttribute</B></PRE><DL><DD>Name of the icon attribute.</DL><HR><A NAME="ComposedTextAttribute"><!-- --></A><H3>ComposedTextAttribute</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>ComposedTextAttribute</B></PRE><DL><DD>Name of the input method composed text attribute. The value of this attribute is an instance of AttributedString which represents the composed text.</DL><HR><A NAME="FirstLineIndent"><!-- --></A><H3>FirstLineIndent</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>FirstLineIndent</B></PRE><DL><DD>The amount of space to indent the first line of the paragraph. This value may be negative to offset in the reverse direction. The type is Float and specifies the size of the space in points.</DL><HR><A NAME="LeftIndent"><!-- --></A><H3>LeftIndent</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>LeftIndent</B></PRE><DL><DD>The amount to indent the left side of the paragraph. Type is float and specifies the size in points.</DL><HR><A NAME="RightIndent"><!-- --></A><H3>RightIndent</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>RightIndent</B></PRE><DL><DD>The amount to indent the right side of the paragraph. Type is float and specifies the size in points.</DL><HR><A NAME="LineSpacing"><!-- --></A><H3>LineSpacing</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>LineSpacing</B></PRE><DL><DD>The amount of space between lines of the paragraph. Type is float and specifies the size in points.</DL><HR><A NAME="SpaceAbove"><!-- --></A><H3>SpaceAbove</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>SpaceAbove</B></PRE><DL><DD>The amount of space above the paragraph. Type is float and specifies the size in points.</DL><HR><A NAME="SpaceBelow"><!-- --></A><H3>SpaceBelow</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>SpaceBelow</B></PRE><DL><DD>The amount of space below the paragraph. Type is float and specifies the size in points.</DL><HR><A NAME="Alignment"><!-- --></A><H3>Alignment</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Alignment</B></PRE><DL><DD>Alignment for the paragraph. The type is Integer. Valid values are: <ul> <li>ALIGN_LEFT <li>ALIGN_RIGHT <li>ALIGN_CENTER <li>ALIGN_JUSTIFED </ul></DL><HR><A NAME="TabSet"><!-- --></A><H3>TabSet</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>TabSet</B></PRE><DL><DD>TabSet for the paragraph, type is a TabSet containing TabStops.</DL><HR><A NAME="Orientation"><!-- --></A><H3>Orientation</H3><PRE>public static final <A HREF="../../../java/lang/Object.html">Object</A> <B>Orientation</B></PRE><DL><DD>Orientation for a paragraph.</DL><HR><A NAME="ALIGN_LEFT"><!-- --></A><H3>ALIGN_LEFT</H3><PRE>public static final int <B>ALIGN_LEFT</B></PRE><DL><DD>A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right.</DL><HR><A NAME="ALIGN_CENTER"><!-- --></A><H3>ALIGN_CENTER</H3><PRE>public static final int <B>ALIGN_CENTER</B></PRE><DL><DD>A possible value for paragraph alignment. This specifies that the text is aligned to the center and extra whitespace should be placed equally on the left and right.</DL><HR><A NAME="ALIGN_RIGHT"><!-- --></A><H3>ALIGN_RIGHT</H3><PRE>public static final int <B>ALIGN_RIGHT</B></PRE><DL><DD>A possible value for paragraph alignment. This specifies that the text is aligned to the right indent and extra whitespace should be placed on the left.</DL><HR><A NAME="ALIGN_JUSTIFIED"><!-- --></A><H3>ALIGN_JUSTIFIED</H3><PRE>public static final int <B>ALIGN_JUSTIFIED</B></PRE><DL><DD>A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>Returns the string representation.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the string</DL></DD></DL><HR><A NAME="getBidiLevel(javax.swing.text.AttributeSet)"><!-- --></A><H3>getBidiLevel</H3><PRE>public static int <B>getBidiLevel</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> a)</PRE><DL><DD>Gets the BidiLevel setting.<DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the attribute set</DL></DD></DL><HR><A NAME="setBidiLevel(javax.swing.text.MutableAttributeSet, int)"><!-- --></A><H3>setBidiLevel</H3><PRE>public static void <B>setBidiLevel</B>(<A HREF="../../../javax/swing/text/MutableAttributeSet.html">MutableAttributeSet</A> a, int o)</PRE><DL><DD>Sets the BidiLevel.<DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the attribute set<DD><CODE>o</CODE> - the bidi level value</DL></DD></DL><HR><A NAME="getComponent(javax.swing.text.AttributeSet)"><!-- --></A><H3>getComponent</H3><PRE>public static <A HREF="../../../java/awt/Component.html">Component</A> <B>getComponent</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> a)</PRE><DL><DD>Gets the component setting from the attribute list.<DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the attribute set<DT><B>Returns:</B><DD>the component, null if none</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -