public class StdFont extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, Font, IFont
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 =
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
IID, IIDbef6e002_a874_101a_8bba_00aa00300cab, xxDummy
Constructor and Description |
---|
StdFont()
Constructs a StdFont using ArcGIS Engine.
|
StdFont(java.lang.Object obj)
Construct a StdFont using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addFontEventsListener(FontEvents theListener)
addFontEventsListener.
|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
void |
releaseHfont(int hFont)
releaseHfont
|
void |
removeFontEventsListener(FontEvents theListener)
removeFontEventsListener.
|
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
|
public StdFont() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic StdFont(java.lang.Object obj) throws java.io.IOException
obj
to StdFont
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
StdFont theStdFont = (StdFont) obj;
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addFontEventsListener(FontEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.support.ms.stdole.FontEvents interface.java.io.IOException
- If there are communications problems.public void removeFontEventsListener(FontEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.support.ms.stdole.FontEvents interface.java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface Font
getName
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String rhs) throws java.io.IOException, AutomationException
setName
in interface Font
setName
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long getSize() throws java.io.IOException, AutomationException
getSize
in interface Font
getSize
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSize(long rhs) throws java.io.IOException, AutomationException
setSize
in interface Font
setSize
in interface IFont
rhs
- Automation Currency type)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getBold() throws java.io.IOException, AutomationException
getBold
in interface Font
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setBold(boolean rhs) throws java.io.IOException, AutomationException
setBold
in interface Font
setBold
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getItalic() throws java.io.IOException, AutomationException
getItalic
in interface Font
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setItalic(boolean rhs) throws java.io.IOException, AutomationException
setItalic
in interface Font
setItalic
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getUnderline() throws java.io.IOException, AutomationException
getUnderline
in interface Font
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUnderline(boolean rhs) throws java.io.IOException, AutomationException
setUnderline
in interface Font
setUnderline
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getStrikethrough() throws java.io.IOException, AutomationException
getStrikethrough
in interface Font
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStrikethrough(boolean rhs) throws java.io.IOException, AutomationException
setStrikethrough
in interface Font
setStrikethrough
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getWeight() throws java.io.IOException, AutomationException
getWeight
in interface Font
getWeight
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setWeight(short rhs) throws java.io.IOException, AutomationException
setWeight
in interface Font
setWeight
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getCharset() throws java.io.IOException, AutomationException
getCharset
in interface Font
getCharset
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCharset(short rhs) throws java.io.IOException, AutomationException
setCharset
in interface Font
setCharset
in interface IFont
rhs
- The rhs)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isBold() throws java.io.IOException, AutomationException
isBold
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isItalic() throws java.io.IOException, AutomationException
isItalic
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUnderline() throws java.io.IOException, AutomationException
isUnderline
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isStrikethrough() throws java.io.IOException, AutomationException
isStrikethrough
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getHFont() throws java.io.IOException, AutomationException
getHFont
in interface IFont
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void esri_clone(IFont[] ppfont) throws java.io.IOException, AutomationException
esri_clone
in interface IFont
ppfont
- A reference to a com.esri.arcgis.support.ms.stdole.IFont (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isEqual(IFont pfontOther) throws java.io.IOException, AutomationException
isEqual
in interface IFont
pfontOther
- A reference to a com.esri.arcgis.support.ms.stdole.IFont (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRatio(int cyLogical, int cyHimetric) throws java.io.IOException, AutomationException
setRatio
in interface IFont
cyLogical
- The cyLogical (in)cyHimetric
- The cyHimetric (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addRefHfont(int hFont) throws java.io.IOException, AutomationException
addRefHfont
in interface IFont
hFont
- The hFont (A COM typedef) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void releaseHfont(int hFont) throws java.io.IOException, AutomationException
releaseHfont
in interface IFont
hFont
- The hFont (A COM typedef) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.