public class ControlFrameWidget.ControlFrameComObjectImpl extends ComObject implements ControlFrameComObject
includeUnannotatedMethods, LOGGER, methodTable, propertyTable| Constructor and Description |
|---|
ControlFrameComObjectImpl()
Public default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deleting objects of this type is illegal.
|
comhandle |
getActiveX(java.lang.String axName)
Obtain a (com-)handle to a specific Java emulated ActiveX, if such instance exist.
|
java.lang.String |
getActivexName()
Obtain the name of this ActiveX object.
|
comhandle |
getControlName()
The component handle to an ActiveX control that has the specified design-time name
(Control-Name) and that is loaded into the control-frame.
|
comhandle |
getControls()
Returns a control collection from this control frame.
|
handle |
getFrameHandle()
Gets the FRAME attribute, which is the containing frame instance, as a handle.
|
integer |
getHeight()
Obtain the height of the widget or the screen display used in the current session,
in pixels.
|
integer |
getLeft()
Obtain the left of the widget or the screen display used in the current session, in
pixels.
|
java.lang.String |
getName()
Obtain the legacy name of this COM object.
|
BaseDataType |
getProperty(java.lang.String prop,
java.lang.Object... indices)
Obtain a property value from the COM object stored in this handle.
|
integer |
getTop()
Obtain the top of the widget or the screen display used in the current session, in
pixels.
|
handle |
getWidgetHandle()
Returns the handle of the control frame associated with the control-frame COM object.
|
integer |
getWidgetId()
Gets the WIDGET-ID writable attribute.
|
integer |
getWidth()
Obtain the width of the widget or the screen display used in the current session, in
pixels.
|
logical |
loadControls(java.lang.String wrxFile,
java.lang.String ctrl)
Loads the named OCX into the associated control frame.
|
character |
name()
Obtains the
name attribute. |
void |
name(character _name)
Sets the
name attribute. |
void |
name(java.lang.String _name)
Sets the
name attribute. |
void |
setHeight(long height)
Sets the new height of the widget or the screen display used in the current session,
in pixels.
|
void |
setHeight(NumberType height)
Sets the new height of the widget or the screen display used in the current session,
in pixels.
|
void |
setLeft(long left)
Sets the left of the widget or the screen display used in the current session, in pixels.
|
void |
setLeft(NumberType left)
Sets the left of the widget or the screen display used in the current session, in pixels.
|
void |
setName(java.lang.String newName)
Configure the legacy name of this COM object.
|
boolean |
setProperty(java.lang.String prop,
java.lang.Object newVal,
java.lang.Object... indices)
Sets a COM property for the COM object stored by the handle.
|
void |
setTop(long top)
Sets the new top of the widget or the screen display used in the current session, in
pixels.
|
void |
setTop(NumberType top)
Sets the new top of the widget or the screen display used in the current session, in
pixels.
|
void |
setWidth(long width)
Sets the width of the widget or the screen display used in the current session, in
pixels.
|
void |
setWidth(NumberType width)
Sets the width of the widget or the screen display used in the current session, in
pixels.
|
call, chainCall, checkParameters, deref, destroy, getComObjectClass, getComObjectInstance, getParentControlFrame, getParentProcedure, id, id, init, marshal, ref, setParentControlFrame, unknown, unmarshal, unmarshal, validclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowDeletepublic ControlFrameComObjectImpl()
public boolean setProperty(java.lang.String prop,
java.lang.Object newVal,
java.lang.Object... indices)
setProperty in class ComObjectprop - The legacy property name. Case insensitive. If no property is found then a warning
is displayed and method returns without altering the stored object.newVal - The new value for the property. It must be of a compatible type with the property.indices - A variable number of indices used to access this property's element.true if the property was set.public BaseDataType getProperty(java.lang.String prop, java.lang.Object... indices)
getProperty in class ComObjectprop - The legacy name of the property. Case insensitive. If no property is found then a
warning is displayed and method returns unknown value.indices - A variable number of indices used to access this property's element.unknown on exceptions.public comhandle getActiveX(java.lang.String axName)
.wrx file loaded with loadControls() may contain multiple
ActiveX-es. They are identified by their name as top-level properties of the
ControlFrame widget.getActiveX in interface ControlFrameComObjectaxName - The ActiveX name.comhandle to the requested activex object if such instance was loaded,
otherwise null.public java.lang.String getName()
public void setName(java.lang.String newName)
public java.lang.String getActivexName()
getActivexName in class ComObjectpublic void delete()
WIDGET-HANDLE. This method
will just throw error 5895.public logical loadControls(java.lang.String wrxFile, java.lang.String ctrl)
loadControls in interface ControlFrameComObjectwrxFile - .wrx filename describing the OCX content to load. This parameter is ignored.ctrl - Control frame name.true if operation was successful.public comhandle getControlName()
getControlName in interface ControlFrameComObjectpublic comhandle getControls()
getControls in interface ControlFrameComObjectpublic handle getWidgetHandle()
getWidgetHandle in interface ControlFrameComObjectpublic integer getWidth()
getWidth in interface ControlFrameComObjectpublic void setWidth(long width)
setWidth in interface ControlFrameComObjectwidth - the new width of the widget or the screen display used in the current session.public void setWidth(NumberType width)
setWidth in interface ControlFrameComObjectwidth - the new width of the widget or the screen display used in the current session.public integer getHeight()
getHeight in interface ControlFrameComObjectpublic void setHeight(long height)
setHeight in interface ControlFrameComObjectheight - the new height of the widget or the screen display used in the current session.public void setHeight(NumberType height)
setHeight in interface ControlFrameComObjectheight - the new height of the widget or the screen display used in the current session.public integer getLeft()
getLeft in interface ControlFrameComObjectpublic void setLeft(long left)
setLeft in interface ControlFrameComObjectleft - the new left of the widget or the screen display used in the current session.public void setLeft(NumberType left)
setLeft in interface ControlFrameComObjectleft - the new left of the widget or the screen display used in the current session.public integer getTop()
getTop in interface ControlFrameComObjectpublic void setTop(long top)
setTop in interface ControlFrameComObjecttop - the new top of the widget or the screen display used in the current session.public void setTop(NumberType top)
setTop in interface ControlFrameComObjecttop - the new top of the widget or the screen display used in the current session.public integer getWidgetId()
getWidgetId in interface ControlFrameComObjectpublic handle getFrameHandle()
getFrameHandle in interface ControlFrameComObjectpublic character name()
name attribute.public void name(java.lang.String _name)
name attribute.