|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFrameElement
Provides access to members that control the Frame element object.
IFrameElement is a generic interface implemented by all frame objects (FrameElement, OleFrame, MapFrame, and MapSurroundFrame). Use this interface when you want to get to the properties of the frames associated with the objects.
Method Summary | |
---|---|
IBackground |
getBackground()
Frame background used by this element. |
IBorder |
getBorder()
Frame border used by this element. |
Object |
getObject()
Object framed by this element. |
int |
getThumbnail()
Small bitmap representation of this element. |
boolean |
isDraftMode()
Indicates if this element is in draft mode, i.e., draws fast. |
void |
setBackground(IBackground background)
Frame background used by this element. |
void |
setBorder(IBorder border)
Frame border used by this element. |
void |
setDraftMode(boolean draftMode)
Indicates if this element is in draft mode, i.e., draws fast. |
Method Detail |
---|
Object getObject() throws IOException, AutomationException
Object returns the object contained within the frame. Once the object is returned, it is up to the developer to figure out what type of object it is. Use this property when you wish to perform an operation on the object within the frame.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IBorder getBorder() throws IOException, AutomationException
Border returns or sets the border property of the frame. Use this property when you want to change how the border around the frame is displayed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBorder(IBorder border) throws IOException, AutomationException
border
- A reference to a com.esri.arcgis.carto.IBorder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IBackground getBackground() throws IOException, AutomationException
Background returns or sets the background displayed with the frame. Use this property when you want to change how the background is displayed, or you want to retrieve the current background.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackground(IBackground background) throws IOException, AutomationException
background
- A reference to a com.esri.arcgis.carto.IBackground (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getThumbnail() throws IOException, AutomationException
Thumbnail returns a small bitmap representation of the contents of the frame. Use this property when you want to obtain a bitmap of the frame for display in another control.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isDraftMode() throws IOException, AutomationException
DraftMode set or returns a property that controls the speed and detail of the drawing of the frame. When DraftMode is set to TRUE, the contents of the frame will draw quicker but without as much detail. When the property is set to FALSE, the contents take longer to draw but include all the details.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDraftMode(boolean draftMode) throws IOException, AutomationException
draftMode
- The draftMode (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 |