private class ControlFrameWidget.ControlFrameComObjectImpl extends ComObject implements ControlFrameComObject
Constructor and Description |
---|
ControlFrameComObjectImpl()
Public default constructor.
|
Modifier and Type | Method and Description |
---|---|
comhandle |
getActiveX(java.lang.String axName)
Obtain a (com-)handle to a specific Java emulated ActiveX, if such instance exist.
|
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 name of this COM object.
|
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(character wrxFile,
character ctrl)
Loads the named OCX into the associated control frame.
|
logical |
loadControls(character wrxFile,
java.lang.String ctrl)
Loads the named OCX into the associated control frame.
|
logical |
loadControls(java.lang.String wrxFile,
character ctrl)
Loads the named OCX into the associated control frame.
|
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 |
release()
Releasing objects of this type is illegal.
|
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 |
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.
|
boolean |
valid()
Reports if this object is valid for use.
|
getParentControlFrame, id, id, init, setParentControlFrame, unknown
public ControlFrameComObjectImpl()
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.public java.lang.String getName()
public void release()
WIDGET-HANDLE
. This method
will just throw error 5895.public boolean valid()
valid
in interface WrappedResource
true
if a COM object was loaded in the Control Frame.public logical loadControls(character wrxFile, character ctrl)
loadControls
in interface ControlFrameComObject
wrxFile
- .wrx filename describing the OCX content to load.ctrl
- Control frame name.true
if operation was successful.public logical loadControls(java.lang.String wrxFile, character ctrl)
loadControls
in interface ControlFrameComObject
wrxFile
- .wrx filename describing the OCX content to load.ctrl
- Control frame name.true
if operation was successful.public logical loadControls(character wrxFile, java.lang.String ctrl)
loadControls
in interface ControlFrameComObject
wrxFile
- .wrx filename describing the OCX content to load.ctrl
- Control frame name.true
if operation was successful.public logical loadControls(java.lang.String wrxFile, java.lang.String ctrl)
loadControls
in interface ControlFrameComObject
wrxFile
- .wrx filename describing the OCX content to load.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.