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, valid
public ControlFrameComObjectImpl()
public boolean setProperty(java.lang.String prop, java.lang.Object newVal, java.lang.Object... indices)
setProperty
in class ComObject
prop
- 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 ComObject
prop
- 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 ControlFrameComObject
axName
- 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 ComObject
public 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 ControlFrameComObject
wrxFile
- .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 ControlFrameComObject
public comhandle getControls()
getControls
in interface ControlFrameComObject
public handle getWidgetHandle()
getWidgetHandle
in interface ControlFrameComObject
public integer getWidth()
getWidth
in interface ControlFrameComObject
public void setWidth(long width)
setWidth
in interface ControlFrameComObject
width
- the new width of the widget or the screen display used in the current session.public void setWidth(NumberType width)
setWidth
in interface ControlFrameComObject
width
- the new width of the widget or the screen display used in the current session.public integer getHeight()
getHeight
in interface ControlFrameComObject
public void setHeight(long height)
setHeight
in interface ControlFrameComObject
height
- the new height of the widget or the screen display used in the current session.public void setHeight(NumberType height)
setHeight
in interface ControlFrameComObject
height
- the new height of the widget or the screen display used in the current session.public integer getLeft()
getLeft
in interface ControlFrameComObject
public void setLeft(long left)
setLeft
in interface ControlFrameComObject
left
- the new left of the widget or the screen display used in the current session.public void setLeft(NumberType left)
setLeft
in interface ControlFrameComObject
left
- the new left of the widget or the screen display used in the current session.public integer getTop()
getTop
in interface ControlFrameComObject
public void setTop(long top)
setTop
in interface ControlFrameComObject
top
- the new top of the widget or the screen display used in the current session.public void setTop(NumberType top)
setTop
in interface ControlFrameComObject
top
- the new top of the widget or the screen display used in the current session.public integer getWidgetId()
getWidgetId
in interface ControlFrameComObject
public handle getFrameHandle()
getFrameHandle
in interface ControlFrameComObject
public character name()
name
attribute.public void name(java.lang.String _name)
name
attribute.