|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.support.ms.stdole.StdFont
public class StdFont
Constructor Summary | |
---|---|
StdFont()
Constructs a StdFont using ArcGIS Engine. |
|
StdFont(Object obj)
Construct a StdFont using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addFontEventsListener(FontEvents theListener)
addFontEventsListener. |
void |
addRefHfont(int hFont)
addRefHfont |
boolean |
equals(Object o)
Compare this object with another |
void |
esri_clone(IFont[] ppfont)
esri_clone |
boolean |
getBold()
getBold |
short |
getCharset()
getCharset |
static String |
getClsid()
getClsid. |
int |
getHFont()
getHFont |
boolean |
getItalic()
getItalic |
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 |
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(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public StdFont() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic StdFont(Object obj) throws IOException
obj
to StdFont
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
StdFont theStdFont = (StdFont) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addFontEventsListener(FontEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.support.ms.stdole.FontEvents interface.
IOException
- If there are communications problems.public void removeFontEventsListener(FontEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.support.ms.stdole.FontEvents interface.
IOException
- If there are communications problems.public String getName() throws IOException, AutomationException
getName
in interface Font
getName
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String rhs) throws IOException, AutomationException
setName
in interface Font
setName
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long getSize() throws IOException, AutomationException
getSize
in interface Font
getSize
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSize(long rhs) throws IOException, AutomationException
setSize
in interface Font
setSize
in interface IFont
rhs
- Automation Currency type )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getBold() throws IOException, AutomationException
getBold
in interface Font
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBold(boolean rhs) throws IOException, AutomationException
setBold
in interface Font
setBold
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getItalic() throws IOException, AutomationException
getItalic
in interface Font
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setItalic(boolean rhs) throws IOException, AutomationException
setItalic
in interface Font
setItalic
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getUnderline() throws IOException, AutomationException
getUnderline
in interface Font
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnderline(boolean rhs) throws IOException, AutomationException
setUnderline
in interface Font
setUnderline
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getStrikethrough() throws IOException, AutomationException
getStrikethrough
in interface Font
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStrikethrough(boolean rhs) throws IOException, AutomationException
setStrikethrough
in interface Font
setStrikethrough
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getWeight() throws IOException, AutomationException
getWeight
in interface Font
getWeight
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWeight(short rhs) throws IOException, AutomationException
setWeight
in interface Font
setWeight
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getCharset() throws IOException, AutomationException
getCharset
in interface Font
getCharset
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCharset(short rhs) throws IOException, AutomationException
setCharset
in interface Font
setCharset
in interface IFont
rhs
- The rhs )
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBold() throws IOException, AutomationException
isBold
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isItalic() throws IOException, AutomationException
isItalic
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUnderline() throws IOException, AutomationException
isUnderline
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStrikethrough() throws IOException, AutomationException
isStrikethrough
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHFont() throws IOException, AutomationException
getHFont
in interface IFont
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_clone(IFont[] ppfont) throws IOException, AutomationException
esri_clone
in interface IFont
ppfont
- A reference to a com.esri.arcgis.support.ms.stdole.IFont (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isEqual(IFont pfontOther) throws IOException, AutomationException
isEqual
in interface IFont
pfontOther
- A reference to a com.esri.arcgis.support.ms.stdole.IFont (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRatio(int cyLogical, int cyHimetric) throws IOException, AutomationException
setRatio
in interface IFont
cyLogical
- The cyLogical (in)cyHimetric
- The cyHimetric (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addRefHfont(int hFont) throws IOException, AutomationException
addRefHfont
in interface IFont
hFont
- The hFont (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void releaseHfont(int hFont) throws IOException, AutomationException
releaseHfont
in interface IFont
hFont
- The hFont (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |