font.html
来自「API資料大全」· HTML 代码 · 共 1,223 行 · 第 1/5 页
HTML
1,223 行
<CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>MultipleMaster.</B><B><A HREF="../../../java/awt/font/MultipleMaster.html#deriveMMFont(float[])">deriveMMFont</A></B>(float[] axes)</CODE><BR> Creates a new instance of a multiple master font based on the design axis values contained in the specified array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>MultipleMaster.</B><B><A HREF="../../../java/awt/font/MultipleMaster.html#deriveMMFont(float[], float, float, float, float)">deriveMMFont</A></B>(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)</CODE><BR> Creates a new instance of a multiple master font based on detailed metric information.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/awt/font/package-summary.html">java.awt.font</A> with parameters of type <A HREF="../../../java/awt/Font.html">Font</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/font/TextLayout.html#TextLayout(java.lang.String, java.awt.Font, java.awt.font.FontRenderContext)">TextLayout</A></B>(<A HREF="../../../java/lang/String.html">String</A> string, <A HREF="../../../java/awt/Font.html">Font</A> font, <A HREF="../../../java/awt/font/FontRenderContext.html">FontRenderContext</A> frc)</CODE><BR> Constructs a <code>TextLayout</code> from a <code>String</code> and a <A HREF="../../../java/awt/Font.html"><CODE>Font</CODE></A>.</TD></TR></TABLE> <P><A NAME="javax.accessibility"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/awt/Font.html">Font</A> in <A HREF="../../../javax/accessibility/package-summary.html">javax.accessibility</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/accessibility/package-summary.html">javax.accessibility</A> that return <A HREF="../../../java/awt/Font.html">Font</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>AccessibleComponent.</B><B><A HREF="../../../javax/accessibility/AccessibleComponent.html#getFont()">getFont</A></B>()</CODE><BR> Gets the Font of this object.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/accessibility/package-summary.html">javax.accessibility</A> with parameters of type <A HREF="../../../java/awt/Font.html">Font</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>AccessibleComponent.</B><B><A HREF="../../../javax/accessibility/AccessibleComponent.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> Sets the Font of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/FontMetrics.html">FontMetrics</A></CODE></FONT></TD><TD><CODE><B>AccessibleComponent.</B><B><A HREF="../../../javax/accessibility/AccessibleComponent.html#getFontMetrics(java.awt.Font)">getFontMetrics</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> Gets the FontMetrics of this object.</TD></TR></TABLE> <P><A NAME="javax.swing"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/awt/Font.html">Font</A> in <A HREF="../../../javax/swing/package-summary.html">javax.swing</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/swing/package-summary.html">javax.swing</A> that return <A HREF="../../../java/awt/Font.html">Font</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>JList.AccessibleJList.AccessibleJListChild.</B><B><A HREF="../../../javax/swing/JList.AccessibleJList.AccessibleJListChild.html#getFont()">getFont</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>UIDefaults.</B><B><A HREF="../../../javax/swing/UIDefaults.html#getFont(java.lang.Object)">getFont</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> key)</CODE><BR> If the value of <code>key</code> is a <code>Font</code> return it, otherwise return <code>null</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>JTree.AccessibleJTree.AccessibleJTreeNode.</B><B><A HREF="../../../javax/swing/JTree.AccessibleJTree.AccessibleJTreeNode.html#getFont()">getFont</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>JTable.AccessibleJTable.AccessibleJTableCell.</B><B><A HREF="../../../javax/swing/JTable.AccessibleJTable.AccessibleJTableCell.html#getFont()">getFont</A></B>()</CODE><BR> Gets the Font of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>UIManager.</B><B><A HREF="../../../javax/swing/UIManager.html#getFont(java.lang.Object)">getFont</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> key)</CODE><BR> Returns a drawing font from the defaults table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Font.html">Font</A></CODE></FONT></TD><TD><CODE><B>DebugGraphics.</B><B><A HREF="../../../javax/swing/DebugGraphics.html#getFont()">getFont</A></B>()</CODE><BR> Returns the Font used for text drawing operations.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/swing/package-summary.html">javax.swing</A> with parameters of type <A HREF="../../../java/awt/Font.html">Font</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>JComponent.</B><B><A HREF="../../../javax/swing/JComponent.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> font)</CODE><BR> Sets the font for this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>JTextField.</B><B><A HREF="../../../javax/swing/JTextField.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> Sets the current font.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD><TD><CODE><B>BorderFactory.</B><B><A HREF="../../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font)">createTitledBorder</A></B>(<A HREF="../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../java/lang/String.html">String</A> title, int titleJustification, int titlePosition, <A HREF="../../../java/awt/Font.html">Font</A> titleFont)</CODE><BR> Adds a title to an existing border, specifying the text of the title along with its positioning and font, using the default text color determined by the current look and feel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD><TD><CODE><B>BorderFactory.</B><B><A HREF="../../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color)">createTitledBorder</A></B>(<A HREF="../../../javax/swing/border/Border.html">Border</A> border, <A HREF="../../../java/lang/String.html">String</A> title, int titleJustification, int titlePosition, <A HREF="../../../java/awt/Font.html">Font</A> titleFont, <A HREF="../../../java/awt/Color.html">Color</A> titleColor)</CODE><BR> Adds a title to an existing border, specifying the text of the title along with its positioning, font, and color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>JList.AccessibleJList.AccessibleJListChild.</B><B><A HREF="../../../javax/swing/JList.AccessibleJList.AccessibleJListChild.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/FontMetrics.html">FontMetrics</A></CODE></FONT></TD><TD><CODE><B>JList.AccessibleJList.AccessibleJListChild.</B><B><A HREF="../../../javax/swing/JList.AccessibleJList.AccessibleJListChild.html#getFontMetrics(java.awt.Font)">getFontMetrics</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>JTree.AccessibleJTree.AccessibleJTreeNode.</B><B><A HREF="../../../javax/swing/JTree.AccessibleJTree.AccessibleJTreeNode.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/FontMetrics.html">FontMetrics</A></CODE></FONT></TD><TD><CODE><B>JTree.AccessibleJTree.AccessibleJTreeNode.</B><B><A HREF="../../../javax/swing/JTree.AccessibleJTree.AccessibleJTreeNode.html#getFontMetrics(java.awt.Font)">getFontMetrics</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>JTable.AccessibleJTable.AccessibleJTableCell.</B><B><A HREF="../../../javax/swing/JTable.AccessibleJTable.AccessibleJTableCell.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="../../../java/awt/Font.html">Font</A> f)</CODE><BR> Sets the Font of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?