public class EmbeddedWidgetWindow extends Object
Constructor and Description |
---|
EmbeddedWidgetWindow(EmbeddedWidget p_embeddedWidget!)
Constructs a EmbeddedWidgetWindow
|
EmbeddedWidgetWindow(EmbeddedWidget p_embeddedWidget!,
BBjNumber p_width,
BBjNumber p_height)
Constructs a EmbeddedWidgetWindow passing in a desired width and height
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the EmbeddedWidgetWindow
|
void |
doModal()
Shows the embedded widget window modally, returns when the window is closed
|
EmbeddedWidgetControl |
getEmbeddedWidgetControl()
Returns the encapsulated EmbeddedWidgetControl
|
BBjNumber |
getHeight()
Returns the height of the EmbeddedWidgetWindow
|
BBjNumber |
getWidth()
Returns the width of the EmbeddedWidgetWindow
|
BBjNumber |
getX()
Returns the X location of the EmbeddedWidgetWindow
|
BBjNumber |
getY()
Returns the Y location of the EmbeddedWidgetWindow
|
BBjNumber |
isDestroyed()
Returns if the EmbeddedWidgetWindow is destroyed
|
BBjNumber |
isVisible()
Returns the visiblity of the EmbeddedWidgetWindow
|
void |
setLocation(BBjNumber p_x,
BBjNumber p_y)
Sets the location of the EmbeddedWidgetWindow
|
void |
setSize(BBjNumber p_width,
BBjNumber p_height)
Sets the size of the EmbeddedWidgetWindow
|
void |
setTitle(BBjString p_title$)
Sets the title of the EmbeddedWidgetWindow
|
void |
setVisible(BBjNumber p_visible)
Sets the visiblity of the EmbeddedWidgetWindow
|
public EmbeddedWidgetWindow(EmbeddedWidget p_embeddedWidget!)
p_embeddedWidget!
- EmbeddedWidget to be displayed in the windowpublic EmbeddedWidgetWindow(EmbeddedWidget p_embeddedWidget!, BBjNumber p_width, BBjNumber p_height)
p_embeddedWidget!
- EmbeddedWidget to be displayed in the windowp_width
- The width of the windowp_height
- The height of the windowpublic void doModal()
public void setTitle(BBjString p_title$)
p_title$
- Title for the EmbeddedWidgetWindow.public void setSize(BBjNumber p_width, BBjNumber p_height)
p_width
- Width of the EmbeddedWidgetWindow.p_height
- Height of the EmbeddedWidgetWindow.public void setVisible(BBjNumber p_visible)
p_visible
- Indicates the visiblity of the EmbeddedWidgetWindow.
0 = invisible, 1 = visiblepublic BBjNumber getX()
public BBjNumber getY()
public void setLocation(BBjNumber p_x, BBjNumber p_y)
p_x
- Horizontal position of the EmbeddedWidgetWindow in current unitsp_y
- Vertical position of the EmbeddedWidgetWindow in current unitspublic BBjNumber getWidth()
public BBjNumber getHeight()
public BBjNumber isVisible()
public EmbeddedWidgetControl getEmbeddedWidgetControl()
public void destroy()
public BBjNumber isDestroyed()