📄 styleconstants.colorconstants.html
字号:
Name of the foreground color attribute.</TD></TR></TABLE> <A NAME="fields_inherited_from_class_javax.swing.text.StyleConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/StyleConstants.html">StyleConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/swing/text/StyleConstants.html#ALIGN_CENTER">ALIGN_CENTER</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ALIGN_JUSTIFIED">ALIGN_JUSTIFIED</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ALIGN_LEFT">ALIGN_LEFT</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ALIGN_RIGHT">ALIGN_RIGHT</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Alignment">Alignment</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#BidiLevel">BidiLevel</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Bold">Bold</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ComponentAttribute">ComponentAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ComponentElementName">ComponentElementName</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ComposedTextAttribute">ComposedTextAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#FirstLineIndent">FirstLineIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#FontFamily">FontFamily</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#FontSize">FontSize</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#IconAttribute">IconAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#IconElementName">IconElementName</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Italic">Italic</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#LeftIndent">LeftIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#LineSpacing">LineSpacing</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ModelAttribute">ModelAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#NameAttribute">NameAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Orientation">Orientation</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#ResolveAttribute">ResolveAttribute</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#RightIndent">RightIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#SpaceAbove">SpaceAbove</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#SpaceBelow">SpaceBelow</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#StrikeThrough">StrikeThrough</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Subscript">Subscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Superscript">Superscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#TabSet">TabSet</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#Underline">Underline</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="methods_inherited_from_class_javax.swing.text.StyleConstants"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/StyleConstants.html">StyleConstants</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/swing/text/StyleConstants.html#getAlignment(javax.swing.text.AttributeSet)">getAlignment</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getBackground(javax.swing.text.AttributeSet)">getBackground</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getBidiLevel(javax.swing.text.AttributeSet)">getBidiLevel</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getComponent(javax.swing.text.AttributeSet)">getComponent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getFirstLineIndent(javax.swing.text.AttributeSet)">getFirstLineIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getFontFamily(javax.swing.text.AttributeSet)">getFontFamily</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getFontSize(javax.swing.text.AttributeSet)">getFontSize</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getForeground(javax.swing.text.AttributeSet)">getForeground</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getIcon(javax.swing.text.AttributeSet)">getIcon</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getLeftIndent(javax.swing.text.AttributeSet)">getLeftIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getLineSpacing(javax.swing.text.AttributeSet)">getLineSpacing</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getRightIndent(javax.swing.text.AttributeSet)">getRightIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getSpaceAbove(javax.swing.text.AttributeSet)">getSpaceAbove</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getSpaceBelow(javax.swing.text.AttributeSet)">getSpaceBelow</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#getTabSet(javax.swing.text.AttributeSet)">getTabSet</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isBold(javax.swing.text.AttributeSet)">isBold</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isItalic(javax.swing.text.AttributeSet)">isItalic</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isStrikeThrough(javax.swing.text.AttributeSet)">isStrikeThrough</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isSubscript(javax.swing.text.AttributeSet)">isSubscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isSuperscript(javax.swing.text.AttributeSet)">isSuperscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#isUnderline(javax.swing.text.AttributeSet)">isUnderline</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setAlignment(javax.swing.text.MutableAttributeSet, int)">setAlignment</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setBackground(javax.swing.text.MutableAttributeSet, java.awt.Color)">setBackground</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setBidiLevel(javax.swing.text.MutableAttributeSet, int)">setBidiLevel</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setBold(javax.swing.text.MutableAttributeSet, boolean)">setBold</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setComponent(javax.swing.text.MutableAttributeSet, java.awt.Component)">setComponent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setFirstLineIndent(javax.swing.text.MutableAttributeSet, float)">setFirstLineIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setFontFamily(javax.swing.text.MutableAttributeSet, java.lang.String)">setFontFamily</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setFontSize(javax.swing.text.MutableAttributeSet, int)">setFontSize</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setForeground(javax.swing.text.MutableAttributeSet, java.awt.Color)">setForeground</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setIcon(javax.swing.text.MutableAttributeSet, javax.swing.Icon)">setIcon</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setItalic(javax.swing.text.MutableAttributeSet, boolean)">setItalic</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setLeftIndent(javax.swing.text.MutableAttributeSet, float)">setLeftIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setLineSpacing(javax.swing.text.MutableAttributeSet, float)">setLineSpacing</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setRightIndent(javax.swing.text.MutableAttributeSet, float)">setRightIndent</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setSpaceAbove(javax.swing.text.MutableAttributeSet, float)">setSpaceAbove</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setSpaceBelow(javax.swing.text.MutableAttributeSet, float)">setSpaceBelow</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setStrikeThrough(javax.swing.text.MutableAttributeSet, boolean)">setStrikeThrough</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setSubscript(javax.swing.text.MutableAttributeSet, boolean)">setSubscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setSuperscript(javax.swing.text.MutableAttributeSet, boolean)">setSuperscript</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setTabSet(javax.swing.text.MutableAttributeSet, javax.swing.text.TabSet)">setTabSet</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#setUnderline(javax.swing.text.MutableAttributeSet, boolean)">setUnderline</A>, <A HREF="../../../javax/swing/text/StyleConstants.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><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><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StyleConstants.ColorConstants.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/swing/text/StyleConstants.CharacterConstants.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/swing/text/StyleConstants.FontConstants.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="StyleConstants.ColorConstants.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#inner_classes_inherited_from_class_javax.swing.text.StyleConstants">INNER</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#methods_inherited_from_class_javax.swing.text.StyleConstants">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | METHOD</FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -