|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.display.PictureLineSymbol
public class PictureLineSymbol
COM Class 'PictureLineSymbol'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'A line symbol composed of either a BMP or an EMF picture.' 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 =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.display.IPictureLineSymbol |
---|
IID, IID22c8c5a0_84fc_11d4_834d_0080c79f0371, xxDummy |
Fields inherited from interface com.esri.arcgis.display.ILineSymbol |
---|
IIDe6bdaa7d_4d35_11d0_98be_00805f7ced21 |
Fields inherited from interface com.esri.arcgis.display.IMapLevel |
---|
IID, IIDcef72580_c1d9_11d2_9888_0080c7e04196, xxDummy |
Fields inherited from interface com.esri.arcgis.display.ISymbol |
---|
IID, IIDf3435802_5779_11d0_98bf_00805f7ced21, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPropertySupport |
---|
IID, IID8a11ad55_2f4f_11d3_9fa0_00c04f6bc6a5, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IDisplayName |
---|
IID, IIDf47b9b56_7efe_4ee4_b7d4_445f93ff390e, xxDummy |
Constructor Summary | |
---|---|
PictureLineSymbol()
Constructs a PictureLineSymbol using ArcGIS Engine. |
|
PictureLineSymbol(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PictureLineSymbol thePictureLineSymbol = (PictureLineSymbol) obj; |
Method Summary | |
---|---|
boolean |
applies(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
java.lang.Object |
apply(java.lang.Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canApply(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
void |
createLineSymbolFromFile(int type,
java.lang.String fileName)
Create line symbol from picture file. |
void |
draw(IGeometry geometry)
Draws the specified shape. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
IColor |
getBackgroundColor()
Line background color. |
IColor |
getBitmapTransparencyColor()
Color within bitmap indicating transparency. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
IColor |
getColor()
Line symbol color. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getMapLevel()
Current map level for drawing multi-level symbols. |
java.lang.String |
getNameString()
The display name of an object. |
double |
getOffset()
Picture offset from center of line. |
Picture |
getPicture()
Picture used for line. |
int |
getROP2()
Raster operation code for pixel drawing. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getWidth()
Line symbol width. |
double |
getXScale()
Scale of picture along X-axis. |
double |
getYScale()
Scale of picture along Y-axis. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isRotate()
Indicates if the picture is rotated to follow the line. |
boolean |
isSwapForeGroundBackGroundColor()
Indicates if the foreground and background colors are swapped on 1 Bit Images Only. |
void |
load(IStream pstm)
load |
void |
queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
Fills an existing polygon with the boundary of the specified symbol. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a PictureLineSymbol. |
void |
resetDC()
Restores DC to original state. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setBackgroundColor(IColor color)
Line background color. |
void |
setBitmapTransparencyColor(IColor color)
Color within bitmap indicating transparency. |
void |
setColor(IColor color)
Line symbol color. |
void |
setMapLevel(int mapLevel)
Current map level for drawing multi-level symbols. |
void |
setOffset(double offset)
Picture offset from center of line. |
void |
setPictureByRef(Picture pictureDisp)
Picture used for line. |
void |
setROP2(int drawMode)
Raster operation code for pixel drawing. |
void |
setRotate(boolean rotate)
Indicates if the picture is rotated to follow the line. |
void |
setSwapForeGroundBackGroundColor(boolean swap)
Indicates if the foreground and background colors are swapped on 1 Bit Images Only. |
void |
setupDC(int hDC,
ITransformation transformation)
Prepares the DC for drawing the symbol. |
void |
setWidth(double width)
Line symbol width. |
void |
setXScale(double xScale)
Scale of picture along X-axis. |
void |
setYScale(double yScale)
Scale of picture along Y-axis. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public PictureLineSymbol() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic PictureLineSymbol(java.lang.Object obj) throws java.io.IOException
PictureLineSymbol thePictureLineSymbol = (PictureLineSymbol) obj;
obj
to PictureLineSymbol
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
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 release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public Picture getPicture() throws java.io.IOException, AutomationException
getPicture
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPictureByRef(Picture pictureDisp) throws java.io.IOException, AutomationException
setPictureByRef
in interface IPictureLineSymbol
pictureDisp
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBackgroundColor() throws java.io.IOException, AutomationException
getBackgroundColor
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundColor(IColor color) throws java.io.IOException, AutomationException
setBackgroundColor
in interface IPictureLineSymbol
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBitmapTransparencyColor(IColor color) throws java.io.IOException, AutomationException
setBitmapTransparencyColor
in interface IPictureLineSymbol
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBitmapTransparencyColor() throws java.io.IOException, AutomationException
getBitmapTransparencyColor
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRotate() throws java.io.IOException, AutomationException
isRotate
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotate(boolean rotate) throws java.io.IOException, AutomationException
setRotate
in interface IPictureLineSymbol
rotate
- The rotate (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getXScale() throws java.io.IOException, AutomationException
getXScale
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXScale(double xScale) throws java.io.IOException, AutomationException
setXScale
in interface IPictureLineSymbol
xScale
- The xScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getYScale() throws java.io.IOException, AutomationException
getYScale
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYScale(double yScale) throws java.io.IOException, AutomationException
setYScale
in interface IPictureLineSymbol
yScale
- The yScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffset() throws java.io.IOException, AutomationException
getOffset
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffset(double offset) throws java.io.IOException, AutomationException
setOffset
in interface IPictureLineSymbol
offset
- The offset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSwapForeGroundBackGroundColor() throws java.io.IOException, AutomationException
isSwapForeGroundBackGroundColor
in interface IPictureLineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSwapForeGroundBackGroundColor(boolean swap) throws java.io.IOException, AutomationException
setSwapForeGroundBackGroundColor
in interface IPictureLineSymbol
swap
- The swap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createLineSymbolFromFile(int type, java.lang.String fileName) throws java.io.IOException, AutomationException
createLineSymbolFromFile
in interface IPictureLineSymbol
type
- A com.esri.arcgis.display.esriIPictureType constant (in)fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getColor() throws java.io.IOException, AutomationException
getColor
in interface ILineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColor(IColor color) throws java.io.IOException, AutomationException
setColor
in interface ILineSymbol
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getWidth() throws java.io.IOException, AutomationException
getWidth
in interface ILineSymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWidth(double width) throws java.io.IOException, AutomationException
setWidth
in interface ILineSymbol
width
- The width (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapLevel() throws java.io.IOException, AutomationException
getMapLevel
in interface IMapLevel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapLevel(int mapLevel) throws java.io.IOException, AutomationException
setMapLevel
in interface IMapLevel
mapLevel
- The mapLevel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setupDC(int hDC, ITransformation transformation) throws java.io.IOException, AutomationException
setupDC
in interface ISymbol
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetDC() throws java.io.IOException, AutomationException
resetDC
in interface ISymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IGeometry geometry) throws java.io.IOException, AutomationException
draw
in interface ISymbol
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBoundary(int hDC, ITransformation displayTransform, IGeometry geometry, IPolygon boundary) throws java.io.IOException, AutomationException
queryBoundary
in interface ISymbol
hDC
- The hDC (A COM typedef) (in)displayTransform
- A reference to a com.esri.arcgis.geometry.ITransformation (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)boundary
- A reference to a com.esri.arcgis.geometry.IPolygon (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getROP2() throws java.io.IOException, AutomationException
getROP2
in interface ISymbol
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setROP2(int drawMode) throws java.io.IOException, AutomationException
setROP2
in interface ISymbol
drawMode
- A com.esri.arcgis.display.esriRasterOpCode constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(java.lang.Object pUnk) throws java.io.IOException, AutomationException
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(java.lang.Object pUnk) throws java.io.IOException, AutomationException
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrent(java.lang.Object pUnk) throws java.io.IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object apply(java.lang.Object newObject) throws java.io.IOException, AutomationException
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNameString() throws java.io.IOException, AutomationException
getNameString
in interface IDisplayName
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |