|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.ModelessFrame
public class ModelessFrame
Object that implements a ModelessFrame.
| Constructor Summary | |
|---|---|
ModelessFrame()
Constructs a ModelessFrame using ArcGIS Engine. |
|
ModelessFrame(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ModelessFrame theModelessFrame = (ModelessFrame) obj; |
|
| Method Summary | |
|---|---|
void |
create(Object vbForm)
Creates the modeless frame around the specified VisualBasic form object. |
boolean |
equals(Object o)
Compare this object with another |
String |
getCaption()
The caption of the modeless frame. |
static String |
getClsid()
getClsid. |
int |
getHeight()
The height of the window. |
int |
getLeft()
The distance between the internal left edge of the window and screen. |
int |
getState()
The state of the window. |
int |
getTop()
The distance between the internal top edge of the window and screen. |
int |
getWidth()
The width of the window. |
int |
hashCode()
the hashcode for this object |
boolean |
isVisible()
Indicates if the modeless frame is visible. |
void |
move(int left,
int top,
int width,
int height)
Moves and optionally resizes the windows in a single function. |
void |
setCaption(String pCaption)
The caption of the modeless frame. |
void |
setHeight(int height)
The height of the window. |
void |
setLeft(int left)
The distance between the internal left edge of the window and screen. |
void |
setState(int windowState)
The state of the window. |
void |
setTop(int top)
The distance between the internal top edge of the window and screen. |
void |
setVisible(boolean bVisible)
Indicates if the modeless frame is visible. |
void |
setWidth(int width)
The width of the window. |
| 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 ModelessFrame()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ModelessFrame(Object obj)
throws IOException
ModelessFrame theModelessFrame = (ModelessFrame) obj;
obj to ModelessFrame.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void create(Object vbForm)
throws IOException,
AutomationException
The ModelessFrame object controls the life cycle of the Visual Basic form. You should pass an instance of the VBForm and not the Form itself. For example, you should use the following style when you create the ModelessFrame object;
Dim pForm As Form1
Set pForm = New Form1
Dim pFrame As IModelessFrame
Set pFrame = New ModelessFrame
pFrame.Create pForm
create in interface IModelessFramevbForm - A reference to another Automation Object (IDispatch) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean bVisible)
throws IOException,
AutomationException
setVisible in interface IModelessFramebVisible - The bVisible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface IModelessFrameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCaption(String pCaption)
throws IOException,
AutomationException
setCaption in interface IModelessFramepCaption - The pCaption (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getCaption()
throws IOException,
AutomationException
getCaption in interface IModelessFrameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLeft(int left)
throws IOException,
AutomationException
setLeft in interface IWindowPositionleft - The left (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLeft()
throws IOException,
AutomationException
The Left property determines the position of the window in screen coordinates relative to the upper-left corner of the display screen.
getLeft in interface IWindowPositionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTop(int top)
throws IOException,
AutomationException
setTop in interface IWindowPositiontop - The top (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTop()
throws IOException,
AutomationException
The Top property determines the position of the window in screen coordinates relative to the upper-left corner of the display screen.
getTop in interface IWindowPositionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(int width)
throws IOException,
AutomationException
setWidth in interface IWindowPositionwidth - The width (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWidth()
throws IOException,
AutomationException
The Height and Width properties determine the size of the window. This is in screen units.
getWidth in interface IWindowPositionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeight(int height)
throws IOException,
AutomationException
setHeight in interface IWindowPositionheight - The height (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHeight()
throws IOException,
AutomationException
The Height and Width properties determine the size of the window. This is in screen units.
getHeight in interface IWindowPositionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(int left,
int top,
int width,
int height)
throws IOException,
AutomationException
You can use the Move method to set the Left, Top, Width, and Height properties all at the same time.
move in interface IWindowPositionleft - The left (in)top - The top (in)width - The width (in, optional, pass 0 if not required)height - The height (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setState(int windowState)
throws IOException,
AutomationException
setState in interface IWindowPositionwindowState - A com.esri.arcgis.framework.esriWindowState constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getState()
throws IOException,
AutomationException
The State property uses the esriWindowState enumeration to specify whether the window is normal, minimized, or maximized.
getState in interface IWindowPositionIOException - 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 | ||||||||