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

📄 swtfont.html

📁 Java开发图文混排的编辑器文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the font name.</DL>
</DD>
</DL>
<HR>

<A NAME="getSize()"><!-- --></A><H3>
getSize</H3>
<PRE>
public int <B>getSize</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#getSize()">getSize</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the font size.</DL>
</DD>
</DL>
<HR>

<A NAME="getBold()"><!-- --></A><H3>
getBold</H3>
<PRE>
public boolean <B>getBold</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#getBold()">getBold</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the bold.</DL>
</DD>
</DL>
<HR>

<A NAME="getItalic()"><!-- --></A><H3>
getItalic</H3>
<PRE>
public boolean <B>getItalic</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#getItalic()">getItalic</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the italic.</DL>
</DD>
</DL>
<HR>

<A NAME="getUnderlined()"><!-- --></A><H3>
getUnderlined</H3>
<PRE>
public boolean <B>getUnderlined</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#getUnderlined()">getUnderlined</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the underlined.</DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public int <B>height</B>()</PRE>
<DL>
<DD>Get the height of the font (pixel).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#height()">height</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The font height (pixel).<DT><B>See Also:</B><DD><A HREF="../../../jexi/ui/Font.html#height()"><CODE>Font.height()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE>
<DL>
<DD>The font only equals when the name, the size, the bold...  are exactly equals.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#equals(java.lang.Object)">equals</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if all attributes equals.</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Get the hash code.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#hashCode()">hashCode</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The hash code of this font.</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>This is used to create the corresponding key of the font object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A String like "name-size-bold-italic-underlined".</DL>
</DD>
</DL>
<HR>

<A NAME="toKey(java.lang.String, int, boolean, boolean, boolean)"><!-- --></A><H3>
toKey</H3>
<PRE>
public static java.lang.String <B>toKey</B>(java.lang.String&nbsp;name,                                     int&nbsp;size,                                     boolean&nbsp;bold,                                     boolean&nbsp;italic,                                     boolean&nbsp;underlined)</PRE>
<DL>
<DD>This static function is to identify a font.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="dispose()"><!-- --></A><H3>
dispose</H3>
<PRE>
public void <B>dispose</B>()</PRE>
<DL>
<DD>Distroy the font if no other object referenced it.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jexi/ui/Font.html#dispose()">dispose</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../jexi/ui/Font.html#dispose()"><CODE>Font.dispose()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="nativeFont()"><!-- --></A><H3>
nativeFont</H3>
<PRE>
public org.eclipse.swt.graphics.Font <B>nativeFont</B>()</PRE>
<DL>
<DD>Get the native font resource.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="refCount()"><!-- --></A><H3>
refCount</H3>
<PRE>
public int <B>refCount</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</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/Font.html#debug()">debug</A></CODE> in interface <CODE><A HREF="../../../jexi/ui/Font.html" title="interface in jexi.ui">Font</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/SWTFont.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/SWTColorFactory.html" title="class in jexi.ui.swt"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../jexi/ui/swt/SWTFontFactory.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="SWTFont.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + -