| tucana.echo2.app.widgetdash.WidgetContainer
All known Subclasses: tucana.echo2.app.widgetdash.DefaultWidgetContainer,
WidgetContainer | abstract public class WidgetContainer extends Component (Code) | | A
Component that wraps around a Widget. The WidgetContainer provides
a title bar for the widget, and things such as close buttons and maximize
buttons. This abstract class provides no UI.
author: Jeremy Volkman |
Constructor Summary | |
public | WidgetContainer(WidgetIdentifier widgetIdentifier) Constructor.
Parameters: widgetIdentifier - The WidgetIdentifier for this WidgetContainer. |
PROPERTY_POSITION | final public static String PROPERTY_POSITION(Code) | | Property key for this container's WidgetPosition
|
WidgetContainer | public WidgetContainer(WidgetIdentifier widgetIdentifier)(Code) | | Constructor.
Parameters: widgetIdentifier - The WidgetIdentifier for this WidgetContainer. Must not be null. |
getTitle | abstract public String getTitle()(Code) | | Returns the current title
Title of the widget |
getWidgetBody | abstract public Component getWidgetBody()(Code) | | Return the body of this widget. This is the top layer component directly
under the WidgetContainer
The widget body. |
getWidgetIdentifier | public WidgetIdentifier getWidgetIdentifier()(Code) | | Return the WidgetIdentifier associated with this widget
The WidgetIdentifier |
getWidgetPosition | public WidgetPosition getWidgetPosition()(Code) | | Return this widget's position
This widget's WidgetPosition, or null if it doesn't have one |
setTitle | abstract public void setTitle(String iTitle)(Code) | | Set the title of WidgetContainer
Parameters: iTitle - |
setWidgetPosition | public void setWidgetPosition(WidgetPosition widgetPosition)(Code) | | Set this widget's position
Parameters: widgetPosition - the new position |
|
|