com.esri.arcgis.support.ms.stdole
Class IFontProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.support.ms.stdole.IFontProxy
All Implemented Interfaces:
IFont, Externalizable, Serializable

public class IFontProxy
extends com.esri.arcgis.interop.Dispatch
implements IFont, Serializable

Font Object

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IFontProxy()
           
  IFontProxy(Object obj)
           
protected IFontProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void addRefHfont(int hFont)
          addRefHfont
 void esri_clone(IFont[] ppfont)
          esri_clone
 short getCharset()
          getCharset
 int getHFont()
          getHFont
 String getName()
          getName
 long getSize()
          getSize
 short getWeight()
          getWeight
 boolean isBold()
          isBold
 void isEqual(IFont pfontOther)
          isEqual
 boolean isItalic()
          isItalic
 boolean isStrikethrough()
          isStrikethrough
 boolean isUnderline()
          isUnderline
 void releaseHfont(int hFont)
          releaseHfont
 void removeListener(String iidStr, Object theListener)
           
 void setBold(boolean pbold)
          setBold
 void setCharset(short pcharset)
          setCharset
 void setItalic(boolean pitalic)
          setItalic
 void setName(String pname)
          setName
 void setRatio(int cyLogical, int cyHimetric)
          setRatio
 void setSize(long psize)
          setSize
 void setStrikethrough(boolean pstrikethrough)
          setStrikethrough
 void setUnderline(boolean punderline)
          setUnderline
 void setWeight(short pweight)
          setWeight
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFontProxy

public IFontProxy()

IFontProxy

public IFontProxy(Object obj)
           throws IOException
Throws:
IOException

IFontProxy

protected IFontProxy(Object obj,
                     String iid)
              throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getName

public String getName()
               throws IOException,
                      AutomationException
getName

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

setName

public void setName(String pname)
             throws IOException,
                    AutomationException
setName

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

getSize

public long getSize()
             throws IOException,
                    AutomationException
getSize

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

setSize

public void setSize(long psize)
             throws IOException,
                    AutomationException
setSize

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

isBold

public boolean isBold()
               throws IOException,
                      AutomationException
isBold

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

setBold

public void setBold(boolean pbold)
             throws IOException,
                    AutomationException
setBold

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

isItalic

public boolean isItalic()
                 throws IOException,
                        AutomationException
isItalic

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

setItalic

public void setItalic(boolean pitalic)
               throws IOException,
                      AutomationException
setItalic

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

isUnderline

public boolean isUnderline()
                    throws IOException,
                           AutomationException
isUnderline

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

setUnderline

public void setUnderline(boolean punderline)
                  throws IOException,
                         AutomationException
setUnderline

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

isStrikethrough

public boolean isStrikethrough()
                        throws IOException,
                               AutomationException
isStrikethrough

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

setStrikethrough

public void setStrikethrough(boolean pstrikethrough)
                      throws IOException,
                             AutomationException
setStrikethrough

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

getWeight

public short getWeight()
                throws IOException,
                       AutomationException
getWeight

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

setWeight

public void setWeight(short pweight)
               throws IOException,
                      AutomationException
setWeight

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

getCharset

public short getCharset()
                 throws IOException,
                        AutomationException
getCharset

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

setCharset

public void setCharset(short pcharset)
                throws IOException,
                       AutomationException
setCharset

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

getHFont

public int getHFont()
             throws IOException,
                    AutomationException
getHFont

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

esri_clone

public void esri_clone(IFont[] ppfont)
                throws 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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public void isEqual(IFont pfontOther)
             throws IOException,
                    AutomationException
isEqual

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

setRatio

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

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

addRefHfont

public void addRefHfont(int hFont)
                 throws IOException,
                        AutomationException
addRefHfont

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

releaseHfont

public void releaseHfont(int hFont)
                  throws IOException,
                         AutomationException
releaseHfont

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