com.esri.arcgis.systemUI
Class SystemFont

java.lang.Object
  extended by com.esri.arcgis.systemUI.SystemFont
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, Font, IFont, java.io.Serializable

public class SystemFont
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, Font, IFont

COM Class 'SystemFont'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystemUI.olb'

Description 'A font object encapsulating Windows font object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.support.ms.stdole.Font
DISPID_0_GET_NAME, DISPID_0_PUT_NAME, DISPID_2_GET_NAME, DISPID_2_PUT_NAME, DISPID_3_GET_NAME, DISPID_3_PUT_NAME, DISPID_4_GET_NAME, DISPID_4_PUT_NAME, DISPID_5_GET_NAME, DISPID_5_PUT_NAME, DISPID_6_GET_NAME, DISPID_6_PUT_NAME, DISPID_7_GET_NAME, DISPID_7_PUT_NAME, DISPID_8_GET_NAME, DISPID_8_PUT_NAME, IID, IIDbef6e003_a874_101a_8bba_00aa00300cab, xxDummy
 
Fields inherited from interface com.esri.arcgis.support.ms.stdole.IFont
IID, IIDbef6e002_a874_101a_8bba_00aa00300cab, xxDummy
 
Constructor Summary
SystemFont()
          Constructs a SystemFont using ArcGIS Engine.
SystemFont(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SystemFont theSystemFont = (SystemFont) obj;
 
Method Summary
 void addRefHfont(int hFont)
          addRefHfont
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_clone(IFont[] ppfont)
          esri_clone
 boolean getBold()
          getBold
 short getCharset()
          getCharset
static java.lang.String getClsid()
          getClsid.
 int getHFont()
          getHFont
 boolean getItalic()
          getItalic
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          getName
 long getSize()
          getSize
 boolean getStrikethrough()
          getStrikethrough
 boolean getUnderline()
          getUnderline
 short getWeight()
          getWeight
 int hashCode()
          the hashcode for this object
 boolean isBold()
          isBold
 void isEqual(IFont pfontOther)
          isEqual
 boolean isItalic()
          isItalic
 boolean isStrikethrough()
          isStrikethrough
 boolean isUnderline()
          isUnderline
 void release()
          Release a SystemFont.
 void releaseHfont(int hFont)
          releaseHfont
 void setBold(boolean rhs)
          setBold
 void setCharset(short rhs)
          setCharset
 void setItalic(boolean rhs)
          setItalic
 void setName(java.lang.String rhs)
          setName
 void setRatio(int cyLogical, int cyHimetric)
          setRatio
 void setSize(long rhs)
          setSize
 void setStrikethrough(boolean rhs)
          setStrikethrough
 void setUnderline(boolean rhs)
          setUnderline
 void setWeight(short rhs)
          setWeight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemFont

public SystemFont()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a SystemFont using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SystemFont

public SystemFont(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SystemFont theSystemFont = (SystemFont) obj;

Construct a SystemFont using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SystemFont.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SystemFont.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
getName

Specified by:
getName in interface Font
Specified by:
getName in interface IFont
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String rhs)
             throws java.io.IOException,
                    AutomationException
setName

Specified by:
setName in interface Font
Specified by:
setName in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

public long getSize()
             throws java.io.IOException,
                    AutomationException
getSize

Specified by:
getSize in interface Font
Specified by:
getSize in interface IFont
Returns:
Automation Currency type
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

public void setSize(long rhs)
             throws java.io.IOException,
                    AutomationException
setSize

Specified by:
setSize in interface Font
Specified by:
setSize in interface IFont
Parameters:
rhs - Automation Currency type)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBold

public boolean getBold()
                throws java.io.IOException,
                       AutomationException
getBold

Specified by:
getBold in interface Font
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBold

public void setBold(boolean rhs)
             throws java.io.IOException,
                    AutomationException
setBold

Specified by:
setBold in interface Font
Specified by:
setBold in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItalic

public boolean getItalic()
                  throws java.io.IOException,
                         AutomationException
getItalic

Specified by:
getItalic in interface Font
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItalic

public void setItalic(boolean rhs)
               throws java.io.IOException,
                      AutomationException
setItalic

Specified by:
setItalic in interface Font
Specified by:
setItalic in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnderline

public boolean getUnderline()
                     throws java.io.IOException,
                            AutomationException
getUnderline

Specified by:
getUnderline in interface Font
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnderline

public void setUnderline(boolean rhs)
                  throws java.io.IOException,
                         AutomationException
setUnderline

Specified by:
setUnderline in interface Font
Specified by:
setUnderline in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStrikethrough

public boolean getStrikethrough()
                         throws java.io.IOException,
                                AutomationException
getStrikethrough

Specified by:
getStrikethrough in interface Font
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStrikethrough

public void setStrikethrough(boolean rhs)
                      throws java.io.IOException,
                             AutomationException
setStrikethrough

Specified by:
setStrikethrough in interface Font
Specified by:
setStrikethrough in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeight

public short getWeight()
                throws java.io.IOException,
                       AutomationException
getWeight

Specified by:
getWeight in interface Font
Specified by:
getWeight in interface IFont
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWeight

public void setWeight(short rhs)
               throws java.io.IOException,
                      AutomationException
setWeight

Specified by:
setWeight in interface Font
Specified by:
setWeight in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCharset

public short getCharset()
                 throws java.io.IOException,
                        AutomationException
getCharset

Specified by:
getCharset in interface Font
Specified by:
getCharset in interface IFont
Returns:
The return value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCharset

public void setCharset(short rhs)
                throws java.io.IOException,
                       AutomationException
setCharset

Specified by:
setCharset in interface Font
Specified by:
setCharset in interface IFont
Parameters:
rhs - The rhs)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBold

public boolean isBold()
               throws java.io.IOException,
                      AutomationException
isBold

Specified by:
isBold in interface IFont
Returns:
The pbold
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isItalic

public boolean isItalic()
                 throws java.io.IOException,
                        AutomationException
isItalic

Specified by:
isItalic in interface IFont
Returns:
The pitalic
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUnderline

public boolean isUnderline()
                    throws java.io.IOException,
                           AutomationException
isUnderline

Specified by:
isUnderline in interface IFont
Returns:
The punderline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStrikethrough

public boolean isStrikethrough()
                        throws java.io.IOException,
                               AutomationException
isStrikethrough

Specified by:
isStrikethrough in interface IFont
Returns:
The pstrikethrough
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHFont

public int getHFont()
             throws java.io.IOException,
                    AutomationException
getHFont

Specified by:
getHFont in interface IFont
Returns:
The phfont (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public void esri_clone(IFont[] ppfont)
                throws java.io.IOException,
                       AutomationException
esri_clone

Specified by:
esri_clone in interface IFont
Parameters:
ppfont - A reference to a com.esri.arcgis.support.ms.stdole.IFont (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public void isEqual(IFont pfontOther)
             throws java.io.IOException,
                    AutomationException
isEqual

Specified by:
isEqual in interface IFont
Parameters:
pfontOther - A reference to a com.esri.arcgis.support.ms.stdole.IFont (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRatio

public void setRatio(int cyLogical,
                     int cyHimetric)
              throws java.io.IOException,
                     AutomationException
setRatio

Specified by:
setRatio in interface IFont
Parameters:
cyLogical - The cyLogical (in)
cyHimetric - The cyHimetric (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRefHfont

public void addRefHfont(int hFont)
                 throws java.io.IOException,
                        AutomationException
addRefHfont

Specified by:
addRefHfont in interface IFont
Parameters:
hFont - The hFont (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseHfont

public void releaseHfont(int hFont)
                  throws java.io.IOException,
                         AutomationException
releaseHfont

Specified by:
releaseHfont in interface IFont
Parameters:
hFont - The hFont (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.