⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swtfontfactory.html

📁 Java开发图文混排的编辑器文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="SWTFontFactory()"><!-- --></A><H3>
SWTFontFactory</H3>
<PRE>
public <B>SWTFontFactory</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="createFont(java.lang.String, int, boolean, boolean, boolean)"><!-- --></A><H3>
createFont</H3>
<PRE>
public <A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A> <B>createFont</B>(java.lang.String&nbsp;name,                       int&nbsp;size,                       boolean&nbsp;bold,                       boolean&nbsp;italic,                       boolean&nbsp;underlined)</PRE>
<DL>
<DD>Create new font.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/FontFactory.html#createFont(java.lang.String, int, boolean, boolean, boolean)">createFont</A></CODE> in class <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the font, eg: "Arial", "Tahoma"<DD><CODE>size</CODE> - The size of the font, usually 10, 12.<DD><CODE>bold</CODE> - If the font is bold.<DD><CODE>italic</CODE> - If the font is italic.<DD><CODE>underlined</CODE> - If the font is underlined.<DT><B>Returns:</B><DD>Font object.<DT><B>See Also:</B><DD><A HREF="../../../jexi/ui/FontFactory.html#createFont(java.lang.String, int, boolean, boolean, boolean)"><CODE>FontFactory.createFont(java.lang.String, int, boolean, boolean, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="enumerateFonts()"><!-- --></A><H3>
enumerateFonts</H3>
<PRE>
public java.lang.String[] <B>enumerateFonts</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></B></DD>
<DD>Subclass must implement this method to enumerate all fonts:
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/FontFactory.html#enumerateFonts()">enumerateFonts</A></CODE> in class <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>All fonts' names installed on the system.</DL>
</DD>
</DL>
<HR>

<A NAME="clearAllFonts()"><!-- --></A><H3>
clearAllFonts</H3>
<PRE>
public void <B>clearAllFonts</B>()</PRE>
<DL>
<DD>dispose all fonts it used now.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/FontFactory.html#clearAllFonts()">clearAllFonts</A></CODE> in class <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../jexi/ui/FontFactory.html#clearAllFonts()"><CODE>FontFactory.clearAllFonts()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="fontCount()"><!-- --></A><H3>
fontCount</H3>
<PRE>
public int <B>fontCount</B>()</PRE>
<DL>
<DD>Get the count of current used fonts.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/FontFactory.html#fontCount()">fontCount</A></CODE> in class <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The count of fonts used now.<DT><B>See Also:</B><DD><A HREF="../../../jexi/ui/FontFactory.html#fontCount()"><CODE>FontFactory.fontCount()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="debug()"><!-- --></A><H3>
debug</H3>
<PRE>
public void <B>debug</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/FontFactory.html#debug()">debug</A></CODE> in class <CODE><A HREF="../../../jexi/ui/FontFactory.html" title="class in jexi.ui">FontFactory</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SWTFontFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../jexi/ui/swt/SWTFont.html" title="class in jexi.ui.swt"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../jexi/ui/swt/SWTFrame.html" title="class in jexi.ui.swt"><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>  &nbsp;
&nbsp;<A HREF="SWTFontFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -