public interface Widget
Widget Interface that comprises all the functionality required to be a widget
Modifier and Type | Method and Description |
---|---|
Widget | clone() Creates and returns a clone of the widget |
void | create(BBjChildWindow p_widgetControlWindow!) Called to create the widget |
void | destroy() Destroys the widget |
void | display(BBjNumber p_display) Called to display or hide the widget |
BBjNumber | isDestroyed() Called to determine if the widget is destroyed |
BBjString | name() Returns the unique name of the widget |
BBjImage | previewImage() Returns the preview image of the widget |
BBjString | previewText() Returns the preview text of the widget |
void | resize(BBjNumber p_width, BBjNumber p_height) Resizes the widget using the provided with and height |
BBjString | title() Returns the title of the widget |
public Widget clone()
Creates and returns a clone of the widget
public void create(BBjChildWindow p_widgetControlWindow!)
Called to create the widget
p_widgetControlWindow!
BBjChildWindow that will house the widgetpublic void destroy()
Destroys the widget
public void display(BBjNumber p_display)
Called to display or hide the widget
p_display
Indicates if the widget should be displayed. 0=Not Displayed, 1=Displaypublic BBjNumber isDestroyed()
Called to determine if the widget is destroyed
public BBjString name()
Returns the unique name of the widget
public BBjImage previewImage()
Returns the preview image of the widget
public BBjString previewText()
Returns the preview text of the widget
public void resize(BBjNumber p_width, BBjNumber p_height)
Resizes the widget using the provided with and height
p_width
Width of the widgetp_height
Height of the widgetpublic BBjString title()
Returns the title of the widget